Struct terra_rust_api::client::staking::Staking [−][src]
pub struct Staking<'a> { /* fields omitted */ }
Implementations
pub async fn validator_delegations(
&self,
key: &str
) -> Result<LCDResult<Vec<ValidatorDelegation>>, TerraRustAPIError>
pub async fn validator_delegations(
&self,
key: &str
) -> Result<LCDResult<Vec<ValidatorDelegation>>, TerraRustAPIError>
all delegations for a given validator
pub async fn validator_unbonding_delegations(
&self,
key: &str
) -> Result<LCDResult<Vec<ValidatorUnbondingDelegation>>, TerraRustAPIError>
pub async fn validator_unbonding_delegations(
&self,
key: &str
) -> Result<LCDResult<Vec<ValidatorUnbondingDelegation>>, TerraRustAPIError>
all unbondings for a given validator
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Staking<'a>
impl<'a> !UnwindSafe for Staking<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more