pub struct ServerFrame {
pub frame_type: ServerFrameType,
pub payload: ServerPayload,
}Expand description
Generic server frame envelope.
Fields§
§frame_type: ServerFrameType§payload: ServerPayloadTrait Implementations§
Source§impl Clone for ServerFrame
impl Clone for ServerFrame
Source§fn clone(&self) -> ServerFrame
fn clone(&self) -> ServerFrame
Returns a duplicate 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 ServerFrame
impl Debug for ServerFrame
Source§impl<'de> Deserialize<'de> for ServerFrame
impl<'de> Deserialize<'de> for ServerFrame
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 ServerFrame
impl RefUnwindSafe for ServerFrame
impl Send for ServerFrame
impl Sync for ServerFrame
impl Unpin for ServerFrame
impl UnsafeUnpin for ServerFrame
impl UnwindSafe for ServerFrame
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