pub enum HarvestRole {
Remote = 1,
Vrf = 2,
}Expand description
ハーベストの鍵の役割。harvest_path の4番目の番号になる。
symbol_path の4番目は 0 なので、1 から始めて、間違えて同じシードを渡してもアカウントの鍵にはならないようにする。
Variants§
Trait Implementations§
Source§impl Clone for HarvestRole
impl Clone for HarvestRole
Source§fn clone(&self) -> HarvestRole
fn clone(&self) -> HarvestRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HarvestRole
Source§impl Debug for HarvestRole
impl Debug for HarvestRole
impl Eq for HarvestRole
Source§impl PartialEq for HarvestRole
impl PartialEq for HarvestRole
impl StructuralPartialEq for HarvestRole
Auto Trait Implementations§
impl Freeze for HarvestRole
impl RefUnwindSafe for HarvestRole
impl Send for HarvestRole
impl Sync for HarvestRole
impl Unpin for HarvestRole
impl UnsafeUnpin for HarvestRole
impl UnwindSafe for HarvestRole
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