Struct fadroma::ensemble::StakingResponse
source · pub struct StakingResponse {
pub sender: String,
pub amount: Coin,
pub kind: StakingOp,
}
Fields§
§sender: String
The address that delegated the funds.
amount: Coin
The funds that were sent.
kind: StakingOp
The kind of staking operation that was performed.
Trait Implementations§
source§impl Clone for StakingResponse
impl Clone for StakingResponse
source§fn clone(&self) -> StakingResponse
fn clone(&self) -> StakingResponse
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 StakingResponse
impl Debug for StakingResponse
source§impl From<StakingResponse> for ResponseVariants
impl From<StakingResponse> for ResponseVariants
source§fn from(value: StakingResponse) -> Self
fn from(value: StakingResponse) -> Self
Converts to this type from the input type.
source§impl PartialEq<StakingResponse> for StakingResponse
impl PartialEq<StakingResponse> for StakingResponse
source§fn eq(&self, other: &StakingResponse) -> bool
fn eq(&self, other: &StakingResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StakingResponse
Auto Trait Implementations§
impl RefUnwindSafe for StakingResponse
impl Send for StakingResponse
impl Sync for StakingResponse
impl Unpin for StakingResponse
impl UnwindSafe for StakingResponse
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