pub struct OutboundPin {
pub chat: String,
pub message_id: i64,
pub unpin: bool,
pub notify: bool,
}Expand description
A message the bot pinned or unpinned.
Fields§
§chat: StringChat/channel id.
message_id: i64Target message.
unpin: booltrue for unpin.
notify: boolWhether the pin notified the chat.
Trait Implementations§
Source§impl Clone for OutboundPin
impl Clone for OutboundPin
Source§fn clone(&self) -> OutboundPin
fn clone(&self) -> OutboundPin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutboundPin
impl Debug for OutboundPin
Source§impl<'de> Deserialize<'de> for OutboundPin
impl<'de> Deserialize<'de> for OutboundPin
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 OutboundPin
impl PartialEq for OutboundPin
Source§impl Serialize for OutboundPin
impl Serialize for OutboundPin
impl StructuralPartialEq for OutboundPin
Auto Trait Implementations§
impl Freeze for OutboundPin
impl RefUnwindSafe for OutboundPin
impl Send for OutboundPin
impl Sync for OutboundPin
impl Unpin for OutboundPin
impl UnsafeUnpin for OutboundPin
impl UnwindSafe for OutboundPin
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