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