pub struct ProtocolBody {
pub intent: String,
pub content: String,
pub capability: Option<String>,
pub correlation_id: Option<String>,
}Fields§
§intent: String§content: String§capability: Option<String>§correlation_id: Option<String>Trait Implementations§
Source§impl Clone for ProtocolBody
impl Clone for ProtocolBody
Source§fn clone(&self) -> ProtocolBody
fn clone(&self) -> ProtocolBody
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 ProtocolBody
impl Debug for ProtocolBody
Source§impl<'de> Deserialize<'de> for ProtocolBody
impl<'de> Deserialize<'de> for ProtocolBody
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 ProtocolBody
Source§impl PartialEq for ProtocolBody
impl PartialEq for ProtocolBody
Source§fn eq(&self, other: &ProtocolBody) -> bool
fn eq(&self, other: &ProtocolBody) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProtocolBody
impl Serialize for ProtocolBody
impl StructuralPartialEq for ProtocolBody
Auto Trait Implementations§
impl Freeze for ProtocolBody
impl RefUnwindSafe for ProtocolBody
impl Send for ProtocolBody
impl Sync for ProtocolBody
impl Unpin for ProtocolBody
impl UnsafeUnpin for ProtocolBody
impl UnwindSafe for ProtocolBody
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