pub struct MessageExtension {
pub name: String,
pub id: String,
pub critical_indicator: bool,
pub data: Value,
}Expand description
Generic protocol extension element — carried in RReq and RRes.
Fields§
§name: String§id: String§critical_indicator: bool§data: ValueTrait Implementations§
Source§impl Clone for MessageExtension
impl Clone for MessageExtension
Source§fn clone(&self) -> MessageExtension
fn clone(&self) -> MessageExtension
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 MessageExtension
impl Debug for MessageExtension
Source§impl<'de> Deserialize<'de> for MessageExtension
impl<'de> Deserialize<'de> for MessageExtension
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 MessageExtension
impl RefUnwindSafe for MessageExtension
impl Send for MessageExtension
impl Sync for MessageExtension
impl Unpin for MessageExtension
impl UnsafeUnpin for MessageExtension
impl UnwindSafe for MessageExtension
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