Struct rust_tdlib::types::ToggleChatHasProtectedContent
source · [−]pub struct ToggleChatHasProtectedContent { /* private fields */ }
Expand description
Changes the ability of users to save, forward, or copy chat content. Supported only for basic groups, supergroups and channels. Requires owner privileges
Implementations
Trait Implementations
sourceimpl AsRef<ToggleChatHasProtectedContent> for ToggleChatHasProtectedContent
impl AsRef<ToggleChatHasProtectedContent> for ToggleChatHasProtectedContent
sourcefn as_ref(&self) -> &ToggleChatHasProtectedContent
fn as_ref(&self) -> &ToggleChatHasProtectedContent
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ToggleChatHasProtectedContent
impl Clone for ToggleChatHasProtectedContent
sourcefn clone(&self) -> ToggleChatHasProtectedContent
fn clone(&self) -> ToggleChatHasProtectedContent
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 ToggleChatHasProtectedContent
impl Debug for ToggleChatHasProtectedContent
sourceimpl Default for ToggleChatHasProtectedContent
impl Default for ToggleChatHasProtectedContent
sourcefn default() -> ToggleChatHasProtectedContent
fn default() -> ToggleChatHasProtectedContent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ToggleChatHasProtectedContent
impl<'de> Deserialize<'de> for ToggleChatHasProtectedContent
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
Auto Trait Implementations
impl RefUnwindSafe for ToggleChatHasProtectedContent
impl Send for ToggleChatHasProtectedContent
impl Sync for ToggleChatHasProtectedContent
impl Unpin for ToggleChatHasProtectedContent
impl UnwindSafe for ToggleChatHasProtectedContent
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