Struct cloud_storage::object::ObjectPrecondition [−][src]
pub struct ObjectPrecondition {
pub if_generation_match: i64,
}Expand description
Allows conditional copying of this file.
Fields
if_generation_match: i64Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ObjectPrecondition
impl Send for ObjectPrecondition
impl Sync for ObjectPrecondition
impl Unpin for ObjectPrecondition
impl UnwindSafe for ObjectPrecondition
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
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