Struct chain_impl_mockchain::ledger::iter::Globals
source · pub struct Globals {
pub date: BlockDate,
pub chain_length: ChainLength,
pub static_params: LedgerStaticParameters,
pub era: TimeEra,
}
Fields§
§date: BlockDate
§chain_length: ChainLength
§static_params: LedgerStaticParameters
§era: TimeEra
Trait Implementations§
source§impl PartialEq<Globals> for Globals
impl PartialEq<Globals> for Globals
impl Eq for Globals
impl StructuralEq for Globals
impl StructuralPartialEq for Globals
Auto Trait Implementations§
impl RefUnwindSafe for Globals
impl Send for Globals
impl Sync for Globals
impl Unpin for Globals
impl UnwindSafe for Globals
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