Struct vit_servicing_station_lib::v0::genesis_block::GenesisBlock
source · pub struct GenesisBlock {
pub block0_path: String,
pub block0: Vec<u8>,
}
Fields§
§block0_path: String
§block0: Vec<u8>
Implementations§
source§impl GenesisBlock
impl GenesisBlock
pub(crate) fn is_fund_id(&self, fund_id: i32) -> bool
Trait Implementations§
source§impl Clone for GenesisBlock
impl Clone for GenesisBlock
source§fn clone(&self) -> GenesisBlock
fn clone(&self) -> GenesisBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for GenesisBlock
impl Send for GenesisBlock
impl Sync for GenesisBlock
impl Unpin for GenesisBlock
impl UnwindSafe for GenesisBlock
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