pub struct DeleteObject(/* private fields */);Expand description
The request builder for StorageControl::delete_object calls.
§Example
use builder::storage_control::DeleteObject;
let builder = prepare_request_builder();
let response = builder.send().await?;
fn prepare_request_builder() -> DeleteObject {
// ... details omitted ...
}Implementations§
Source§impl DeleteObject
impl DeleteObject
Sourcepub fn with_request<V: Into<DeleteObjectRequest>>(self, v: V) -> Self
pub fn with_request<V: Into<DeleteObjectRequest>>(self, v: V) -> Self
Sets the full request, replacing any prior values.
Sourcepub fn with_options<V: Into<RequestOptions>>(self, v: V) -> Self
pub fn with_options<V: Into<RequestOptions>>(self, v: V) -> Self
Sets all the options, replacing any prior values.
Sourcepub fn set_bucket<T: Into<String>>(self, v: T) -> Self
pub fn set_bucket<T: Into<String>>(self, v: T) -> Self
Sets the value of bucket.
This is a required field for requests.
Sourcepub fn set_object<T: Into<String>>(self, v: T) -> Self
pub fn set_object<T: Into<String>>(self, v: T) -> Self
Sets the value of object.
This is a required field for requests.
Sourcepub fn set_generation<T: Into<i64>>(self, v: T) -> Self
pub fn set_generation<T: Into<i64>>(self, v: T) -> Self
Sets the value of generation.
Sourcepub fn set_if_generation_match<T>(self, v: T) -> Self
pub fn set_if_generation_match<T>(self, v: T) -> Self
Sets the value of if_generation_match.
Sourcepub fn set_or_clear_if_generation_match<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_if_generation_match<T>(self, v: Option<T>) -> Self
Sets or clears the value of if_generation_match.
Sourcepub fn set_if_generation_not_match<T>(self, v: T) -> Self
pub fn set_if_generation_not_match<T>(self, v: T) -> Self
Sets the value of if_generation_not_match.
Sourcepub fn set_or_clear_if_generation_not_match<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_if_generation_not_match<T>(self, v: Option<T>) -> Self
Sets or clears the value of if_generation_not_match.
Sourcepub fn set_if_metageneration_match<T>(self, v: T) -> Self
pub fn set_if_metageneration_match<T>(self, v: T) -> Self
Sets the value of if_metageneration_match.
Sourcepub fn set_or_clear_if_metageneration_match<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_if_metageneration_match<T>(self, v: Option<T>) -> Self
Sets or clears the value of if_metageneration_match.
Sourcepub fn set_if_metageneration_not_match<T>(self, v: T) -> Self
pub fn set_if_metageneration_not_match<T>(self, v: T) -> Self
Sets the value of if_metageneration_not_match.
Sourcepub fn set_or_clear_if_metageneration_not_match<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_if_metageneration_not_match<T>(self, v: Option<T>) -> Self
Sets or clears the value of if_metageneration_not_match.
Sourcepub fn set_common_object_request_params<T>(self, v: T) -> Selfwhere
T: Into<CommonObjectRequestParams>,
pub fn set_common_object_request_params<T>(self, v: T) -> Selfwhere
T: Into<CommonObjectRequestParams>,
Sets the value of common_object_request_params.
Sourcepub fn set_or_clear_common_object_request_params<T>(self, v: Option<T>) -> Selfwhere
T: Into<CommonObjectRequestParams>,
pub fn set_or_clear_common_object_request_params<T>(self, v: Option<T>) -> Selfwhere
T: Into<CommonObjectRequestParams>,
Sets or clears the value of common_object_request_params.
Trait Implementations§
Source§impl Clone for DeleteObject
impl Clone for DeleteObject
Source§fn clone(&self) -> DeleteObject
fn clone(&self) -> DeleteObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl !Freeze for DeleteObject
impl !RefUnwindSafe for DeleteObject
impl Send for DeleteObject
impl Sync for DeleteObject
impl Unpin for DeleteObject
impl !UnwindSafe for DeleteObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> RequestOptionsBuilder for Twhere
T: RequestBuilder,
impl<T> RequestOptionsBuilder for Twhere
T: RequestBuilder,
Source§fn with_idempotency(self, v: bool) -> T
fn with_idempotency(self, v: bool) -> T
v is true, treat the RPC underlying this method as idempotent.