pub struct StakePool {
inner: StakePool,
owner: Wallet,
}
Fields§
§inner: StakePool
§owner: Wallet
Implementations§
source§impl StakePool
impl StakePool
pub fn new(owner: &Wallet) -> Self
pub fn info_mut(&mut self) -> &mut PoolRegistration
pub fn vrf(&self) -> KeyPair<RistrettoGroup2HashDh>
pub fn kes(&self) -> KeyPair<SumEd25519_12>
pub fn id(&self) -> PoolId
pub fn owner(&self) -> &Wallet
pub fn inner(&self) -> &InnerStakePool
pub fn inner_mut(&mut self) -> &mut InnerStakePool
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