pub struct TraceNotification {
pub type_: TraceEventType,
pub timestamp: u64,
pub direction: TraceDirection,
pub info: Option<TraceInfo>,
}
Expand description
The table TraceNotification
in the namespace FBS.Producer
Generated from these locations:
- Table
TraceNotification
in the filefbs/producer.fbs:94
Fields§
§type_: TraceEventType
The field type
in the table TraceNotification
timestamp: u64
The field timestamp
in the table TraceNotification
direction: TraceDirection
The field direction
in the table TraceNotification
info: Option<TraceInfo>
The field info
in the table TraceNotification
Implementations§
Source§impl TraceNotification
impl TraceNotification
Sourcepub fn builder() -> TraceNotificationBuilder<()>
pub fn builder() -> TraceNotificationBuilder<()>
Creates a TraceNotificationBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_type_: impl WriteAsDefault<TraceEventType, TraceEventType>, field_timestamp: impl WriteAsDefault<u64, u64>, field_direction: impl WriteAsDefault<TraceDirection, TraceDirection>, field_info: impl WriteAsOptionalUnion<TraceInfo>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for TraceNotification
impl Clone for TraceNotification
Source§fn clone(&self) -> TraceNotification
fn clone(&self) -> TraceNotification
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 TraceNotification
impl Debug for TraceNotification
Source§impl Default for TraceNotification
impl Default for TraceNotification
Source§impl<'de> Deserialize<'de> for TraceNotification
impl<'de> Deserialize<'de> for TraceNotification
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 TraceNotification
impl Hash for TraceNotification
Source§impl Ord for TraceNotification
impl Ord for TraceNotification
Source§fn cmp(&self, other: &TraceNotification) -> Ordering
fn cmp(&self, other: &TraceNotification) -> 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 TraceNotification
impl PartialEq for TraceNotification
Source§impl PartialOrd for TraceNotification
impl PartialOrd for TraceNotification
Source§impl Serialize for TraceNotification
impl Serialize for TraceNotification
Source§impl<'a> TryFrom<TraceNotificationRef<'a>> for TraceNotification
impl<'a> TryFrom<TraceNotificationRef<'a>> for TraceNotification
impl Eq for TraceNotification
impl StructuralPartialEq for TraceNotification
impl VectorWrite<Offset<TraceNotification>> for TraceNotification
impl WriteAs<Offset<TraceNotification>> for TraceNotification
impl WriteAsOffset<TraceNotification> for TraceNotification
impl<T0: WriteAsDefault<TraceEventType, TraceEventType>, T1: WriteAsDefault<u64, u64>, T2: WriteAsDefault<TraceDirection, TraceDirection>, T3: WriteAsOptionalUnion<TraceInfo>> WriteAsOffset<TraceNotification> for TraceNotificationBuilder<(T0, T1, T2, T3)>
impl WriteAsOptional<Offset<TraceNotification>> for TraceNotification
Auto Trait Implementations§
impl Freeze for TraceNotification
impl RefUnwindSafe for TraceNotification
impl Send for TraceNotification
impl Sync for TraceNotification
impl Unpin for TraceNotification
impl UnwindSafe for TraceNotification
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