Struct telegram_types::bot::methods::GetUserProfilePhotos
source · pub struct GetUserProfilePhotos {
pub user_id: UserId,
pub offset: Option<i32>,
pub limit: Option<i32>,
}
Expand description
To get a list of profile pictures for a user. Returns a UserProfilePhotos
object.
Fields
user_id: UserId
offset: Option<i32>
limit: Option<i32>
Implementations
sourceimpl GetUserProfilePhotos
impl GetUserProfilePhotos
pub fn new(user_id: UserId) -> GetUserProfilePhotos
Trait Implementations
sourceimpl Clone for GetUserProfilePhotos
impl Clone for GetUserProfilePhotos
sourcefn clone(&self) -> GetUserProfilePhotos
fn clone(&self) -> GetUserProfilePhotos
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 moresourceimpl Debug for GetUserProfilePhotos
impl Debug for GetUserProfilePhotos
sourceimpl<'de> Deserialize<'de> for GetUserProfilePhotos
impl<'de> Deserialize<'de> for GetUserProfilePhotos
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 PartialEq<GetUserProfilePhotos> for GetUserProfilePhotos
impl PartialEq<GetUserProfilePhotos> for GetUserProfilePhotos
sourcefn eq(&self, other: &GetUserProfilePhotos) -> bool
fn eq(&self, other: &GetUserProfilePhotos) -> bool
sourceimpl Serialize for GetUserProfilePhotos
impl Serialize for GetUserProfilePhotos
impl Eq for GetUserProfilePhotos
impl StructuralEq for GetUserProfilePhotos
impl StructuralPartialEq for GetUserProfilePhotos
Auto Trait Implementations
impl RefUnwindSafe for GetUserProfilePhotos
impl Send for GetUserProfilePhotos
impl Sync for GetUserProfilePhotos
impl Unpin for GetUserProfilePhotos
impl UnwindSafe for GetUserProfilePhotos
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