pub struct Redaction {
pub fields: Vec<String>,
pub resulting_data_hash: Sha256Hex,
}Expand description
What a AmendmentKind::Redaction removed, and what is left
Fields§
§fields: Vec<String>RFC 6901 JSON pointers into the target’s data whose values were
replaced. Paths only: never the removed content, never the subject.
resulting_data_hash: Sha256HexWhat the target’s data hashes to after redaction, so the redacted
content is itself verifiable and cannot be altered again silently
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Redaction
impl<'de> Deserialize<'de> for Redaction
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
impl Eq for Redaction
impl StructuralPartialEq for Redaction
Auto Trait Implementations§
impl Freeze for Redaction
impl RefUnwindSafe for Redaction
impl Send for Redaction
impl Sync for Redaction
impl Unpin for Redaction
impl UnsafeUnpin for Redaction
impl UnwindSafe for Redaction
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