Struct google_cloud_storage::http::objects::delete::DeleteObjectRequest
source · pub struct DeleteObjectRequest {
pub bucket: String,
pub object: String,
pub generation: Option<i64>,
pub if_generation_match: Option<i64>,
pub if_generation_not_match: Option<i64>,
pub if_metageneration_match: Option<i64>,
pub if_metageneration_not_match: Option<i64>,
}Expand description
Request message for GetObject.
Fields
bucket: StringRequired. Name of the bucket in which the object resides.
object: StringRequired. Name of the object.
generation: Option<i64>If present, selects a specific revision of this object (as opposed to the latest version, the default).
if_generation_match: Option<i64>Makes the operation conditional on whether the object’s current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
if_generation_not_match: Option<i64>Makes the operation conditional on whether the object’s current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
if_metageneration_match: Option<i64>Makes the operation conditional on whether the object’s current metageneration matches the given value.
if_metageneration_not_match: Option<i64>Makes the operation conditional on whether the object’s current metageneration does not match the given value.
Trait Implementations
sourceimpl Clone for DeleteObjectRequest
impl Clone for DeleteObjectRequest
sourcefn clone(&self) -> DeleteObjectRequest
fn clone(&self) -> DeleteObjectRequest
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for DeleteObjectRequest
impl Debug for DeleteObjectRequest
sourceimpl Default for DeleteObjectRequest
impl Default for DeleteObjectRequest
sourcefn default() -> DeleteObjectRequest
fn default() -> DeleteObjectRequest
sourceimpl<'de> Deserialize<'de> for DeleteObjectRequest
impl<'de> Deserialize<'de> for DeleteObjectRequest
sourcefn 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>,
sourceimpl PartialEq<DeleteObjectRequest> for DeleteObjectRequest
impl PartialEq<DeleteObjectRequest> for DeleteObjectRequest
sourcefn eq(&self, other: &DeleteObjectRequest) -> bool
fn eq(&self, other: &DeleteObjectRequest) -> bool
sourceimpl Serialize for DeleteObjectRequest
impl Serialize for DeleteObjectRequest
impl Eq for DeleteObjectRequest
impl StructuralEq for DeleteObjectRequest
impl StructuralPartialEq for DeleteObjectRequest
Auto Trait Implementations
impl RefUnwindSafe for DeleteObjectRequest
impl Send for DeleteObjectRequest
impl Sync for DeleteObjectRequest
impl Unpin for DeleteObjectRequest
impl UnwindSafe for DeleteObjectRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.