Struct rust_tdlib::types::CanTransferOwnership
source · [−]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
sourceimpl AsRef<CanTransferOwnership> for CanTransferOwnership
impl AsRef<CanTransferOwnership> for CanTransferOwnership
sourcefn as_ref(&self) -> &CanTransferOwnership
fn as_ref(&self) -> &CanTransferOwnership
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for CanTransferOwnership
impl Clone for CanTransferOwnership
sourcefn clone(&self) -> CanTransferOwnership
fn clone(&self) -> CanTransferOwnership
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CanTransferOwnership
impl Debug for CanTransferOwnership
sourceimpl Default for CanTransferOwnership
impl Default for CanTransferOwnership
sourcefn default() -> CanTransferOwnership
fn default() -> CanTransferOwnership
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CanTransferOwnership
impl<'de> Deserialize<'de> for CanTransferOwnership
sourcefn 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
sourceimpl Serialize for CanTransferOwnership
impl Serialize for CanTransferOwnership
impl TDCanTransferOwnershipResult for CanTransferOwnership
Auto Trait Implementations
impl RefUnwindSafe for CanTransferOwnership
impl Send for CanTransferOwnership
impl Sync for CanTransferOwnership
impl Unpin for CanTransferOwnership
impl UnwindSafe for CanTransferOwnership
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more