#[non_exhaustive]pub enum Source {
GcsPrefix(Box<GcsPrefix>),
GcsDocuments(Box<GcsDocuments>),
}Expand description
The source. Make sure that the caller of the API has storage.objects.get access to the buckets.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GcsPrefix(Box<GcsPrefix>)
The set of documents that match the specified Cloud Storage gcs_prefix.
GcsDocuments(Box<GcsDocuments>)
The set of documents individually specified on Cloud Storage.
Trait Implementations§
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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