pub struct OutboundCallParams {
pub session: String,
pub correlation_id: String,
pub requirement_id: String,
pub route_id: String,
pub operation: String,
pub scope: InvocationScope,
pub payload: Value,
}Expand description
Plugin-to-Host call through one exact Plan route.
Fields§
§session: String§correlation_id: String§requirement_id: String§route_id: String§operation: String§scope: InvocationScope§payload: ValueImplementations§
Source§impl OutboundCallParams
impl OutboundCallParams
pub fn validate_for( &self, identity: &SessionIdentity, parent: &InvocationScope, ) -> Result<(), ProtocolError>
Source§impl OutboundCallParams
impl OutboundCallParams
Sourcepub fn validate_against(
&self,
initialize: &InitializeParams,
parent: &InvocationScope,
parent_active: bool,
) -> Result<(), ProtocolError>
pub fn validate_against( &self, initialize: &InitializeParams, parent: &InvocationScope, parent_active: bool, ) -> Result<(), ProtocolError>
Validates the opaque route against this exact session and named requirement.
Trait Implementations§
Source§impl Clone for OutboundCallParams
impl Clone for OutboundCallParams
Source§fn clone(&self) -> OutboundCallParams
fn clone(&self) -> OutboundCallParams
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 OutboundCallParams
impl Debug for OutboundCallParams
Source§impl<'de> Deserialize<'de> for OutboundCallParams
impl<'de> Deserialize<'de> for OutboundCallParams
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 OutboundCallParams
impl PartialEq for OutboundCallParams
Source§impl Serialize for OutboundCallParams
impl Serialize for OutboundCallParams
impl StructuralPartialEq for OutboundCallParams
Auto Trait Implementations§
impl Freeze for OutboundCallParams
impl RefUnwindSafe for OutboundCallParams
impl Send for OutboundCallParams
impl Sync for OutboundCallParams
impl Unpin for OutboundCallParams
impl UnsafeUnpin for OutboundCallParams
impl UnwindSafe for OutboundCallParams
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