Struct jormungandr_automation::utils::stake_pool::StakePool
source · pub struct StakePool {
leader: KeyPair<Ed25519>,
owner: Identifier<Ed25519>,
inner: StakePool,
}
Fields§
§leader: KeyPair<Ed25519>
§owner: Identifier<Ed25519>
§inner: StakePool
Implementations§
source§impl StakePool
impl StakePool
pub fn new(owner_identifier: &Identifier<Ed25519>) -> Self
pub fn leader(&self) -> &KeyPair<Ed25519>
pub fn owner(&self) -> &Identifier<Ed25519>
pub fn id(&self) -> PoolId
pub fn info_mut(&mut self) -> &mut PoolRegistration
pub fn info(&self) -> PoolRegistration
pub fn kes(&self) -> KeyPair<SumEd25519_12>
pub fn vrf(&self) -> KeyPair<RistrettoGroup2HashDh>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StakePool
impl Send for StakePool
impl Sync for StakePool
impl Unpin for StakePool
impl UnwindSafe for StakePool
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request