#[non_exhaustive]pub struct GcsOutputDestination {
pub output_uri_prefix: String,
/* private fields */
}Expand description
The Google Cloud Storage location for the output content.
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.output_uri_prefix: StringRequired. Google Cloud Storage URI to output directory. For example,
gs://bucket/directory. The requesting user must have write permission to
the bucket. The directory will be created if it doesn’t exist.
Implementations§
Source§impl GcsOutputDestination
impl GcsOutputDestination
pub fn new() -> Self
Sourcepub fn set_output_uri_prefix<T: Into<String>>(self, v: T) -> Self
pub fn set_output_uri_prefix<T: Into<String>>(self, v: T) -> Self
Sets the value of output_uri_prefix.
§Example
ⓘ
let x = GcsOutputDestination::new().set_output_uri_prefix("example");Trait Implementations§
Source§impl Clone for GcsOutputDestination
impl Clone for GcsOutputDestination
Source§fn clone(&self) -> GcsOutputDestination
fn clone(&self) -> GcsOutputDestination
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 GcsOutputDestination
impl Debug for GcsOutputDestination
Source§impl Default for GcsOutputDestination
impl Default for GcsOutputDestination
Source§fn default() -> GcsOutputDestination
fn default() -> GcsOutputDestination
Returns the “default value” for a type. Read more
Source§impl Message for GcsOutputDestination
impl Message for GcsOutputDestination
Source§impl PartialEq for GcsOutputDestination
impl PartialEq for GcsOutputDestination
impl StructuralPartialEq for GcsOutputDestination
Auto Trait Implementations§
impl Freeze for GcsOutputDestination
impl RefUnwindSafe for GcsOutputDestination
impl Send for GcsOutputDestination
impl Sync for GcsOutputDestination
impl Unpin for GcsOutputDestination
impl UnsafeUnpin for GcsOutputDestination
impl UnwindSafe for GcsOutputDestination
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