pub struct RedactionSession {
pub version: u32,
pub session_id: String,
pub fingerprint: String,
pub redacted_fingerprint: String,
pub redacted_text: String,
pub policy: RedactionPolicy,
pub entries: Vec<RestorationEntry>,
}Fields§
§version: u32§session_id: String§fingerprint: String§redacted_fingerprint: String§redacted_text: String§policy: RedactionPolicy§entries: Vec<RestorationEntry>Trait Implementations§
Source§impl Clone for RedactionSession
impl Clone for RedactionSession
Source§fn clone(&self) -> RedactionSession
fn clone(&self) -> RedactionSession
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 RedactionSession
impl Debug for RedactionSession
Source§impl<'de> Deserialize<'de> for RedactionSession
impl<'de> Deserialize<'de> for RedactionSession
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 RedactionSession
impl PartialEq for RedactionSession
Source§fn eq(&self, other: &RedactionSession) -> bool
fn eq(&self, other: &RedactionSession) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RedactionSession
impl Serialize for RedactionSession
impl Eq for RedactionSession
impl StructuralPartialEq for RedactionSession
Auto Trait Implementations§
impl Freeze for RedactionSession
impl RefUnwindSafe for RedactionSession
impl Send for RedactionSession
impl Sync for RedactionSession
impl Unpin for RedactionSession
impl UnsafeUnpin for RedactionSession
impl UnwindSafe for RedactionSession
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