Enum gapi_grpc::google::cloud::automl::v1beta1::model_export_output_config::Destination[][src]

pub enum Destination {
    GcsDestination(GcsDestination),
    GcrDestination(GcrDestination),
}

Required. The destination of the output.

Variants

GcsDestination(GcsDestination)

The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: “tflite”, “edgetpu_tflite”, “tf_saved_model”, “tf_js”, “core_ml”.

Under the directory given as the destination a new one with name “model-export--”, where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, will be created. Inside the model and any of its supporting files will be written.

GcrDestination(GcrDestination)

The GCR location where model image is to be pushed to. This location may only be set for the following model formats: “docker”.

The model image will be created under the given URI.

Implementations

impl Destination[src]

pub fn encode<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge<B>(
    field: &mut Option<Destination>,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

Trait Implementations

impl Clone for Destination[src]

impl Debug for Destination[src]

impl PartialEq<Destination> for Destination[src]

impl StructuralPartialEq for Destination[src]

Auto Trait Implementations

impl RefUnwindSafe for Destination

impl Send for Destination

impl Sync for Destination

impl Unpin for Destination

impl UnwindSafe for Destination

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]