#[non_exhaustive]pub enum Source {
GcsSource(Box<GcsSource>),
InlineSource(Box<InlineSource>),
}Available on crate feature
document-service only.Expand description
The desired input source for the purging documents based on document IDs.
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.
GcsSource(Box<GcsSource>)
Cloud Storage location for the input content.
Supported data_schema:
document_id: One valid Document.id per line.
InlineSource(Box<InlineSource>)
Inline source for the input content for purge.
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