pub struct DataControlEvent {
pub event_type: String,
pub code: i64,
pub message: String,
pub s: String,
}Expand description
Common data-socket control event.
Fields§
§event_type: String§code: i64§message: String§s: StringTrait Implementations§
Source§impl Clone for DataControlEvent
impl Clone for DataControlEvent
Source§fn clone(&self) -> DataControlEvent
fn clone(&self) -> DataControlEvent
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 DataControlEvent
impl Debug for DataControlEvent
Source§impl<'de> Deserialize<'de> for DataControlEvent
impl<'de> Deserialize<'de> for DataControlEvent
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
Source§impl PartialEq for DataControlEvent
impl PartialEq for DataControlEvent
Source§impl Serialize for DataControlEvent
impl Serialize for DataControlEvent
impl Eq for DataControlEvent
impl StructuralPartialEq for DataControlEvent
Auto Trait Implementations§
impl Freeze for DataControlEvent
impl RefUnwindSafe for DataControlEvent
impl Send for DataControlEvent
impl Sync for DataControlEvent
impl Unpin for DataControlEvent
impl UnsafeUnpin for DataControlEvent
impl UnwindSafe for DataControlEvent
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