pub struct CouncilJournalRecord { /* private fields */ }Expand description
A durable council fact sealed at one position, returned unchanged on replay.
Implementations§
Source§impl CouncilJournalRecord
impl CouncilJournalRecord
pub fn new(position: CouncilJournalPosition, event: CouncilJournalEvent) -> Self
pub fn position(&self) -> CouncilJournalPosition
pub fn event(&self) -> &CouncilJournalEvent
Trait Implementations§
Source§impl Clone for CouncilJournalRecord
impl Clone for CouncilJournalRecord
Source§impl Debug for CouncilJournalRecord
impl Debug for CouncilJournalRecord
Source§impl<'de> Deserialize<'de> for CouncilJournalRecord
impl<'de> Deserialize<'de> for CouncilJournalRecord
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 CouncilJournalRecord
impl PartialEq for CouncilJournalRecord
Source§impl Serialize for CouncilJournalRecord
impl Serialize for CouncilJournalRecord
impl StructuralPartialEq for CouncilJournalRecord
Auto Trait Implementations§
impl Freeze for CouncilJournalRecord
impl RefUnwindSafe for CouncilJournalRecord
impl Send for CouncilJournalRecord
impl Sync for CouncilJournalRecord
impl Unpin for CouncilJournalRecord
impl UnsafeUnpin for CouncilJournalRecord
impl UnwindSafe for CouncilJournalRecord
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