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§impl PartialOrd for Notification
impl PartialOrd for Notification
Source§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 Freeze for Notification
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