Struct frankenstein::api_params::PinChatMessageParams [−][src]
pub struct PinChatMessageParams {
pub chat_id: ChatId,
pub message_id: i32,
pub disable_notification: Option<bool>,
}
Fields
chat_id: ChatId
message_id: i32
disable_notification: Option<bool>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PinChatMessageParams
impl Send for PinChatMessageParams
impl Sync for PinChatMessageParams
impl Unpin for PinChatMessageParams
impl UnwindSafe for PinChatMessageParams
Blanket Implementations
Mutably borrows from an owned value. Read more