pub enum RedactTarget {
Episode {
id: String,
},
Entity {
space: String,
entity_id: String,
},
PredicateScoped {
space: String,
entity_id: String,
predicate: String,
},
}Expand description
What to redact.
Variants§
Episode
Redact a single episode and everything extracted from it.
Entity
Redact all assertions about an entity across all episodes.
PredicateScoped
Redact assertions for a specific predicate on an entity.
Trait Implementations§
Source§impl Clone for RedactTarget
impl Clone for RedactTarget
Source§fn clone(&self) -> RedactTarget
fn clone(&self) -> RedactTarget
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 RedactTarget
impl Debug for RedactTarget
Source§impl<'de> Deserialize<'de> for RedactTarget
impl<'de> Deserialize<'de> for RedactTarget
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
Auto Trait Implementations§
impl Freeze for RedactTarget
impl RefUnwindSafe for RedactTarget
impl Send for RedactTarget
impl Sync for RedactTarget
impl Unpin for RedactTarget
impl UnsafeUnpin for RedactTarget
impl UnwindSafe for RedactTarget
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