pub struct SessionState {Show 22 fields
pub id: u64,
pub parent: Option<u64>,
pub base: u64,
pub params: GenParams,
pub epoch: u64,
pub tokens: Vec<u32>,
pub events: Vec<CommittedEvent>,
pub last_finish: u32,
pub open_tool_calls: BTreeMap<u64, (String, String)>,
pub ledger: BTreeMap<u64, LedgerEntry>,
pub open_permissions: BTreeMap<u64, (u64, String)>,
pub behavior_fp: Option<u64>,
pub meta_version: u64,
pub title: Option<String>,
pub archived: bool,
pub generation: u64,
pub purged: bool,
pub tombstone_ledger: BTreeMap<u64, String>,
pub rerooted: bool,
pub qos_class: u8,
pub batch_invariant: bool,
pub pin_deadline_unix_ms: u64,
}Fields§
§id: u64§parent: Option<u64>§base: u64§params: GenParams§epoch: u64§tokens: Vec<u32>§events: Vec<CommittedEvent>§last_finish: u32§open_tool_calls: BTreeMap<u64, (String, String)>§ledger: BTreeMap<u64, LedgerEntry>§open_permissions: BTreeMap<u64, (u64, String)>§behavior_fp: Option<u64>§meta_version: u64§title: Option<String>§archived: bool§generation: u64§purged: bool§tombstone_ledger: BTreeMap<u64, String>§rerooted: bool§qos_class: u8§batch_invariant: bool§pin_deadline_unix_ms: u64Implementations§
Source§impl SessionState
impl SessionState
pub fn next_event_id(&self) -> u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionState
impl RefUnwindSafe for SessionState
impl Send for SessionState
impl Sync for SessionState
impl Unpin for SessionState
impl UnsafeUnpin for SessionState
impl UnwindSafe for SessionState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more