pub struct SessionRunRequest {
pub user_id: String,
pub operation_id: Uuid,
pub rounds_used: u64,
pub round_limit: u64,
}Expand description
Inputs shared by every provider call in one primary session run.
Fields§
§user_id: StringStable user identifier used for router accounting.
operation_id: UuidTop-level operation whose cancellation propagates to every provider call.
rounds_used: u64Number of provider rounds already durably used by a restored session.
round_limit: u64Maximum cumulative provider rounds permitted for the logical turn.
Trait Implementations§
Source§impl Clone for SessionRunRequest
impl Clone for SessionRunRequest
Source§fn clone(&self) -> SessionRunRequest
fn clone(&self) -> SessionRunRequest
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 moreSource§impl Debug for SessionRunRequest
impl Debug for SessionRunRequest
impl Eq for SessionRunRequest
Source§impl PartialEq for SessionRunRequest
impl PartialEq for SessionRunRequest
impl StructuralPartialEq for SessionRunRequest
Auto Trait Implementations§
impl Freeze for SessionRunRequest
impl RefUnwindSafe for SessionRunRequest
impl Send for SessionRunRequest
impl Sync for SessionRunRequest
impl Unpin for SessionRunRequest
impl UnsafeUnpin for SessionRunRequest
impl UnwindSafe for SessionRunRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.