Struct wildland_corex::forest::ForestIdentity
source · pub struct ForestIdentity {
pub index: u64,
pub keypair: Arc<SigningKeypair>,
}
Fields§
§index: u64
§keypair: Arc<SigningKeypair>
Implementations§
source§impl ForestIdentity
impl ForestIdentity
pub fn new(index: u64, keypair: SigningKeypair) -> Self
Trait Implementations§
source§impl Clone for ForestIdentity
impl Clone for ForestIdentity
source§fn clone(&self) -> ForestIdentity
fn clone(&self) -> ForestIdentity
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 ForestIdentity
impl Debug for ForestIdentity
source§impl From<ForestIdentity> for WildlandIdentity
impl From<ForestIdentity> for WildlandIdentity
source§fn from(value: ForestIdentity) -> Self
fn from(value: ForestIdentity) -> Self
Converts to this type from the input type.
source§impl PartialEq<ForestIdentity> for ForestIdentity
impl PartialEq<ForestIdentity> for ForestIdentity
source§fn eq(&self, other: &ForestIdentity) -> bool
fn eq(&self, other: &ForestIdentity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ForestIdentity
Auto Trait Implementations§
impl RefUnwindSafe for ForestIdentity
impl Send for ForestIdentity
impl Sync for ForestIdentity
impl Unpin for ForestIdentity
impl UnwindSafe for ForestIdentity
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