Struct rtdlib::types::SetProfilePhoto [−][src]
pub struct SetProfilePhoto { /* fields omitted */ }
Expand description
Uploads a new profile photo for the current user. If something changes, updateUser will be sent
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for SetProfilePhoto
impl Send for SetProfilePhoto
impl Sync for SetProfilePhoto
impl Unpin for SetProfilePhoto
impl UnwindSafe for SetProfilePhoto
Blanket Implementations
Mutably borrows from an owned value. Read more