pub struct ClientFrame {
pub frame_type: ClientFrameType,
pub payload: ClientPayload,
}Expand description
Generic client frame envelope.
Fields§
§frame_type: ClientFrameType§payload: ClientPayloadTrait Implementations§
Source§impl Clone for ClientFrame
impl Clone for ClientFrame
Source§fn clone(&self) -> ClientFrame
fn clone(&self) -> ClientFrame
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 ClientFrame
impl Debug for ClientFrame
Source§impl<'de> Deserialize<'de> for ClientFrame
impl<'de> Deserialize<'de> for ClientFrame
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 ClientFrame
impl RefUnwindSafe for ClientFrame
impl Send for ClientFrame
impl Sync for ClientFrame
impl Unpin for ClientFrame
impl UnsafeUnpin for ClientFrame
impl UnwindSafe for ClientFrame
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