Enum gapi_grpc::google::cloud::dialogflow::cx::v3beta1::restore_agent_request::RestoreOption[][src]

#[repr(i32)]pub enum RestoreOption {
    Unspecified,
    Keep,
    Fallback,
}

Restore option.

Variants

Unspecified

Unspecified. Treated as KEEP.

Keep

Always respect the settings from the exported agent file. It may cause a restoration failure if some settings (e.g. model type) are not supported in the target agent.

Fallback

Fallback to default settings if some settings are not supported in the target agent.

Implementations

impl RestoreOption[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of RestoreOption.

pub fn from_i32(value: i32) -> Option<RestoreOption>[src]

Converts an i32 to a RestoreOption, or None if value is not a valid variant.

Trait Implementations

impl Clone for RestoreOption[src]

impl Copy for RestoreOption[src]

impl Debug for RestoreOption[src]

impl Default for RestoreOption[src]

impl Eq for RestoreOption[src]

impl From<RestoreOption> for i32[src]

impl Hash for RestoreOption[src]

impl Ord for RestoreOption[src]

impl PartialEq<RestoreOption> for RestoreOption[src]

impl PartialOrd<RestoreOption> for RestoreOption[src]

impl StructuralEq for RestoreOption[src]

impl StructuralPartialEq for RestoreOption[src]

Auto Trait Implementations

impl RefUnwindSafe for RestoreOption

impl Send for RestoreOption

impl Sync for RestoreOption

impl Unpin for RestoreOption

impl UnwindSafe for RestoreOption

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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]