Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::Version[][src]

pub struct Version {
    pub name: String,
    pub display_name: String,
    pub description: String,
    pub nlu_settings: Option<NluSettings>,
    pub create_time: Option<Timestamp>,
    pub state: i32,
}

Represents a version of a flow.

Fields

name: String

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

display_name: String

Required. The human-readable name of the version. Limit of 64 characters.

description: String

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

nlu_settings: Option<NluSettings>

Output only. The NLU settings of the flow at version creation.

create_time: Option<Timestamp>

Output only. Create time of the version.

state: i32

Output only. The state of this version. This field is read-only and cannot be set by create and update methods.

Implementations

impl Version[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Version[src]

impl Debug for Version[src]

impl Default for Version[src]

impl Message for Version[src]

impl PartialEq<Version> for Version[src]

impl StructuralPartialEq for Version[src]

Auto Trait Implementations

impl RefUnwindSafe for Version

impl Send for Version

impl Sync for Version

impl Unpin for Version

impl UnwindSafe for Version

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]