Enum googapis::google::cloud::OperationResponseMapping [−][src]
#[repr(i32)]
pub enum OperationResponseMapping {
Undefined,
Name,
Status,
ErrorCode,
ErrorMessage,
}
Expand description
An enum to be used to mark the essential (for polling) fields in an API-specific Operation object. A custom Operation object may contain many different fields, but only few of them are essential to conduct a successful polling process.
Variants
Do not use.
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.name.
A field in an API-specific (custom) Operation object which carries the same
meaning as google.longrunning.Operation.done. If the annotated field is of
an enum type, annotated_field_name == EnumType.DONE
semantics should be
equivalent to Operation.done == true
. If the annotated field is of type
boolean, then it should follow the same semantics as Operation.done.
Otherwise, a non-empty value should be treated as Operation.done == true
.
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.code.
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.message.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for OperationResponseMapping
impl Send for OperationResponseMapping
impl Sync for OperationResponseMapping
impl Unpin for OperationResponseMapping
impl UnwindSafe for OperationResponseMapping
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more