pub struct ChannelHold {
pub channel: Channel,
pub musicclass: Option<String>,
}Expand description
A channel initiated a media hold.
Fields§
§channel: Channel§musicclass: Option<String>The music on hold class that the initiator requested.
Trait Implementations§
Source§impl Clone for ChannelHold
impl Clone for ChannelHold
Source§fn clone(&self) -> ChannelHold
fn clone(&self) -> ChannelHold
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 ChannelHold
impl Debug for ChannelHold
Source§impl Default for ChannelHold
impl Default for ChannelHold
Source§fn default() -> ChannelHold
fn default() -> ChannelHold
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelHold
impl<'de> Deserialize<'de> for ChannelHold
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 ChannelHold
impl PartialEq for ChannelHold
impl StructuralPartialEq for ChannelHold
Auto Trait Implementations§
impl Freeze for ChannelHold
impl RefUnwindSafe for ChannelHold
impl Send for ChannelHold
impl Sync for ChannelHold
impl Unpin for ChannelHold
impl UnwindSafe for ChannelHold
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