pub struct HelloBody {
pub peer_id: String,
pub display_name: Option<String>,
}Fields§
§peer_id: String§display_name: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HelloBody
impl<'de> Deserialize<'de> for HelloBody
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 StructuralPartialEq for HelloBody
Auto Trait Implementations§
impl Freeze for HelloBody
impl RefUnwindSafe for HelloBody
impl Send for HelloBody
impl Sync for HelloBody
impl Unpin for HelloBody
impl UnsafeUnpin for HelloBody
impl UnwindSafe for HelloBody
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