pub struct ChatRevenueTransactionTypeSponsoredMessageEarnings {
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 ChatRevenueTransactionTypeSponsoredMessageEarnings
impl Clone for ChatRevenueTransactionTypeSponsoredMessageEarnings
Source§fn clone(&self) -> ChatRevenueTransactionTypeSponsoredMessageEarnings
fn clone(&self) -> ChatRevenueTransactionTypeSponsoredMessageEarnings
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 Default for ChatRevenueTransactionTypeSponsoredMessageEarnings
impl Default for ChatRevenueTransactionTypeSponsoredMessageEarnings
Source§fn default() -> ChatRevenueTransactionTypeSponsoredMessageEarnings
fn default() -> ChatRevenueTransactionTypeSponsoredMessageEarnings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatRevenueTransactionTypeSponsoredMessageEarnings
impl<'de> Deserialize<'de> for ChatRevenueTransactionTypeSponsoredMessageEarnings
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 ChatRevenueTransactionTypeSponsoredMessageEarnings
impl PartialEq for ChatRevenueTransactionTypeSponsoredMessageEarnings
Source§fn eq(&self, other: &ChatRevenueTransactionTypeSponsoredMessageEarnings) -> bool
fn eq(&self, other: &ChatRevenueTransactionTypeSponsoredMessageEarnings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatRevenueTransactionTypeSponsoredMessageEarnings
Auto Trait Implementations§
impl Freeze for ChatRevenueTransactionTypeSponsoredMessageEarnings
impl RefUnwindSafe for ChatRevenueTransactionTypeSponsoredMessageEarnings
impl Send for ChatRevenueTransactionTypeSponsoredMessageEarnings
impl Sync for ChatRevenueTransactionTypeSponsoredMessageEarnings
impl Unpin for ChatRevenueTransactionTypeSponsoredMessageEarnings
impl UnsafeUnpin for ChatRevenueTransactionTypeSponsoredMessageEarnings
impl UnwindSafe for ChatRevenueTransactionTypeSponsoredMessageEarnings
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