Struct frankenstein::objects::ChatPhoto
source · [−]pub struct ChatPhoto {
pub small_file_id: String,
pub small_file_unique_id: String,
pub big_file_id: String,
pub big_file_unique_id: String,
}
Fields
small_file_id: String
small_file_unique_id: String
big_file_id: String
big_file_unique_id: String
Implementations
sourceimpl ChatPhoto
impl ChatPhoto
sourcepub fn builder() -> ChatPhotoBuilder<((), (), (), ())>
pub fn builder() -> ChatPhotoBuilder<((), (), (), ())>
Create a builder for building ChatPhoto
.
On the builder, call .small_file_id(...)
, .small_file_unique_id(...)
, .big_file_id(...)
, .big_file_unique_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ChatPhoto
.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ChatPhoto
impl<'de> Deserialize<'de> for ChatPhoto
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 StructuralPartialEq for ChatPhoto
Auto Trait Implementations
impl RefUnwindSafe for ChatPhoto
impl Send for ChatPhoto
impl Sync for ChatPhoto
impl Unpin for ChatPhoto
impl UnwindSafe for ChatPhoto
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