pub struct SessionScope {
pub run_id: Option<String>,
pub agent_id: Option<String>,
pub user_id: Option<String>,
}Expand description
Phase 2.3: grouped session/agent/run scope. Caller passes one builder method instead of three flat fields.
Fields§
§run_id: Option<String>§agent_id: Option<String>§user_id: Option<String>Trait Implementations§
Source§impl Clone for SessionScope
impl Clone for SessionScope
Source§fn clone(&self) -> SessionScope
fn clone(&self) -> SessionScope
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 SessionScope
impl Debug for SessionScope
Source§impl Default for SessionScope
impl Default for SessionScope
Source§fn default() -> SessionScope
fn default() -> SessionScope
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionScope
impl RefUnwindSafe for SessionScope
impl Send for SessionScope
impl Sync for SessionScope
impl Unpin for SessionScope
impl UnsafeUnpin for SessionScope
impl UnwindSafe for SessionScope
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<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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request