pub struct ChannelUserEvent {
pub event_name: String,
pub channel: Option<Channel>,
pub bridge: Option<Bridge>,
pub endpoint: Option<Endpoint>,
pub user_event: Option<Value>,
}Expand description
User-generated event with additional user-defined fields in the object.
Fields§
§event_name: StringThe name of the user event.
channel: Option<Channel>A channel that is signaled with the user event.
bridge: Option<Bridge>A bridge that is signaled with the user event.
endpoint: Option<Endpoint>A endpoint that is signaled with the user event.
user_event: Option<Value>Custom Userevent data
Trait Implementations§
Source§impl Clone for ChannelUserEvent
impl Clone for ChannelUserEvent
Source§fn clone(&self) -> ChannelUserEvent
fn clone(&self) -> ChannelUserEvent
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 ChannelUserEvent
impl Debug for ChannelUserEvent
Source§impl Default for ChannelUserEvent
impl Default for ChannelUserEvent
Source§fn default() -> ChannelUserEvent
fn default() -> ChannelUserEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelUserEvent
impl<'de> Deserialize<'de> for ChannelUserEvent
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 ChannelUserEvent
impl PartialEq for ChannelUserEvent
impl StructuralPartialEq for ChannelUserEvent
Auto Trait Implementations§
impl Freeze for ChannelUserEvent
impl RefUnwindSafe for ChannelUserEvent
impl Send for ChannelUserEvent
impl Sync for ChannelUserEvent
impl Unpin for ChannelUserEvent
impl UnwindSafe for ChannelUserEvent
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