Struct telexide::api::types::RevokeChatInviteLink
source · pub struct RevokeChatInviteLink {
pub chat_id: IntegerOrString,
pub invite_link: String,
}
Expand description
struct for holding data needed to call revoke_chat_invite_link
Fields§
§chat_id: IntegerOrString
Unique identifier for the target chat
invite_link: String
The invite link to revoke
Implementations§
source§impl RevokeChatInviteLink
impl RevokeChatInviteLink
pub fn new(chat_id: IntegerOrString, invite_link: impl ToString) -> Self
Trait Implementations§
source§impl Clone for RevokeChatInviteLink
impl Clone for RevokeChatInviteLink
source§fn clone(&self) -> RevokeChatInviteLink
fn clone(&self) -> RevokeChatInviteLink
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 RevokeChatInviteLink
impl Debug for RevokeChatInviteLink
source§impl<'de> Deserialize<'de> for RevokeChatInviteLink
impl<'de> Deserialize<'de> for RevokeChatInviteLink
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 RevokeChatInviteLink
impl PartialEq for RevokeChatInviteLink
source§fn eq(&self, other: &RevokeChatInviteLink) -> bool
fn eq(&self, other: &RevokeChatInviteLink) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RevokeChatInviteLink
impl Serialize for RevokeChatInviteLink
impl Eq for RevokeChatInviteLink
impl StructuralEq for RevokeChatInviteLink
impl StructuralPartialEq for RevokeChatInviteLink
Auto Trait Implementations§
impl RefUnwindSafe for RevokeChatInviteLink
impl Send for RevokeChatInviteLink
impl Sync for RevokeChatInviteLink
impl Unpin for RevokeChatInviteLink
impl UnwindSafe for RevokeChatInviteLink
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.