Struct cloud_storage::object::SourceObject
source · [−]pub struct SourceObject {
pub name: String,
pub generation: Option<i64>,
pub object_preconditions: Option<ObjectPrecondition>,
}
Expand description
A SourceObject represents one of the objects that is to be composed.
Fields
name: String
The source object’s name. All source objects must have the same storage class and reside in the same bucket.
generation: Option<i64>
The generation of this object to use as the source.
object_preconditions: Option<ObjectPrecondition>
Conditions that must be met for this operation to execute.
Trait Implementations
sourceimpl Debug for SourceObject
impl Debug for SourceObject
sourceimpl PartialEq<SourceObject> for SourceObject
impl PartialEq<SourceObject> for SourceObject
sourcefn eq(&self, other: &SourceObject) -> bool
fn eq(&self, other: &SourceObject) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SourceObject) -> bool
fn ne(&self, other: &SourceObject) -> bool
This method tests for !=
.
sourceimpl Serialize for SourceObject
impl Serialize for SourceObject
impl StructuralPartialEq for SourceObject
Auto Trait Implementations
impl RefUnwindSafe for SourceObject
impl Send for SourceObject
impl Sync for SourceObject
impl Unpin for SourceObject
impl UnwindSafe for SourceObject
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more