pub struct GetStatsResponse {
pub timestamp: u64,
pub label: String,
pub protocol: String,
pub messages_received: u64,
pub bytes_received: u64,
pub buffered_amount: u32,
}
Expand description
The table GetStatsResponse
in the namespace FBS.DataProducer
Generated from these locations:
- Table
GetStatsResponse
in the filefbs/dataProducer.fbs:19
Fields§
§timestamp: u64
The field timestamp
in the table GetStatsResponse
label: String
The field label
in the table GetStatsResponse
protocol: String
The field protocol
in the table GetStatsResponse
messages_received: u64
The field messages_received
in the table GetStatsResponse
bytes_received: u64
The field bytes_received
in the table GetStatsResponse
buffered_amount: u32
The field buffered_amount
in the table GetStatsResponse
Implementations§
Source§impl GetStatsResponse
impl GetStatsResponse
Sourcepub fn builder() -> GetStatsResponseBuilder<()>
pub fn builder() -> GetStatsResponseBuilder<()>
Creates a GetStatsResponseBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_timestamp: impl WriteAsDefault<u64, u64>, field_label: impl WriteAs<Offset<str>>, field_protocol: impl WriteAs<Offset<str>>, field_messages_received: impl WriteAsDefault<u64, u64>, field_bytes_received: impl WriteAsDefault<u64, u64>, field_buffered_amount: impl WriteAsDefault<u32, u32>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for GetStatsResponse
impl Clone for GetStatsResponse
Source§fn clone(&self) -> GetStatsResponse
fn clone(&self) -> GetStatsResponse
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 GetStatsResponse
impl Debug for GetStatsResponse
Source§impl<'de> Deserialize<'de> for GetStatsResponse
impl<'de> Deserialize<'de> for GetStatsResponse
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 GetStatsResponse
impl Hash for GetStatsResponse
Source§impl Ord for GetStatsResponse
impl Ord for GetStatsResponse
Source§fn cmp(&self, other: &GetStatsResponse) -> Ordering
fn cmp(&self, other: &GetStatsResponse) -> 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 GetStatsResponse
impl PartialEq for GetStatsResponse
Source§impl PartialOrd for GetStatsResponse
impl PartialOrd for GetStatsResponse
Source§impl Serialize for GetStatsResponse
impl Serialize for GetStatsResponse
Source§impl<'a> TryFrom<GetStatsResponseRef<'a>> for GetStatsResponse
impl<'a> TryFrom<GetStatsResponseRef<'a>> for GetStatsResponse
impl Eq for GetStatsResponse
impl StructuralPartialEq for GetStatsResponse
impl VectorWrite<Offset<GetStatsResponse>> for GetStatsResponse
impl WriteAs<Offset<GetStatsResponse>> for GetStatsResponse
impl WriteAsOffset<GetStatsResponse> for GetStatsResponse
impl<T0: WriteAsDefault<u64, u64>, T1: WriteAs<Offset<str>>, T2: WriteAs<Offset<str>>, T3: WriteAsDefault<u64, u64>, T4: WriteAsDefault<u64, u64>, T5: WriteAsDefault<u32, u32>> WriteAsOffset<GetStatsResponse> for GetStatsResponseBuilder<(T0, T1, T2, T3, T4, T5)>
impl WriteAsOptional<Offset<GetStatsResponse>> for GetStatsResponse
Auto Trait Implementations§
impl Freeze for GetStatsResponse
impl RefUnwindSafe for GetStatsResponse
impl Send for GetStatsResponse
impl Sync for GetStatsResponse
impl Unpin for GetStatsResponse
impl UnwindSafe for GetStatsResponse
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