#[non_exhaustive]pub struct GetBucketRequest {
pub name: String,
/* private fields */
}Expand description
The parameters to GetBucket.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The resource name of the bucket:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"For example:
"projects/my-project/locations/global/buckets/my-bucket"
Implementations§
Trait Implementations§
Source§impl Clone for GetBucketRequest
impl Clone for GetBucketRequest
Source§fn clone(&self) -> GetBucketRequest
fn clone(&self) -> GetBucketRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetBucketRequest
impl Debug for GetBucketRequest
Source§impl Default for GetBucketRequest
impl Default for GetBucketRequest
Source§fn default() -> GetBucketRequest
fn default() -> GetBucketRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetBucketRequest
impl Message for GetBucketRequest
Source§impl PartialEq for GetBucketRequest
impl PartialEq for GetBucketRequest
impl StructuralPartialEq for GetBucketRequest
Auto Trait Implementations§
impl Freeze for GetBucketRequest
impl RefUnwindSafe for GetBucketRequest
impl Send for GetBucketRequest
impl Sync for GetBucketRequest
impl Unpin for GetBucketRequest
impl UnwindSafe for GetBucketRequest
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
Mutably borrows from an owned value. Read more