pub struct MessageSuggestedPostApproved {
pub suggested_post_message_id: i64,
pub price: Option<SuggestedPostPrice>,
pub send_date: i32,
}Expand description
A suggested post was approved
Fields§
§suggested_post_message_id: i64Identifier of the message with the suggested post; may be 0 or an identifier of a deleted message
price: Option<SuggestedPostPrice>Price of the suggested post; may be null if the post is non-paid
send_date: i32Point in time (Unix timestamp) when the post is expected to be published
Trait Implementations§
Source§impl Clone for MessageSuggestedPostApproved
impl Clone for MessageSuggestedPostApproved
Source§fn clone(&self) -> MessageSuggestedPostApproved
fn clone(&self) -> MessageSuggestedPostApproved
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 MessageSuggestedPostApproved
impl Debug for MessageSuggestedPostApproved
Source§impl Default for MessageSuggestedPostApproved
impl Default for MessageSuggestedPostApproved
Source§fn default() -> MessageSuggestedPostApproved
fn default() -> MessageSuggestedPostApproved
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageSuggestedPostApproved
impl<'de> Deserialize<'de> for MessageSuggestedPostApproved
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 MessageSuggestedPostApproved
impl PartialEq for MessageSuggestedPostApproved
Source§fn eq(&self, other: &MessageSuggestedPostApproved) -> bool
fn eq(&self, other: &MessageSuggestedPostApproved) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageSuggestedPostApproved
Auto Trait Implementations§
impl Freeze for MessageSuggestedPostApproved
impl RefUnwindSafe for MessageSuggestedPostApproved
impl Send for MessageSuggestedPostApproved
impl Sync for MessageSuggestedPostApproved
impl Unpin for MessageSuggestedPostApproved
impl UnsafeUnpin for MessageSuggestedPostApproved
impl UnwindSafe for MessageSuggestedPostApproved
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