pub struct CeremonyAgentActivityPage { /* private fields */ }Expand description
Atomic roster snapshot and subsequent activity slice at one feed boundary.
Implementations§
Source§impl CeremonyAgentActivityPage
impl CeremonyAgentActivityPage
pub fn new( snapshot: Vec<CeremonyAgentStatus>, activities: Vec<CeremonyAgentActivity>, next_sequence: u64, head_sequence: u64, oldest_retained_sequence: Option<u64>, snapshot_complete: bool, ) -> Self
pub fn snapshot(&self) -> &[CeremonyAgentStatus]
pub fn activities(&self) -> &[CeremonyAgentActivity]
pub const fn next_sequence(&self) -> u64
pub const fn head_sequence(&self) -> u64
pub const fn oldest_retained_sequence(&self) -> Option<u64>
pub const fn snapshot_complete(&self) -> bool
Trait Implementations§
Source§impl Clone for CeremonyAgentActivityPage
impl Clone for CeremonyAgentActivityPage
Source§impl Debug for CeremonyAgentActivityPage
impl Debug for CeremonyAgentActivityPage
impl Eq for CeremonyAgentActivityPage
impl StructuralPartialEq for CeremonyAgentActivityPage
Auto Trait Implementations§
impl Freeze for CeremonyAgentActivityPage
impl RefUnwindSafe for CeremonyAgentActivityPage
impl Send for CeremonyAgentActivityPage
impl Sync for CeremonyAgentActivityPage
impl Unpin for CeremonyAgentActivityPage
impl UnsafeUnpin for CeremonyAgentActivityPage
impl UnwindSafe for CeremonyAgentActivityPage
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