pub struct CallOperationRequest {
pub target: Target,
pub interface: InterfaceTarget,
pub operation: String,
pub arguments: BTreeMap<String, Value>,
}Expand description
Transport-independent request to execute one operation.
Fields§
§target: TargetPath and optional object-state precondition.
interface: InterfaceTargetInterface reference and its independent optional precondition.
operation: StringOperation name within the selected descriptor.
arguments: BTreeMap<String, Value>Named arguments; map iteration order has no protocol meaning.
Implementations§
Source§impl CallOperationRequest
impl CallOperationRequest
Sourcepub fn validate_with(
&self,
descriptor: &InterfaceDescriptor,
) -> Result<(), ValidationError>
pub fn validate_with( &self, descriptor: &InterfaceDescriptor, ) -> Result<(), ValidationError>
Validates this call against the descriptor selected by interface.
Trait Implementations§
Source§impl Clone for CallOperationRequest
impl Clone for CallOperationRequest
Source§impl Debug for CallOperationRequest
impl Debug for CallOperationRequest
Source§impl PartialEq for CallOperationRequest
impl PartialEq for CallOperationRequest
impl StructuralPartialEq for CallOperationRequest
Auto Trait Implementations§
impl Freeze for CallOperationRequest
impl RefUnwindSafe for CallOperationRequest
impl Send for CallOperationRequest
impl Sync for CallOperationRequest
impl Unpin for CallOperationRequest
impl UnsafeUnpin for CallOperationRequest
impl UnwindSafe for CallOperationRequest
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