pub struct ChatEventInviteLinkEdited { /* private fields */ }
Expand description
A chat invite link was edited
Implementations§
Source§impl ChatEventInviteLinkEdited
impl ChatEventInviteLinkEdited
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> ChatEventInviteLinkEditedBuilder
pub fn old_invite_link(&self) -> &ChatInviteLink
pub fn new_invite_link(&self) -> &ChatInviteLink
Trait Implementations§
Source§impl AsRef<ChatEventInviteLinkEdited> for ChatEventInviteLinkEdited
impl AsRef<ChatEventInviteLinkEdited> for ChatEventInviteLinkEdited
Source§fn as_ref(&self) -> &ChatEventInviteLinkEdited
fn as_ref(&self) -> &ChatEventInviteLinkEdited
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ChatEventInviteLinkEdited
impl Clone for ChatEventInviteLinkEdited
Source§fn clone(&self) -> ChatEventInviteLinkEdited
fn clone(&self) -> ChatEventInviteLinkEdited
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 ChatEventInviteLinkEdited
impl Debug for ChatEventInviteLinkEdited
Source§impl Default for ChatEventInviteLinkEdited
impl Default for ChatEventInviteLinkEdited
Source§fn default() -> ChatEventInviteLinkEdited
fn default() -> ChatEventInviteLinkEdited
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatEventInviteLinkEdited
impl<'de> Deserialize<'de> for ChatEventInviteLinkEdited
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
impl TDChatEventAction for ChatEventInviteLinkEdited
Auto Trait Implementations§
impl Freeze for ChatEventInviteLinkEdited
impl RefUnwindSafe for ChatEventInviteLinkEdited
impl Send for ChatEventInviteLinkEdited
impl Sync for ChatEventInviteLinkEdited
impl Unpin for ChatEventInviteLinkEdited
impl UnwindSafe for ChatEventInviteLinkEdited
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