Struct mediasoup_sys::fbs::notification::Notification
source · pub struct Notification {
pub handler_id: String,
pub event: Event,
pub body: Option<Body>,
}
Expand description
The table Notification
in the namespace FBS.Notification
Generated from these locations:
- Table
Notification
in the filefbs/notification.fbs:78
Fields§
§handler_id: String
The field handler_id
in the table Notification
event: Event
The field event
in the table Notification
body: Option<Body>
The field body
in the table Notification
Implementations§
source§impl Notification
impl Notification
sourcepub fn builder() -> NotificationBuilder<()>
pub fn builder() -> NotificationBuilder<()>
Creates a NotificationBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_handler_id: impl WriteAs<Offset<str>>, field_event: impl WriteAsDefault<Event, Event>, field_body: impl WriteAsOptionalUnion<Body> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for Notification
impl Clone for Notification
source§fn clone(&self) -> Notification
fn clone(&self) -> Notification
Returns a copy 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 Notification
impl Debug for Notification
source§impl<'de> Deserialize<'de> for Notification
impl<'de> Deserialize<'de> for Notification
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 Hash for Notification
impl Hash for Notification
source§impl Ord for Notification
impl Ord for Notification
source§fn cmp(&self, other: &Notification) -> Ordering
fn cmp(&self, other: &Notification) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Notification
impl PartialEq for Notification
source§fn eq(&self, other: &Notification) -> bool
fn eq(&self, other: &Notification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Notification
impl PartialOrd for Notification
source§fn partial_cmp(&self, other: &Notification) -> Option<Ordering>
fn partial_cmp(&self, other: &Notification) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Notification
impl Serialize for Notification
source§impl<'a> TryFrom<NotificationRef<'a>> for Notification
impl<'a> TryFrom<NotificationRef<'a>> for Notification
impl Eq for Notification
impl StructuralPartialEq for Notification
impl VectorWrite<Offset<Notification>> for Notification
impl WriteAs<Offset<Notification>> for Notification
impl WriteAsOffset<Notification> for Notification
impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<Event, Event>, T2: WriteAsOptionalUnion<Body>> WriteAsOffset<Notification> for NotificationBuilder<(T0, T1, T2)>
impl WriteAsOptional<Offset<Notification>> for Notification
Auto Trait Implementations§
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more