pub struct Frame {
pub mode: Mode,
pub export: String,
pub op: &'static str,
pub key: String,
pub data: Value,
pub append: Vec<String>,
}Expand description
Data frame sent over WebSocket
Fields§
§mode: Mode§export: String§op: &'static str§key: String§data: Value§append: Vec<String>Implementations§
Trait Implementations§
Source§impl Deserialize<'static> for Frame
impl Deserialize<'static> for Frame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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