pub struct UpdateMessageIsPinned {
pub chat_id: i64,
pub message_id: i64,
pub is_pinned: bool,
}
Expand description
The message pinned state was changed
Fields§
§chat_id: i64
Chat identifier
message_id: i64
The message identifier
is_pinned: bool
True, if the message is pinned
Trait Implementations§
Source§impl Clone for UpdateMessageIsPinned
impl Clone for UpdateMessageIsPinned
Source§fn clone(&self) -> UpdateMessageIsPinned
fn clone(&self) -> UpdateMessageIsPinned
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 UpdateMessageIsPinned
impl Debug for UpdateMessageIsPinned
Source§impl Default for UpdateMessageIsPinned
impl Default for UpdateMessageIsPinned
Source§fn default() -> UpdateMessageIsPinned
fn default() -> UpdateMessageIsPinned
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateMessageIsPinned
impl<'de> Deserialize<'de> for UpdateMessageIsPinned
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 UpdateMessageIsPinned
impl PartialEq for UpdateMessageIsPinned
Source§impl Serialize for UpdateMessageIsPinned
impl Serialize for UpdateMessageIsPinned
impl StructuralPartialEq for UpdateMessageIsPinned
Auto Trait Implementations§
impl Freeze for UpdateMessageIsPinned
impl RefUnwindSafe for UpdateMessageIsPinned
impl Send for UpdateMessageIsPinned
impl Sync for UpdateMessageIsPinned
impl Unpin for UpdateMessageIsPinned
impl UnwindSafe for UpdateMessageIsPinned
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