Struct telexide::api::types::UnhideGeneralForumTopic
source · pub struct UnhideGeneralForumTopic {
pub chat_id: IntegerOrString,
}
Expand description
struct for holding data needed to call
unhide_general_forum_topic
Fields§
§chat_id: IntegerOrString
Unique identifier for the target chat or username of the target supergroup
Implementations§
source§impl UnhideGeneralForumTopic
impl UnhideGeneralForumTopic
pub fn new(chat_id: IntegerOrString) -> Self
Trait Implementations§
source§impl Clone for UnhideGeneralForumTopic
impl Clone for UnhideGeneralForumTopic
source§fn clone(&self) -> UnhideGeneralForumTopic
fn clone(&self) -> UnhideGeneralForumTopic
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 UnhideGeneralForumTopic
impl Debug for UnhideGeneralForumTopic
source§impl<'de> Deserialize<'de> for UnhideGeneralForumTopic
impl<'de> Deserialize<'de> for UnhideGeneralForumTopic
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 From<SuperGroupChat> for UnhideGeneralForumTopic
impl From<SuperGroupChat> for UnhideGeneralForumTopic
source§fn from(chat: SuperGroupChat) -> Self
fn from(chat: SuperGroupChat) -> Self
Converts to this type from the input type.
source§impl PartialEq for UnhideGeneralForumTopic
impl PartialEq for UnhideGeneralForumTopic
source§fn eq(&self, other: &UnhideGeneralForumTopic) -> bool
fn eq(&self, other: &UnhideGeneralForumTopic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnhideGeneralForumTopic
impl Serialize for UnhideGeneralForumTopic
impl Eq for UnhideGeneralForumTopic
impl StructuralEq for UnhideGeneralForumTopic
impl StructuralPartialEq for UnhideGeneralForumTopic
Auto Trait Implementations§
impl RefUnwindSafe for UnhideGeneralForumTopic
impl Send for UnhideGeneralForumTopic
impl Sync for UnhideGeneralForumTopic
impl Unpin for UnhideGeneralForumTopic
impl UnwindSafe for UnhideGeneralForumTopic
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.