pub struct ContextRequestV1 {
pub request_id: ProtocolReference,
pub principal: PrincipalV1,
pub purpose: Option<TaskId>,
pub source_scope: Vec<SourceRefV1>,
pub route: IntegrationRouteV1,
pub destination: DestinationV1,
}Expand description
What was asked: identity, purpose, sources in scope, route, destination.
A caller-supplied tenant or user string is not an identity; the principal
is the one the gateway authenticated or unknown.
Fields§
§request_id: ProtocolReference§principal: PrincipalV1§purpose: Option<TaskId>§source_scope: Vec<SourceRefV1>§route: IntegrationRouteV1§destination: DestinationV1Trait Implementations§
Source§impl Clone for ContextRequestV1
impl Clone for ContextRequestV1
Source§impl Debug for ContextRequestV1
impl Debug for ContextRequestV1
Source§impl<'de> Deserialize<'de> for ContextRequestV1
impl<'de> Deserialize<'de> for ContextRequestV1
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
impl Eq for ContextRequestV1
Source§impl PartialEq for ContextRequestV1
impl PartialEq for ContextRequestV1
Source§impl Serialize for ContextRequestV1
impl Serialize for ContextRequestV1
impl StructuralPartialEq for ContextRequestV1
Auto Trait Implementations§
impl Forget for ContextRequestV1
impl Freeze for ContextRequestV1
impl Move for ContextRequestV1
impl RefUnwindSafe for ContextRequestV1
impl Send for ContextRequestV1
impl Sync for ContextRequestV1
impl Unpin for ContextRequestV1
impl UnsafeUnpin for ContextRequestV1
impl UnwindSafe for ContextRequestV1
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