pub struct ChatRevenueTransactionTypeEarnings {
pub start_date: i32,
pub end_date: i32,
}Expand description
Describes earnings from sponsored messages in a chat in some time frame
Fields§
§start_date: i32Point in time (Unix timestamp) when the earnings started
end_date: i32Point in time (Unix timestamp) when the earnings ended
Trait Implementations§
Source§impl Clone for ChatRevenueTransactionTypeEarnings
impl Clone for ChatRevenueTransactionTypeEarnings
Source§fn clone(&self) -> ChatRevenueTransactionTypeEarnings
fn clone(&self) -> ChatRevenueTransactionTypeEarnings
Returns a copy 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 Default for ChatRevenueTransactionTypeEarnings
impl Default for ChatRevenueTransactionTypeEarnings
Source§fn default() -> ChatRevenueTransactionTypeEarnings
fn default() -> ChatRevenueTransactionTypeEarnings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatRevenueTransactionTypeEarnings
impl<'de> Deserialize<'de> for ChatRevenueTransactionTypeEarnings
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 ChatRevenueTransactionTypeEarnings
impl PartialEq for ChatRevenueTransactionTypeEarnings
Source§fn eq(&self, other: &ChatRevenueTransactionTypeEarnings) -> bool
fn eq(&self, other: &ChatRevenueTransactionTypeEarnings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatRevenueTransactionTypeEarnings
Auto Trait Implementations§
impl Freeze for ChatRevenueTransactionTypeEarnings
impl RefUnwindSafe for ChatRevenueTransactionTypeEarnings
impl Send for ChatRevenueTransactionTypeEarnings
impl Sync for ChatRevenueTransactionTypeEarnings
impl Unpin for ChatRevenueTransactionTypeEarnings
impl UnwindSafe for ChatRevenueTransactionTypeEarnings
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