pub struct AppContext {
pub invocation_id: String,
pub session_id: String,
pub user_id: String,
pub app_name: String,
}Expand description
Application-level context: global configuration and identity.
Fields§
§invocation_id: StringUnique invocation identifier.
session_id: StringSession identifier.
user_id: StringAuthenticated user identifier.
app_name: StringApplication name.
Trait Implementations§
Source§impl Clone for AppContext
impl Clone for AppContext
Source§fn clone(&self) -> AppContext
fn clone(&self) -> AppContext
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 AppContext
impl Debug for AppContext
Source§impl ReadonlyContext for AppContext
impl ReadonlyContext for AppContext
Auto Trait Implementations§
impl Freeze for AppContext
impl RefUnwindSafe for AppContext
impl Send for AppContext
impl Sync for AppContext
impl Unpin for AppContext
impl UnsafeUnpin for AppContext
impl UnwindSafe for AppContext
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