pub struct SendNotification {
pub ppid: u32,
pub data: Vec<u8>,
pub subchannels: Option<Vec<u16>>,
pub required_subchannel: Option<u16>,
}
Expand description
The table SendNotification
in the namespace FBS.DataProducer
Generated from these locations:
- Table
SendNotification
in the filefbs/dataProducer.fbs:28
Fields§
§ppid: u32
The field ppid
in the table SendNotification
data: Vec<u8>
The field data
in the table SendNotification
subchannels: Option<Vec<u16>>
The field subchannels
in the table SendNotification
required_subchannel: Option<u16>
The field required_subchannel
in the table SendNotification
Implementations§
Source§impl SendNotification
impl SendNotification
Sourcepub fn builder() -> SendNotificationBuilder<()>
pub fn builder() -> SendNotificationBuilder<()>
Creates a SendNotificationBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_ppid: impl WriteAsDefault<u32, u32>, field_data: impl WriteAs<Offset<[u8]>>, field_subchannels: impl WriteAsOptional<Offset<[u16]>>, field_required_subchannel: impl WriteAsOptional<u16>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for SendNotification
impl Clone for SendNotification
Source§fn clone(&self) -> SendNotification
fn clone(&self) -> SendNotification
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 SendNotification
impl Debug for SendNotification
Source§impl<'de> Deserialize<'de> for SendNotification
impl<'de> Deserialize<'de> for SendNotification
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 SendNotification
impl Hash for SendNotification
Source§impl Ord for SendNotification
impl Ord for SendNotification
Source§fn cmp(&self, other: &SendNotification) -> Ordering
fn cmp(&self, other: &SendNotification) -> 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 SendNotification
impl PartialEq for SendNotification
Source§impl PartialOrd for SendNotification
impl PartialOrd for SendNotification
Source§impl Serialize for SendNotification
impl Serialize for SendNotification
Source§impl<'a> TryFrom<SendNotificationRef<'a>> for SendNotification
impl<'a> TryFrom<SendNotificationRef<'a>> for SendNotification
impl Eq for SendNotification
impl StructuralPartialEq for SendNotification
impl VectorWrite<Offset<SendNotification>> for SendNotification
impl WriteAs<Offset<SendNotification>> for SendNotification
impl WriteAsOffset<SendNotification> for SendNotification
impl<T0: WriteAsDefault<u32, u32>, T1: WriteAs<Offset<[u8]>>, T2: WriteAsOptional<Offset<[u16]>>, T3: WriteAsOptional<u16>> WriteAsOffset<SendNotification> for SendNotificationBuilder<(T0, T1, T2, T3)>
impl WriteAsOptional<Offset<SendNotification>> for SendNotification
Auto Trait Implementations§
impl Freeze for SendNotification
impl RefUnwindSafe for SendNotification
impl Send for SendNotification
impl Sync for SendNotification
impl Unpin for SendNotification
impl UnwindSafe for SendNotification
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