pub struct RevisionSummaryV1 {
pub revision: u64,
pub created_at: UtcTimestamp,
pub proposal: Option<u64>,
pub digest: String,
pub state: RevisionState,
pub rolls_back: Option<u64>,
pub ctxpkg_tree: Option<String>,
pub ctxpkg_commit: Option<String>,
}Expand description
One entry of the revision history.
Fields§
§revision: u64§created_at: UtcTimestamp§proposal: Option<u64>Proposal number the revision merged, if any.
digest: Stringsha256 hex of the canonical document (or ciphertext, when sealed).
state: RevisionState1.9.
rolls_back: Option<u64>1.9: the earlier revision whose document this one restores.
ctxpkg_tree: Option<String>1.9 (ctxpkg ids): the document tree and the revision commit
(hive::ctxpkg), computed by Hive over the stored document; clear
vaults only. An engine whose own ids differ treats the revision as
altered.
ctxpkg_commit: Option<String>Trait Implementations§
Source§impl Clone for RevisionSummaryV1
impl Clone for RevisionSummaryV1
Source§impl Debug for RevisionSummaryV1
impl Debug for RevisionSummaryV1
Source§impl<'de> Deserialize<'de> for RevisionSummaryV1
impl<'de> Deserialize<'de> for RevisionSummaryV1
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 RevisionSummaryV1
Source§impl PartialEq for RevisionSummaryV1
impl PartialEq for RevisionSummaryV1
Source§impl Serialize for RevisionSummaryV1
impl Serialize for RevisionSummaryV1
impl StructuralPartialEq for RevisionSummaryV1
Auto Trait Implementations§
impl Freeze for RevisionSummaryV1
impl RefUnwindSafe for RevisionSummaryV1
impl Send for RevisionSummaryV1
impl Sync for RevisionSummaryV1
impl Unpin for RevisionSummaryV1
impl UnsafeUnpin for RevisionSummaryV1
impl UnwindSafe for RevisionSummaryV1
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