pub enum ContentPolicy {
Metadata,
Full,
}Variants§
Metadata
Keys, paths and bounded previews are still sensitive; this is not redaction.
Full
Include whole document/paste payloads for reproduction, explicitly opted in.
Trait Implementations§
Source§impl Clone for ContentPolicy
impl Clone for ContentPolicy
Source§fn clone(&self) -> ContentPolicy
fn clone(&self) -> ContentPolicy
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 moreimpl Copy for ContentPolicy
Source§impl Debug for ContentPolicy
impl Debug for ContentPolicy
Source§impl Default for ContentPolicy
impl Default for ContentPolicy
Source§fn default() -> ContentPolicy
fn default() -> ContentPolicy
Returns the “default value” for a type. Read more
impl Eq for ContentPolicy
Source§impl PartialEq for ContentPolicy
impl PartialEq for ContentPolicy
impl StructuralPartialEq for ContentPolicy
Auto Trait Implementations§
impl Freeze for ContentPolicy
impl RefUnwindSafe for ContentPolicy
impl Send for ContentPolicy
impl Sync for ContentPolicy
impl Unpin for ContentPolicy
impl UnsafeUnpin for ContentPolicy
impl UnwindSafe for ContentPolicy
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