pub struct DetachedEventParams {
pub reason: String,
}Fields§
§reason: StringThe reason why connection has been terminated.
Trait Implementations§
Source§impl Clone for DetachedEventParams
impl Clone for DetachedEventParams
Source§fn clone(&self) -> DetachedEventParams
fn clone(&self) -> DetachedEventParams
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 DetachedEventParams
impl Debug for DetachedEventParams
Source§impl<'de> Deserialize<'de> for DetachedEventParams
impl<'de> Deserialize<'de> for DetachedEventParams
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 DetachedEventParams
impl PartialEq for DetachedEventParams
Source§impl Serialize for DetachedEventParams
impl Serialize for DetachedEventParams
impl StructuralPartialEq for DetachedEventParams
Auto Trait Implementations§
impl Freeze for DetachedEventParams
impl RefUnwindSafe for DetachedEventParams
impl Send for DetachedEventParams
impl Sync for DetachedEventParams
impl Unpin for DetachedEventParams
impl UnsafeUnpin for DetachedEventParams
impl UnwindSafe for DetachedEventParams
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