#[non_exhaustive]pub struct BucketDestination {
pub bucket_uri: String,
pub framework_audit_format: Format,
/* private fields */
}Expand description
A Cloud Storage bucket destination.
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.bucket_uri: StringRequired. The URI of the Cloud Storage bucket.
framework_audit_format: FormatOptional. The format of the framework audit.
Implementations§
Source§impl BucketDestination
impl BucketDestination
pub fn new() -> Self
Sourcepub fn set_bucket_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_bucket_uri<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_framework_audit_format<T: Into<Format>>(self, v: T) -> Self
pub fn set_framework_audit_format<T: Into<Format>>(self, v: T) -> Self
Sets the value of framework_audit_format.
§Example
ⓘ
use google_cloud_cloudsecuritycompliance_v1::model::bucket_destination::Format;
let x0 = BucketDestination::new().set_framework_audit_format(Format::Odf);Trait Implementations§
Source§impl Clone for BucketDestination
impl Clone for BucketDestination
Source§fn clone(&self) -> BucketDestination
fn clone(&self) -> BucketDestination
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 BucketDestination
impl Debug for BucketDestination
Source§impl Default for BucketDestination
impl Default for BucketDestination
Source§fn default() -> BucketDestination
fn default() -> BucketDestination
Returns the “default value” for a type. Read more
Source§impl Message for BucketDestination
impl Message for BucketDestination
Source§impl PartialEq for BucketDestination
impl PartialEq for BucketDestination
impl StructuralPartialEq for BucketDestination
Auto Trait Implementations§
impl Freeze for BucketDestination
impl RefUnwindSafe for BucketDestination
impl Send for BucketDestination
impl Sync for BucketDestination
impl Unpin for BucketDestination
impl UnwindSafe for BucketDestination
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