Struct gapi_grpc::google::cloud::translation::v3beta1::CreateGlossaryMetadata [−][src]
Stored in the [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by CreateGlossary.
Fields
name: String
The name of the glossary that is being created.
state: i32
The current state of the glossary creation operation.
submit_time: Option<Timestamp>
The time when the operation was submitted to the server.
Implementations
impl CreateGlossaryMetadata
[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 CreateGlossaryMetadata
[src][+]
impl Debug for CreateGlossaryMetadata
[src][+]
impl Default for CreateGlossaryMetadata
[src][+]
impl Message for CreateGlossaryMetadata
[src][+]
impl PartialEq<CreateGlossaryMetadata> for CreateGlossaryMetadata
[src][+]
impl StructuralPartialEq for CreateGlossaryMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateGlossaryMetadata
impl Send for CreateGlossaryMetadata
impl Sync for CreateGlossaryMetadata
impl Unpin for CreateGlossaryMetadata
impl UnwindSafe for CreateGlossaryMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,