pub struct LifecycleProjection { /* private fields */ }Implementations§
Source§impl LifecycleProjection
impl LifecycleProjection
pub fn from_entries(entries: Vec<LedgerEntry>) -> Self
pub fn latest_entries(&self) -> &[LedgerEntry]
pub fn latest_by_record_id(&self, record_id: &str) -> Option<&LedgerEntry>
pub fn by_scope(&self, scope: MemoryScope, scope_key: &str) -> Vec<LedgerEntry>
pub fn by_state(&self, state: MemoryLifecycleState) -> Vec<LedgerEntry>
pub fn pending_review(&self) -> Vec<LedgerEntry>
pub fn wakeup_ready(&self) -> Vec<LedgerEntry>
Trait Implementations§
Source§impl Clone for LifecycleProjection
impl Clone for LifecycleProjection
Source§fn clone(&self) -> LifecycleProjection
fn clone(&self) -> LifecycleProjection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LifecycleProjection
impl RefUnwindSafe for LifecycleProjection
impl Send for LifecycleProjection
impl Sync for LifecycleProjection
impl Unpin for LifecycleProjection
impl UnsafeUnpin for LifecycleProjection
impl UnwindSafe for LifecycleProjection
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