#[non_exhaustive]pub struct CloudStorageSource {
pub bucket: String,
pub object: String,
pub generation: i64,
/* private fields */
}Expand description
Cloud Storage source.
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: StringRequired. The Cloud Storage bucket name.
object: StringRequired. The Cloud Storage object name.
generation: i64Optional. The Cloud Storage object generation.
Implementations§
Source§impl CloudStorageSource
impl CloudStorageSource
pub fn new() -> Self
Sourcepub fn set_bucket<T: Into<String>>(self, v: T) -> Self
pub fn set_bucket<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_object<T: Into<String>>(self, v: T) -> Self
pub fn set_object<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_generation<T: Into<i64>>(self, v: T) -> Self
pub fn set_generation<T: Into<i64>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for CloudStorageSource
impl Clone for CloudStorageSource
Source§fn clone(&self) -> CloudStorageSource
fn clone(&self) -> CloudStorageSource
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 CloudStorageSource
impl Debug for CloudStorageSource
Source§impl Default for CloudStorageSource
impl Default for CloudStorageSource
Source§fn default() -> CloudStorageSource
fn default() -> CloudStorageSource
Returns the “default value” for a type. Read more
Source§impl Message for CloudStorageSource
impl Message for CloudStorageSource
Source§impl PartialEq for CloudStorageSource
impl PartialEq for CloudStorageSource
impl StructuralPartialEq for CloudStorageSource
Auto Trait Implementations§
impl Freeze for CloudStorageSource
impl RefUnwindSafe for CloudStorageSource
impl Send for CloudStorageSource
impl Sync for CloudStorageSource
impl Unpin for CloudStorageSource
impl UnwindSafe for CloudStorageSource
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