Struct telegram_types::bot::types::PhotoSize
source · pub struct PhotoSize {
pub file_id: FileId,
pub width: i32,
pub height: i32,
pub file_size: Option<i32>,
}
Fields
file_id: FileId
Unique identifier for this file
width: i32
height: i32
file_size: Option<i32>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for PhotoSize
impl<'de> Deserialize<'de> for PhotoSize
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
impl Eq for PhotoSize
impl StructuralEq for PhotoSize
impl StructuralPartialEq for PhotoSize
Auto Trait Implementations
impl RefUnwindSafe for PhotoSize
impl Send for PhotoSize
impl Sync for PhotoSize
impl Unpin for PhotoSize
impl UnwindSafe for PhotoSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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