Struct google_cloud_storage::http::objects::ObjectPreconditions
source · Expand description
Preconditions for a source object of a composition request.
Fields§
§if_generation_match: Option<i64>Only 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§
source§impl Clone for ObjectPreconditions
impl Clone for ObjectPreconditions
source§fn clone(&self) -> ObjectPreconditions
fn clone(&self) -> ObjectPreconditions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ObjectPreconditions
impl Debug for ObjectPreconditions
source§impl Default for ObjectPreconditions
impl Default for ObjectPreconditions
source§fn default() -> ObjectPreconditions
fn default() -> ObjectPreconditions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ObjectPreconditions
impl<'de> Deserialize<'de> for ObjectPreconditions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ObjectPreconditions> for ObjectPreconditions
impl PartialEq<ObjectPreconditions> for ObjectPreconditions
source§fn eq(&self, other: &ObjectPreconditions) -> bool
fn eq(&self, other: &ObjectPreconditions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ObjectPreconditions
impl Serialize for ObjectPreconditions
impl Eq for ObjectPreconditions
impl StructuralEq for ObjectPreconditions
impl StructuralPartialEq for ObjectPreconditions
Auto Trait Implementations§
impl RefUnwindSafe for ObjectPreconditions
impl Send for ObjectPreconditions
impl Sync for ObjectPreconditions
impl Unpin for ObjectPreconditions
impl UnwindSafe for ObjectPreconditions
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.