Struct jormungandr_lib::interfaces::GenesisPraos
source · pub struct GenesisPraos {
pub node_id: Hash,
pub sig_key: SigningKey<SumEd25519_12>,
pub vrf_key: SigningKey<RistrettoGroup2HashDh>,
}
Expand description
the genesis praos setting
Fields§
§node_id: Hash
§sig_key: SigningKey<SumEd25519_12>
§vrf_key: SigningKey<RistrettoGroup2HashDh>
Trait Implementations§
source§impl Clone for GenesisPraos
impl Clone for GenesisPraos
source§fn clone(&self) -> GenesisPraos
fn clone(&self) -> GenesisPraos
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 moresource§impl Debug for GenesisPraos
impl Debug for GenesisPraos
source§impl<'de> Deserialize<'de> for GenesisPraos
impl<'de> Deserialize<'de> for GenesisPraos
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
Auto Trait Implementations§
impl RefUnwindSafe for GenesisPraos
impl Send for GenesisPraos
impl Sync for GenesisPraos
impl Unpin for GenesisPraos
impl UnwindSafe for GenesisPraos
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