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
impl Debug for ObjectPrecondition[src]
impl Debug for ObjectPrecondition[src]impl PartialEq<ObjectPrecondition> for ObjectPrecondition[src]
impl PartialEq<ObjectPrecondition> for ObjectPrecondition[src]fn eq(&self, other: &ObjectPrecondition) -> bool[src]
fn eq(&self, other: &ObjectPrecondition) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &ObjectPrecondition) -> bool[src]
fn ne(&self, other: &ObjectPrecondition) -> bool[src]This method tests for !=.
impl Serialize for ObjectPrecondition[src]
impl Serialize for ObjectPrecondition[src]impl StructuralPartialEq for ObjectPrecondition[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]