pub struct CanTransferOwnership { /* private fields */ }
Expand description
Checks whether the current session can be used to transfer a chat ownership to another user
Implementations§
Trait Implementations§
Source§impl AsRef<CanTransferOwnership> for CanTransferOwnership
impl AsRef<CanTransferOwnership> for CanTransferOwnership
Source§fn as_ref(&self) -> &CanTransferOwnership
fn as_ref(&self) -> &CanTransferOwnership
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for CanTransferOwnership
impl Clone for CanTransferOwnership
Source§fn clone(&self) -> CanTransferOwnership
fn clone(&self) -> CanTransferOwnership
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 CanTransferOwnership
impl Debug for CanTransferOwnership
Source§impl Default for CanTransferOwnership
impl Default for CanTransferOwnership
Source§fn default() -> CanTransferOwnership
fn default() -> CanTransferOwnership
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CanTransferOwnership
impl<'de> Deserialize<'de> for CanTransferOwnership
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 Serialize for CanTransferOwnership
impl Serialize for CanTransferOwnership
impl TDCanTransferOwnershipResult for CanTransferOwnership
Auto Trait Implementations§
impl Freeze for CanTransferOwnership
impl RefUnwindSafe for CanTransferOwnership
impl Send for CanTransferOwnership
impl Sync for CanTransferOwnership
impl Unpin for CanTransferOwnership
impl UnwindSafe for CanTransferOwnership
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