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