pub struct InfoPayload {
pub version: String,
pub server_id: String,
pub uuids: Identifiers,
pub system_label: String,
}Expand description
JSON body of a server INFO frame.
Fields§
§version: String§server_id: String§uuids: Identifiers§system_label: StringTrait Implementations§
Source§impl Clone for InfoPayload
impl Clone for InfoPayload
Source§fn clone(&self) -> InfoPayload
fn clone(&self) -> InfoPayload
Returns a copy of the value. Read more
1.0.0 · 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 InfoPayload
impl Debug for InfoPayload
Source§impl<'de> Deserialize<'de> for InfoPayload
impl<'de> Deserialize<'de> for InfoPayload
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 InfoPayload
impl RefUnwindSafe for InfoPayload
impl Send for InfoPayload
impl Sync for InfoPayload
impl Unpin for InfoPayload
impl UnwindSafe for InfoPayload
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