pub struct ChannelDestroyed {
pub cause: u32,
pub cause_txt: String,
pub channel: Channel,
}Expand description
Notification that a channel has been destroyed.
Fields§
§cause: u32§cause_txt: StringText representation of the cause of the hangup Text representation of the cause of the hangup
channel: ChannelTrait Implementations§
Source§impl Clone for ChannelDestroyed
impl Clone for ChannelDestroyed
Source§fn clone(&self) -> ChannelDestroyed
fn clone(&self) -> ChannelDestroyed
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 ChannelDestroyed
impl Debug for ChannelDestroyed
Source§impl Default for ChannelDestroyed
impl Default for ChannelDestroyed
Source§fn default() -> ChannelDestroyed
fn default() -> ChannelDestroyed
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelDestroyed
impl<'de> Deserialize<'de> for ChannelDestroyed
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 ChannelDestroyed
impl PartialEq for ChannelDestroyed
impl StructuralPartialEq for ChannelDestroyed
Auto Trait Implementations§
impl Freeze for ChannelDestroyed
impl RefUnwindSafe for ChannelDestroyed
impl Send for ChannelDestroyed
impl Sync for ChannelDestroyed
impl Unpin for ChannelDestroyed
impl UnwindSafe for ChannelDestroyed
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