pub struct Cheque {
pub beneficiary: String,
pub chequebook: String,
pub payout: Option<BigInt>,
}Expand description
One sent or received cheque.
Fields§
§beneficiary: StringCheque beneficiary (eth address).
chequebook: StringIssuing chequebook contract.
payout: Option<BigInt>Cumulative payout (PLUR).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cheque
impl<'de> Deserialize<'de> for Cheque
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Cheque
impl StructuralPartialEq for Cheque
Auto Trait Implementations§
impl Freeze for Cheque
impl RefUnwindSafe for Cheque
impl Send for Cheque
impl Sync for Cheque
impl Unpin for Cheque
impl UnsafeUnpin for Cheque
impl UnwindSafe for Cheque
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