pub struct CallGetUserProfilePhotos<'a> { /* private fields */ }Implementations§
Source§impl<'a> CallGetUserProfilePhotos<'a>
impl<'a> CallGetUserProfilePhotos<'a>
pub fn get_user_id(&'a self) -> &'a i64
Sourcepub fn offset(self, offset: i64) -> Self
pub fn offset(self, offset: i64) -> Self
Sequential number of the first photo to be returned. By default, all photos are returned.
pub fn get_offset(&'a self) -> &'a Option<i64>
Sourcepub fn limit(self, limit: i64) -> Self
pub fn limit(self, limit: i64) -> Self
Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.
pub fn get_limit(&'a self) -> &'a Option<i64>
pub async fn build(self) -> BotResult<UserProfilePhotos>
Auto Trait Implementations§
impl<'a> Freeze for CallGetUserProfilePhotos<'a>
impl<'a> !RefUnwindSafe for CallGetUserProfilePhotos<'a>
impl<'a> Send for CallGetUserProfilePhotos<'a>
impl<'a> Sync for CallGetUserProfilePhotos<'a>
impl<'a> Unpin for CallGetUserProfilePhotos<'a>
impl<'a> UnsafeUnpin for CallGetUserProfilePhotos<'a>
impl<'a> !UnwindSafe for CallGetUserProfilePhotos<'a>
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