Struct gapi_grpc::google::cloud::documentai::v1beta3::ReviewDocumentOperationMetadata[][src]

pub struct ReviewDocumentOperationMetadata {
    pub state: i32,
    pub state_message: String,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub common_metadata: Option<CommonOperationMetadata>,
}
[]

The long running operation metadata for review document method.

Fields

state: i32
[]

Used only when Operation.done is false.

state_message: String
[]

A message providing more details about the current state of processing. For example, the error message if the operation is failed.

create_time: Option<Timestamp>
[]

The creation time of the operation.

update_time: Option<Timestamp>
[]

The last update time of the operation.

common_metadata: Option<CommonOperationMetadata>
[]

The basic metadata of the long running operation.

Implementations

impl ReviewDocumentOperationMetadata[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 ReviewDocumentOperationMetadata[src][+]

impl Debug for ReviewDocumentOperationMetadata[src][+]

impl Default for ReviewDocumentOperationMetadata[src][+]

impl Message for ReviewDocumentOperationMetadata[src][+]

impl PartialEq<ReviewDocumentOperationMetadata> for ReviewDocumentOperationMetadata[src][+]

impl StructuralPartialEq for ReviewDocumentOperationMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for ReviewDocumentOperationMetadata

impl Send for ReviewDocumentOperationMetadata

impl Sync for ReviewDocumentOperationMetadata

impl Unpin for ReviewDocumentOperationMetadata

impl UnwindSafe for ReviewDocumentOperationMetadata

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][+]