Struct telexide::api::types::UnpinAllForumTopicMessages
source · pub struct UnpinAllForumTopicMessages {
pub chat_id: IntegerOrString,
pub message_thread_id: i64,
}
Expand description
struct for holding data needed to call
unpin_all_forum_topic_messages
Fields§
§chat_id: IntegerOrString
Unique identifier for the target chat or username of the target supergroup
message_thread_id: i64
Unique identifier for the target message thread of the forum topic
Implementations§
source§impl UnpinAllForumTopicMessages
impl UnpinAllForumTopicMessages
pub fn new(chat_id: IntegerOrString, message_thread_id: i64) -> Self
Trait Implementations§
source§impl Clone for UnpinAllForumTopicMessages
impl Clone for UnpinAllForumTopicMessages
source§fn clone(&self) -> UnpinAllForumTopicMessages
fn clone(&self) -> UnpinAllForumTopicMessages
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 Debug for UnpinAllForumTopicMessages
impl Debug for UnpinAllForumTopicMessages
source§impl<'de> Deserialize<'de> for UnpinAllForumTopicMessages
impl<'de> Deserialize<'de> for UnpinAllForumTopicMessages
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 UnpinAllForumTopicMessages
impl PartialEq for UnpinAllForumTopicMessages
source§fn eq(&self, other: &UnpinAllForumTopicMessages) -> bool
fn eq(&self, other: &UnpinAllForumTopicMessages) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnpinAllForumTopicMessages
impl StructuralEq for UnpinAllForumTopicMessages
impl StructuralPartialEq for UnpinAllForumTopicMessages
Auto Trait Implementations§
impl RefUnwindSafe for UnpinAllForumTopicMessages
impl Send for UnpinAllForumTopicMessages
impl Sync for UnpinAllForumTopicMessages
impl Unpin for UnpinAllForumTopicMessages
impl UnwindSafe for UnpinAllForumTopicMessages
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
source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
source§impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
impl<T> CloneableStorage for Twhere T: Any + Send + Sync + Clone,
fn clone_storage(&self) -> Box<dyn CloneableStorage>
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.