Struct google_cloud_storage::http::objects::compose::ComposeObjectRequest
source · [−]pub struct ComposeObjectRequest {
pub bucket: String,
pub destination_object: String,
pub destination_predefined_acl: Option<PredefinedObjectAcl>,
pub composing_targets: ComposingTargets,
pub if_generation_match: Option<i64>,
pub if_metageneration_match: Option<i64>,
pub kms_key_name: Option<String>,
pub encryption: Option<Encryption>,
}Expand description
Request message for ComposeObject.
Fields
bucket: StringRequired. Name of the bucket containing the source objects. The destination object is stored in this bucket.
destination_object: StringRequired. Name of the new object.
destination_predefined_acl: Option<PredefinedObjectAcl>Apply a predefined set of access controls to the destination object.
composing_targets: ComposingTargetsif_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_metageneration_match: Option<i64>Makes the operation conditional on whether the object’s current metageneration matches the given value.
kms_key_name: Option<String>Resource name of the Cloud KMS key, of the form
projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key,
that will be used to encrypt the object. Overrides the object
metadata’s kms_key_name value, if any.
encryption: Option<Encryption>A set of parameters common to Storage API requests concerning an object.
Trait Implementations
sourceimpl Clone for ComposeObjectRequest
impl Clone for ComposeObjectRequest
sourcefn clone(&self) -> ComposeObjectRequest
fn clone(&self) -> ComposeObjectRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ComposeObjectRequest
impl Debug for ComposeObjectRequest
sourceimpl Default for ComposeObjectRequest
impl Default for ComposeObjectRequest
sourcefn default() -> ComposeObjectRequest
fn default() -> ComposeObjectRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ComposeObjectRequest
impl<'de> Deserialize<'de> for ComposeObjectRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ComposeObjectRequest> for ComposeObjectRequest
impl PartialEq<ComposeObjectRequest> for ComposeObjectRequest
sourcefn eq(&self, other: &ComposeObjectRequest) -> bool
fn eq(&self, other: &ComposeObjectRequest) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ComposeObjectRequest) -> bool
fn ne(&self, other: &ComposeObjectRequest) -> bool
This method tests for !=.
sourceimpl Serialize for ComposeObjectRequest
impl Serialize for ComposeObjectRequest
impl StructuralPartialEq for ComposeObjectRequest
Auto Trait Implementations
impl RefUnwindSafe for ComposeObjectRequest
impl Send for ComposeObjectRequest
impl Sync for ComposeObjectRequest
impl Unpin for ComposeObjectRequest
impl UnwindSafe for ComposeObjectRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more