pub struct MoveObject(/* private fields */);Expand description
The request builder for StorageControl::move_object calls.
§Example
use builder::storage_control::MoveObject;
let builder = prepare_request_builder();
let response = builder.send().await?;
fn prepare_request_builder() -> MoveObject {
// ... details omitted ...
}Implementations§
Source§impl MoveObject
impl MoveObject
Sourcepub fn with_request<V: Into<MoveObjectRequest>>(self, v: V) -> Self
pub fn with_request<V: Into<MoveObjectRequest>>(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_source_object<T: Into<String>>(self, v: T) -> Self
pub fn set_source_object<T: Into<String>>(self, v: T) -> Self
Sets the value of source_object.
This is a required field for requests.
Sourcepub fn set_destination_object<T: Into<String>>(self, v: T) -> Self
pub fn set_destination_object<T: Into<String>>(self, v: T) -> Self
Sets the value of destination_object.
This is a required field for requests.
Sourcepub fn set_if_source_generation_match<T>(self, v: T) -> Self
pub fn set_if_source_generation_match<T>(self, v: T) -> Self
Sets the value of if_source_generation_match.
Sourcepub fn set_or_clear_if_source_generation_match<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_if_source_generation_match<T>(self, v: Option<T>) -> Self
Sets or clears the value of if_source_generation_match.
Sourcepub fn set_if_source_generation_not_match<T>(self, v: T) -> Self
pub fn set_if_source_generation_not_match<T>(self, v: T) -> Self
Sets the value of if_source_generation_not_match.
Sourcepub fn set_or_clear_if_source_generation_not_match<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_if_source_generation_not_match<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of if_source_generation_not_match.
Sourcepub fn set_if_source_metageneration_match<T>(self, v: T) -> Self
pub fn set_if_source_metageneration_match<T>(self, v: T) -> Self
Sets the value of if_source_metageneration_match.
Sourcepub fn set_or_clear_if_source_metageneration_match<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_if_source_metageneration_match<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of if_source_metageneration_match.
Sourcepub fn set_if_source_metageneration_not_match<T>(self, v: T) -> Self
pub fn set_if_source_metageneration_not_match<T>(self, v: T) -> Self
Sets the value of if_source_metageneration_not_match.
Sourcepub fn set_or_clear_if_source_metageneration_not_match<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_if_source_metageneration_not_match<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of if_source_metageneration_not_match.
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.
Trait Implementations§
Source§impl Clone for MoveObject
impl Clone for MoveObject
Source§fn clone(&self) -> MoveObject
fn clone(&self) -> MoveObject
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 MoveObject
impl !RefUnwindSafe for MoveObject
impl Send for MoveObject
impl Sync for MoveObject
impl Unpin for MoveObject
impl !UnwindSafe for MoveObject
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.