pub struct MetaInfo {
pub content_type: ContentType,
pub freshness_period: Option<Duration>,
pub final_block_id: Option<Bytes>,
}Expand description
Metadata carried in a Data packet’s MetaInfo TLV.
Fields§
§content_type: ContentType§freshness_period: Option<Duration>§final_block_id: Option<Bytes>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MetaInfo
impl RefUnwindSafe for MetaInfo
impl Send for MetaInfo
impl Sync for MetaInfo
impl Unpin for MetaInfo
impl UnwindSafe for MetaInfo
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