pub struct RevisionChanges {
pub id: GovernanceLogId,
pub created_at: Option<DateTime<Utc>>,
pub changes: Vec<Change>,
pub omitted_bytes: Option<u64>,
pub blind: bool,
}Expand description
One revision in a ChangeHistory
Fields§
§id: GovernanceLogIdThe amendment that revised the record
created_at: Option<DateTime<Utc>>§changes: Vec<Change>§omitted_bytes: Option<u64>Its changes were left out, this many bytes of them: past
MAX_HISTORY_BYTES for the history
blind: boolIt also set the record’s BLIND_KEY, the random salt that keeps
a redacted value from being guessed by its hash: not content, so not
among changes
Trait Implementations§
Source§impl Clone for RevisionChanges
impl Clone for RevisionChanges
Source§impl Debug for RevisionChanges
impl Debug for RevisionChanges
Source§impl<'de> Deserialize<'de> for RevisionChanges
impl<'de> Deserialize<'de> for RevisionChanges
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 RevisionChanges
Source§impl PartialEq for RevisionChanges
impl PartialEq for RevisionChanges
Source§impl Serialize for RevisionChanges
impl Serialize for RevisionChanges
impl StructuralPartialEq for RevisionChanges
Auto Trait Implementations§
impl Freeze for RevisionChanges
impl RefUnwindSafe for RevisionChanges
impl Send for RevisionChanges
impl Sync for RevisionChanges
impl Unpin for RevisionChanges
impl UnsafeUnpin for RevisionChanges
impl UnwindSafe for RevisionChanges
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.