Struct frankenstein::api_params::SetChatPhotoParams
source · pub struct SetChatPhotoParams {
pub chat_id: ChatId,
pub photo: InputFile,
}
Fields§
§chat_id: ChatId
§photo: InputFile
Implementations§
Trait Implementations§
source§impl Clone for SetChatPhotoParams
impl Clone for SetChatPhotoParams
source§fn clone(&self) -> SetChatPhotoParams
fn clone(&self) -> SetChatPhotoParams
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 SetChatPhotoParams
impl Debug for SetChatPhotoParams
source§impl<'de> Deserialize<'de> for SetChatPhotoParams
impl<'de> Deserialize<'de> for SetChatPhotoParams
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 PartialEq for SetChatPhotoParams
impl PartialEq for SetChatPhotoParams
source§fn eq(&self, other: &SetChatPhotoParams) -> bool
fn eq(&self, other: &SetChatPhotoParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetChatPhotoParams
impl Serialize for SetChatPhotoParams
impl Eq for SetChatPhotoParams
impl StructuralPartialEq for SetChatPhotoParams
Auto Trait Implementations§
impl Freeze for SetChatPhotoParams
impl RefUnwindSafe for SetChatPhotoParams
impl Send for SetChatPhotoParams
impl Sync for SetChatPhotoParams
impl Unpin for SetChatPhotoParams
impl UnwindSafe for SetChatPhotoParams
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