pub struct ComposeObject(/* private fields */);Expand description
The request builder for StorageControl::compose_object calls.
§Example
use builder::storage_control::ComposeObject;
let builder = prepare_request_builder();
let response = builder.send().await?;
fn prepare_request_builder() -> ComposeObject {
// ... details omitted ...
}Implementations§
Source§impl ComposeObject
impl ComposeObject
Sourcepub fn with_request<V: Into<ComposeObjectRequest>>(self, v: V) -> Self
pub fn with_request<V: Into<ComposeObjectRequest>>(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_destination<T>(self, v: T) -> Self
pub fn set_destination<T>(self, v: T) -> Self
Sets the value of destination.
This is a required field for requests.
Sourcepub fn set_or_clear_destination<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_destination<T>(self, v: Option<T>) -> Self
Sets or clears the value of destination.
This is a required field for requests.
Sourcepub fn set_source_objects<T, V>(self, v: T) -> Self
pub fn set_source_objects<T, V>(self, v: T) -> Self
Sets the value of source_objects.
Sourcepub fn set_destination_predefined_acl<T: Into<String>>(self, v: T) -> Self
pub fn set_destination_predefined_acl<T: Into<String>>(self, v: T) -> Self
Sets the value of destination_predefined_acl.
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_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_kms_key<T: Into<String>>(self, v: T) -> Self
pub fn set_kms_key<T: Into<String>>(self, v: T) -> Self
Sets the value of kms_key.
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.
Sourcepub fn set_object_checksums<T>(self, v: T) -> Selfwhere
T: Into<ObjectChecksums>,
pub fn set_object_checksums<T>(self, v: T) -> Selfwhere
T: Into<ObjectChecksums>,
Sets the value of object_checksums.
Sourcepub fn set_or_clear_object_checksums<T>(self, v: Option<T>) -> Selfwhere
T: Into<ObjectChecksums>,
pub fn set_or_clear_object_checksums<T>(self, v: Option<T>) -> Selfwhere
T: Into<ObjectChecksums>,
Sets or clears the value of object_checksums.
Trait Implementations§
Source§impl Clone for ComposeObject
impl Clone for ComposeObject
Source§fn clone(&self) -> ComposeObject
fn clone(&self) -> ComposeObject
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 ComposeObject
impl !RefUnwindSafe for ComposeObject
impl Send for ComposeObject
impl Sync for ComposeObject
impl Unpin for ComposeObject
impl !UnwindSafe for ComposeObject
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.