pub struct CallContext {
pub tenant: String,
pub service: CallerService,
pub auth: Option<Value>,
pub deadline_ms: u64,
}Expand description
Who calls, and until when the caller waits.
Fields§
§tenant: String§service: CallerService§auth: Option<Value>The verified claims of the caller’s principal, as the calling handler sees them; never a token.
deadline_ms: u64Milliseconds since the Unix epoch after which nobody waits for the reply.
Trait Implementations§
Source§impl Clone for CallContext
impl Clone for CallContext
Source§impl Debug for CallContext
impl Debug for CallContext
Source§impl<'de> Deserialize<'de> for CallContext
impl<'de> Deserialize<'de> for CallContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CallContext
impl PartialEq for CallContext
Source§impl Serialize for CallContext
impl Serialize for CallContext
impl StructuralPartialEq for CallContext
Auto Trait Implementations§
impl Freeze for CallContext
impl RefUnwindSafe for CallContext
impl Send for CallContext
impl Sync for CallContext
impl Unpin for CallContext
impl UnsafeUnpin for CallContext
impl UnwindSafe for CallContext
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