pub struct OperationContext {
pub request_id: RequestId,
pub observation: CorrelationContext,
pub owner: String,
pub session: SessionStatusPayload,
pub authority: Box<dyn Fn() -> OperationSessionAuthority + Send>,
}Expand description
Newly authenticated context. Only safe correlation fields are persisted.
Fields§
§request_id: RequestId§observation: CorrelationContext§owner: String§session: SessionStatusPayloadAuto Trait Implementations§
impl Freeze for OperationContext
impl !RefUnwindSafe for OperationContext
impl Send for OperationContext
impl !Sync for OperationContext
impl Unpin for OperationContext
impl UnsafeUnpin for OperationContext
impl !UnwindSafe for OperationContext
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