Struct mcap_rs::records::Statistics
source · [−]pub struct Statistics {
pub message_count: u64,
pub schema_count: u16,
pub channel_count: u32,
pub attachment_count: u32,
pub metadata_count: u32,
pub chunk_count: u32,
pub message_start_time: u64,
pub message_end_time: u64,
pub channel_message_counts: BTreeMap<u16, u64>,
}Fields
message_count: u64schema_count: u16channel_count: u32attachment_count: u32metadata_count: u32chunk_count: u32message_start_time: u64message_end_time: u64channel_message_counts: BTreeMap<u16, u64>Trait Implementations
sourceimpl BinRead for Statistics
impl BinRead for Statistics
sourcefn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args
) -> BinResult<Self>
fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args
) -> BinResult<Self>
sourceimpl BinWrite for Statistics
impl BinWrite for Statistics
type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to write this type, usually a tuple. Read more
sourcefn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_options: &WriteOptions,
__binrw_generated_var_arguments: Self::Args
) -> BinResult<()>
fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_options: &WriteOptions,
__binrw_generated_var_arguments: Self::Args
) -> BinResult<()>
Write the type to a writer, given the options on how to write it and the type-specific
arguments Read more
sourcefn write_with_args<W>(
&self,
writer: &mut W,
args: Self::Args
) -> Result<(), Error>where
W: Write + Seek,
fn write_with_args<W>(
&self,
writer: &mut W,
args: Self::Args
) -> Result<(), Error>where
W: Write + Seek,
Write the type to a writer while providing the default
WriteOptionssourceimpl Clone for Statistics
impl Clone for Statistics
sourcefn clone(&self) -> Statistics
fn clone(&self) -> Statistics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Statistics
impl Debug for Statistics
sourceimpl Default for Statistics
impl Default for Statistics
sourcefn default() -> Statistics
fn default() -> Statistics
Returns the “default value” for a type. Read more
sourceimpl PartialEq<Statistics> for Statistics
impl PartialEq<Statistics> for Statistics
sourcefn eq(&self, other: &Statistics) -> bool
fn eq(&self, other: &Statistics) -> bool
impl Eq for Statistics
impl StructuralEq for Statistics
impl StructuralPartialEq for Statistics
Auto Trait Implementations
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more