Struct telexide::api::types::CloseForumTopic
source · pub struct CloseForumTopic {
pub chat_id: IntegerOrString,
pub message_thread_id: i64,
}
Expand description
struct for holding data needed to call
close_forum_topic
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 CloseForumTopic
impl CloseForumTopic
pub fn new(chat_id: IntegerOrString, message_thread_id: i64) -> Self
Trait Implementations§
source§impl Clone for CloseForumTopic
impl Clone for CloseForumTopic
source§fn clone(&self) -> CloseForumTopic
fn clone(&self) -> CloseForumTopic
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 CloseForumTopic
impl Debug for CloseForumTopic
source§impl<'de> Deserialize<'de> for CloseForumTopic
impl<'de> Deserialize<'de> for CloseForumTopic
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 CloseForumTopic
impl PartialEq for CloseForumTopic
source§fn eq(&self, other: &CloseForumTopic) -> bool
fn eq(&self, other: &CloseForumTopic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CloseForumTopic
impl Serialize for CloseForumTopic
impl Eq for CloseForumTopic
impl StructuralEq for CloseForumTopic
impl StructuralPartialEq for CloseForumTopic
Auto Trait Implementations§
impl RefUnwindSafe for CloseForumTopic
impl Send for CloseForumTopic
impl Sync for CloseForumTopic
impl Unpin for CloseForumTopic
impl UnwindSafe for CloseForumTopic
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.