Struct dao::bid_escrow::events::CSPRTransfer
source · pub struct CSPRTransfer {
pub from: Address,
pub to: Address,
pub amount: Balance,
pub reason: String,
}
Expand description
Event emitted when that a transfer has been made.
Fields§
§from: Address
§to: Address
§amount: Balance
§reason: String
Trait Implementations§
source§impl BorshDeserialize for CSPRTransfer
impl BorshDeserialize for CSPRTransfer
source§fn deserialize(buf: &mut &[u8]) -> Result<Self>
fn deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
source§impl BorshSerialize for CSPRTransfer
impl BorshSerialize for CSPRTransfer
source§impl Debug for CSPRTransfer
impl Debug for CSPRTransfer
source§impl OdraEvent for CSPRTransfer
impl OdraEvent for CSPRTransfer
source§impl PartialEq for CSPRTransfer
impl PartialEq for CSPRTransfer
source§fn eq(&self, other: &CSPRTransfer) -> bool
fn eq(&self, other: &CSPRTransfer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CSPRTransfer
impl StructuralPartialEq for CSPRTransfer
Auto Trait Implementations§
impl RefUnwindSafe for CSPRTransfer
impl Send for CSPRTransfer
impl Sync for CSPRTransfer
impl Unpin for CSPRTransfer
impl UnwindSafe for CSPRTransfer
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