pub struct GetEarningsRequest {
pub peer_id: PeerIdString,
pub start_time: Option<DateTime<Utc>>,
pub end_time: Option<DateTime<Utc>>,
}Expand description
Request to get earnings information.
Fields§
§peer_id: PeerIdStringPeer ID to get earnings for.
start_time: Option<DateTime<Utc>>Start of time range (optional).
end_time: Option<DateTime<Utc>>End of time range (optional).
Trait Implementations§
Source§impl Clone for GetEarningsRequest
impl Clone for GetEarningsRequest
Source§fn clone(&self) -> GetEarningsRequest
fn clone(&self) -> GetEarningsRequest
Returns a duplicate 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 GetEarningsRequest
impl Debug for GetEarningsRequest
Source§impl<'de> Deserialize<'de> for GetEarningsRequest
impl<'de> Deserialize<'de> for GetEarningsRequest
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
Auto Trait Implementations§
impl Freeze for GetEarningsRequest
impl RefUnwindSafe for GetEarningsRequest
impl Send for GetEarningsRequest
impl Sync for GetEarningsRequest
impl Unpin for GetEarningsRequest
impl UnwindSafe for GetEarningsRequest
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