#[non_exhaustive]pub struct GcsDocument {
pub gcs_uri: String,
pub mime_type: String,
/* private fields */
}Expand description
Specifies a document stored on Cloud Storage.
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.gcs_uri: StringThe Cloud Storage object uri.
mime_type: StringAn IANA MIME type (RFC6838) of the content.
Implementations§
Source§impl GcsDocument
impl GcsDocument
Trait Implementations§
Source§impl Clone for GcsDocument
impl Clone for GcsDocument
Source§fn clone(&self) -> GcsDocument
fn clone(&self) -> GcsDocument
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 GcsDocument
impl Debug for GcsDocument
Source§impl Default for GcsDocument
impl Default for GcsDocument
Source§fn default() -> GcsDocument
fn default() -> GcsDocument
Returns the “default value” for a type. Read more
Source§impl Message for GcsDocument
impl Message for GcsDocument
Source§impl PartialEq for GcsDocument
impl PartialEq for GcsDocument
impl StructuralPartialEq for GcsDocument
Auto Trait Implementations§
impl Freeze for GcsDocument
impl RefUnwindSafe for GcsDocument
impl Send for GcsDocument
impl Sync for GcsDocument
impl Unpin for GcsDocument
impl UnwindSafe for GcsDocument
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