pub enum LedgerEntry {
Purchased {
sessions: SessionCount,
},
Reserved {
session_id: SessionId,
},
Consumed {
session_id: SessionId,
},
Released {
session_id: SessionId,
},
}Expand description
Training package ledger event for purchases, reservations, consumption, and releases.
Variants§
Purchased
Sessions used by staff to prepare training assignment, package, progress, or parent-summary review.
Fields
§
sessions: SessionCountSession count that sets the purchased or reusable package balance.
Reserved
Session identifier used by staff to prepare training assignment, package, progress, or parent-summary review.
Consumed
Session identifier used by staff to prepare training assignment, package, progress, or parent-summary review.
Released
Session identifier used by staff to prepare training assignment, package, progress, or parent-summary review.
Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§fn clone(&self) -> LedgerEntry
fn clone(&self) -> LedgerEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LedgerEntry
impl Debug for LedgerEntry
Source§impl<'de> Deserialize<'de> for LedgerEntry
impl<'de> Deserialize<'de> for LedgerEntry
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 LedgerEntry
impl PartialEq for LedgerEntry
Source§impl Serialize for LedgerEntry
impl Serialize for LedgerEntry
impl Eq for LedgerEntry
impl StructuralPartialEq for LedgerEntry
Auto Trait Implementations§
impl Freeze for LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnsafeUnpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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