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