pub enum ContentRedaction {
Abstracted,
Full,
}Expand description
How selected content is represented in the pack body.
Variants§
Abstracted
References, summaries, and scope fields only.
Full
Full selected content is allowed by policy.
Trait Implementations§
Source§impl Clone for ContentRedaction
impl Clone for ContentRedaction
Source§fn clone(&self) -> ContentRedaction
fn clone(&self) -> ContentRedaction
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 ContentRedaction
impl Debug for ContentRedaction
Source§impl<'de> Deserialize<'de> for ContentRedaction
impl<'de> Deserialize<'de> for ContentRedaction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContentRedaction
impl PartialEq for ContentRedaction
Source§fn eq(&self, other: &ContentRedaction) -> bool
fn eq(&self, other: &ContentRedaction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentRedaction
impl Serialize for ContentRedaction
impl Copy for ContentRedaction
impl Eq for ContentRedaction
impl StructuralPartialEq for ContentRedaction
Auto Trait Implementations§
impl Freeze for ContentRedaction
impl RefUnwindSafe for ContentRedaction
impl Send for ContentRedaction
impl Sync for ContentRedaction
impl Unpin for ContentRedaction
impl UnsafeUnpin for ContentRedaction
impl UnwindSafe for ContentRedaction
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