pub struct Settlements {
pub total_received: Option<BigInt>,
pub total_sent: Option<BigInt>,
pub settlements: Vec<Settlement>,
}Expand description
GET /settlements response.
Fields§
§total_received: Option<BigInt>Sum of received across peers.
total_sent: Option<BigInt>Sum of sent across peers.
settlements: Vec<Settlement>Per-peer breakdown.
Trait Implementations§
Source§impl Clone for Settlements
impl Clone for Settlements
Source§fn clone(&self) -> Settlements
fn clone(&self) -> Settlements
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 Settlements
impl Debug for Settlements
Source§impl Default for Settlements
impl Default for Settlements
Source§fn default() -> Settlements
fn default() -> Settlements
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Settlements
impl<'de> Deserialize<'de> for Settlements
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 Settlements
impl PartialEq for Settlements
Source§fn eq(&self, other: &Settlements) -> bool
fn eq(&self, other: &Settlements) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Settlements
impl StructuralPartialEq for Settlements
Auto Trait Implementations§
impl Freeze for Settlements
impl RefUnwindSafe for Settlements
impl Send for Settlements
impl Sync for Settlements
impl Unpin for Settlements
impl UnsafeUnpin for Settlements
impl UnwindSafe for Settlements
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