Struct mcap_rs::Attachment
source · [−]pub struct Attachment<'a> {
pub log_time: u64,
pub create_time: u64,
pub name: String,
pub content_type: String,
pub data: Cow<'a, [u8]>,
}Expand description
An attachment and its metadata in an MCAP file
Fields
log_time: u64create_time: u64name: Stringcontent_type: Stringdata: Cow<'a, [u8]>Trait Implementations
sourceimpl<'a> Debug for Attachment<'a>
impl<'a> Debug for Attachment<'a>
sourceimpl<'a> PartialEq<Attachment<'a>> for Attachment<'a>
impl<'a> PartialEq<Attachment<'a>> for Attachment<'a>
sourcefn eq(&self, other: &Attachment<'a>) -> bool
fn eq(&self, other: &Attachment<'a>) -> bool
impl<'a> Eq for Attachment<'a>
impl<'a> StructuralEq for Attachment<'a>
impl<'a> StructuralPartialEq for Attachment<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Attachment<'a>
impl<'a> Send for Attachment<'a>
impl<'a> Sync for Attachment<'a>
impl<'a> Unpin for Attachment<'a>
impl<'a> UnwindSafe for Attachment<'a>
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