pub struct UpdateMessageSuggestedPostInfo {
pub chat_id: i64,
pub message_id: i64,
pub suggested_post_info: SuggestedPostInfo,
}Expand description
Information about suggested post of a message was changed
Fields§
§chat_id: i64Chat identifier
message_id: i64Message identifier
suggested_post_info: SuggestedPostInfoThe new information about the suggested post
Trait Implementations§
Source§impl Clone for UpdateMessageSuggestedPostInfo
impl Clone for UpdateMessageSuggestedPostInfo
Source§fn clone(&self) -> UpdateMessageSuggestedPostInfo
fn clone(&self) -> UpdateMessageSuggestedPostInfo
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<'de> Deserialize<'de> for UpdateMessageSuggestedPostInfo
impl<'de> Deserialize<'de> for UpdateMessageSuggestedPostInfo
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 UpdateMessageSuggestedPostInfo
impl PartialEq for UpdateMessageSuggestedPostInfo
Source§fn eq(&self, other: &UpdateMessageSuggestedPostInfo) -> bool
fn eq(&self, other: &UpdateMessageSuggestedPostInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateMessageSuggestedPostInfo
Auto Trait Implementations§
impl Freeze for UpdateMessageSuggestedPostInfo
impl RefUnwindSafe for UpdateMessageSuggestedPostInfo
impl Send for UpdateMessageSuggestedPostInfo
impl Sync for UpdateMessageSuggestedPostInfo
impl Unpin for UpdateMessageSuggestedPostInfo
impl UnsafeUnpin for UpdateMessageSuggestedPostInfo
impl UnwindSafe for UpdateMessageSuggestedPostInfo
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