pub struct RuntimeCommit {
pub session_id: String,
pub expected_head_revision: Option<u64>,
pub config: PersistedSessionConfig,
pub graph: GraphCommitDelta,
pub checkpoint: HydratedSessionCheckpoint,
pub usage_deltas: Vec<TokenLedgerEntry>,
}Fields§
§session_id: String§expected_head_revision: Option<u64>§config: PersistedSessionConfig§graph: GraphCommitDelta§checkpoint: HydratedSessionCheckpoint§usage_deltas: Vec<TokenLedgerEntry>Implementations§
Source§impl RuntimeCommit
impl RuntimeCommit
pub fn persisted_state( state: &PersistedSessionState, usage_deltas: &[TokenLedgerEntry], ) -> Self
Trait Implementations§
Source§impl Clone for RuntimeCommit
impl Clone for RuntimeCommit
Source§fn clone(&self) -> RuntimeCommit
fn clone(&self) -> RuntimeCommit
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 RuntimeCommit
impl RefUnwindSafe for RuntimeCommit
impl Send for RuntimeCommit
impl Sync for RuntimeCommit
impl Unpin for RuntimeCommit
impl UnsafeUnpin for RuntimeCommit
impl UnwindSafe for RuntimeCommit
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