Struct concordium_std::ChainMetadata [−][src]
pub struct ChainMetadata { pub slot_time: Timestamp, }
Expand description
Chain metadata accessible to both receive and init methods.
Fields
slot_time: Timestamp
Trait Implementations
impl Deserial for ChainMetadata
[src]
impl Deserial for ChainMetadata
[src]pub fn deserial<R>(source: &mut R) -> Result<ChainMetadata, ParseError> where
R: Read,
[src]
pub fn deserial<R>(source: &mut R) -> Result<ChainMetadata, ParseError> where
R: Read,
[src]Attempt to read a structure from a given source, failing if an error occurs during deserialization or reading. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChainMetadata
impl Send for ChainMetadata
impl Sync for ChainMetadata
impl Unpin for ChainMetadata
impl UnwindSafe for ChainMetadata
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<A> Serialize for A where
A: Deserial + Serial,
[src]
A: Deserial + Serial,