pub struct LastCheque {
pub peer: String,
pub last_received: Option<Cheque>,
}Expand description
One row of GET /chequebook/cheque. last_received may be None.
Fields§
§peer: StringPeer overlay.
last_received: Option<Cheque>Last received cheque or None if no cheques yet.
Trait Implementations§
Source§impl Clone for LastCheque
impl Clone for LastCheque
Source§fn clone(&self) -> LastCheque
fn clone(&self) -> LastCheque
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LastCheque
impl Debug for LastCheque
Source§impl<'de> Deserialize<'de> for LastCheque
impl<'de> Deserialize<'de> for LastCheque
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
Source§impl PartialEq for LastCheque
impl PartialEq for LastCheque
Source§fn eq(&self, other: &LastCheque) -> bool
fn eq(&self, other: &LastCheque) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LastCheque
impl StructuralPartialEq for LastCheque
Auto Trait Implementations§
impl Freeze for LastCheque
impl RefUnwindSafe for LastCheque
impl Send for LastCheque
impl Sync for LastCheque
impl Unpin for LastCheque
impl UnsafeUnpin for LastCheque
impl UnwindSafe for LastCheque
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