Struct jormungandr_lib::interfaces::PersistentFragmentLog
source · pub struct PersistentFragmentLog {
pub time: SecondsSinceUnixEpoch,
pub fragment: Fragment,
}
Expand description
Represents a persistent fragments log entry.
Fields§
§time: SecondsSinceUnixEpoch
the time this fragment was registered and accepted by the pool
fragment: Fragment
full hex-encoded fragment body
Trait Implementations§
source§impl Debug for PersistentFragmentLog
impl Debug for PersistentFragmentLog
source§impl<'de> Deserialize<'de> for PersistentFragmentLog
impl<'de> Deserialize<'de> for PersistentFragmentLog
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 Deserialize for PersistentFragmentLog
impl Deserialize for PersistentFragmentLog
fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>
fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,
Auto Trait Implementations§
impl RefUnwindSafe for PersistentFragmentLog
impl Send for PersistentFragmentLog
impl Sync for PersistentFragmentLog
impl Unpin for PersistentFragmentLog
impl UnwindSafe for PersistentFragmentLog
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