pub struct CallContext { /* private fields */ }Expand description
Immutable operation inputs fixed before request construction.
Implementations§
Source§impl CallContext
impl CallContext
Sourcepub fn object(&self) -> &ObjectObservation
pub fn object(&self) -> &ObjectObservation
Returns the object observation fixed at call construction.
Sourcepub fn interface(&self) -> &InterfaceObservation
pub fn interface(&self) -> &InterfaceObservation
Returns the interface observation fixed at call construction.
Sourcepub fn descriptor(&self) -> &InterfaceDescriptor
pub fn descriptor(&self) -> &InterfaceDescriptor
Returns the descriptor used for both argument and result validation.
Sourcepub fn operation(&self) -> &OperationDeclaration
pub fn operation(&self) -> &OperationDeclaration
Returns the exact operation declaration fixed for this call.
Sourcepub fn request(&self) -> &CallOperationRequest
pub fn request(&self) -> &CallOperationRequest
Returns the fully constructed logical request.
Trait Implementations§
Source§impl Clone for CallContext
impl Clone for CallContext
Source§impl Debug for CallContext
impl Debug for CallContext
Source§impl PartialEq for CallContext
impl PartialEq 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