pub struct CeremonyRevision(/* private fields */);Expand description
How many times a ceremony instance has been committed.
The revision lives in the storage contract rather than in the
aggregate: it protects a write against a concurrent write, not any
invariant of the ceremony itself. Keeping it out of
CeremonyInstance also keeps the shape a host has already persisted
from changing underneath it.
Implementations§
Trait Implementations§
Source§impl Clone for CeremonyRevision
impl Clone for CeremonyRevision
impl Copy for CeremonyRevision
Source§impl Debug for CeremonyRevision
impl Debug for CeremonyRevision
Source§impl<'de> Deserialize<'de> for CeremonyRevision
impl<'de> Deserialize<'de> for CeremonyRevision
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 CeremonyRevision
Source§impl Hash for CeremonyRevision
impl Hash for CeremonyRevision
Source§impl Ord for CeremonyRevision
impl Ord for CeremonyRevision
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CeremonyRevision
impl PartialEq for CeremonyRevision
Source§impl PartialOrd for CeremonyRevision
impl PartialOrd for CeremonyRevision
Source§impl Serialize for CeremonyRevision
impl Serialize for CeremonyRevision
impl StructuralPartialEq for CeremonyRevision
Auto Trait Implementations§
impl Freeze for CeremonyRevision
impl RefUnwindSafe for CeremonyRevision
impl Send for CeremonyRevision
impl Sync for CeremonyRevision
impl Unpin for CeremonyRevision
impl UnsafeUnpin for CeremonyRevision
impl UnwindSafe for CeremonyRevision
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