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