pub struct GetUserProfilePhotos {
pub user_id: i64,
pub offset: Option<i64>,
pub limit: Option<i64>,
}
Expand description
Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
Fields§
§user_id: i64
Unique identifier of the target user
offset: Option<i64>
Sequential number of the first photo to be returned. By default, all photos are returned.
limit: Option<i64>
Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.
Implementations§
Trait Implementations§
Source§impl Clone for GetUserProfilePhotos
impl Clone for GetUserProfilePhotos
Source§fn clone(&self) -> GetUserProfilePhotos
fn clone(&self) -> GetUserProfilePhotos
Returns a duplicate 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 GetUserProfilePhotos
impl Debug for GetUserProfilePhotos
Source§impl<'de> Deserialize<'de> for GetUserProfilePhotos
impl<'de> Deserialize<'de> for GetUserProfilePhotos
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 Methods for GetUserProfilePhotos
impl Methods for GetUserProfilePhotos
Auto Trait Implementations§
impl Freeze for GetUserProfilePhotos
impl RefUnwindSafe for GetUserProfilePhotos
impl Send for GetUserProfilePhotos
impl Sync for GetUserProfilePhotos
impl Unpin for GetUserProfilePhotos
impl UnwindSafe for GetUserProfilePhotos
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