pub struct UnpinAllForumTopicMessagesParams {
pub chat_id: ChatId,
pub message_thread_id: i32,
}
Fields§
§chat_id: ChatId
§message_thread_id: i32
Implementations§
source§impl UnpinAllForumTopicMessagesParams
impl UnpinAllForumTopicMessagesParams
sourcepub fn builder() -> UnpinAllForumTopicMessagesParamsBuilder<((), ())>
pub fn builder() -> UnpinAllForumTopicMessagesParamsBuilder<((), ())>
Create a builder for building UnpinAllForumTopicMessagesParams
.
On the builder, call .chat_id(...)
, .message_thread_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of UnpinAllForumTopicMessagesParams
.
Trait Implementations§
source§impl Clone for UnpinAllForumTopicMessagesParams
impl Clone for UnpinAllForumTopicMessagesParams
source§fn clone(&self) -> UnpinAllForumTopicMessagesParams
fn clone(&self) -> UnpinAllForumTopicMessagesParams
Returns a copy 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 UnpinAllForumTopicMessagesParams
impl<'de> Deserialize<'de> for UnpinAllForumTopicMessagesParams
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 UnpinAllForumTopicMessagesParams
impl PartialEq for UnpinAllForumTopicMessagesParams
source§fn eq(&self, other: &UnpinAllForumTopicMessagesParams) -> bool
fn eq(&self, other: &UnpinAllForumTopicMessagesParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnpinAllForumTopicMessagesParams
impl StructuralPartialEq for UnpinAllForumTopicMessagesParams
Auto Trait Implementations§
impl Freeze for UnpinAllForumTopicMessagesParams
impl RefUnwindSafe for UnpinAllForumTopicMessagesParams
impl Send for UnpinAllForumTopicMessagesParams
impl Sync for UnpinAllForumTopicMessagesParams
impl Unpin for UnpinAllForumTopicMessagesParams
impl UnwindSafe for UnpinAllForumTopicMessagesParams
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