pub struct ContextCallbackRequest {
pub request_id: String,
pub service_id: ServiceId,
pub token: String,
pub operation: ContextOperation,
pub key: Option<String>,
pub value: Option<Value>,
pub namespace: Option<String>,
}Expand description
Context callback request
Fields§
§request_id: StringRequest ID from original node execution
service_id: ServiceIdService ID making the callback
token: StringSecurity token
operation: ContextOperationOperation to perform
key: Option<String>Key to access
value: Option<Value>Value to set (for Set operation)
namespace: Option<String>Namespace for the key
Trait Implementations§
Source§impl Clone for ContextCallbackRequest
impl Clone for ContextCallbackRequest
Source§fn clone(&self) -> ContextCallbackRequest
fn clone(&self) -> ContextCallbackRequest
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 ContextCallbackRequest
impl Debug for ContextCallbackRequest
Source§impl<'de> Deserialize<'de> for ContextCallbackRequest
impl<'de> Deserialize<'de> for ContextCallbackRequest
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
Auto Trait Implementations§
impl Freeze for ContextCallbackRequest
impl RefUnwindSafe for ContextCallbackRequest
impl Send for ContextCallbackRequest
impl Sync for ContextCallbackRequest
impl Unpin for ContextCallbackRequest
impl UnsafeUnpin for ContextCallbackRequest
impl UnwindSafe for ContextCallbackRequest
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