#[non_exhaustive]pub enum DocumentKind {
Structured,
Text,
}Expand description
Source document kind for metadata-only audit logging.
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.
Trait Implementations§
Source§impl Clone for DocumentKind
impl Clone for DocumentKind
Source§fn clone(&self) -> DocumentKind
fn clone(&self) -> DocumentKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentKind
impl Debug for DocumentKind
Source§impl PartialEq for DocumentKind
impl PartialEq for DocumentKind
Source§fn eq(&self, other: &DocumentKind) -> bool
fn eq(&self, other: &DocumentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DocumentKind
impl Eq for DocumentKind
impl StructuralPartialEq for DocumentKind
Auto Trait Implementations§
impl Freeze for DocumentKind
impl RefUnwindSafe for DocumentKind
impl Send for DocumentKind
impl Sync for DocumentKind
impl Unpin for DocumentKind
impl UnsafeUnpin for DocumentKind
impl UnwindSafe for DocumentKind
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