#[non_exhaustive]pub struct FriendsPage {
pub friends: Vec<FriendProfile>,
pub total: u32,
pub page: u32,
pub total_pages: u32,
pub per_page: u32,
}Expand description
Paginated response from user.getFriends
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.friends: Vec<FriendProfile>The friends on this page
total: u32Total number of friends
page: u32Current page number (1-indexed)
total_pages: u32Total number of pages
per_page: u32Number of results per page
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FriendsPage
impl RefUnwindSafe for FriendsPage
impl Send for FriendsPage
impl Sync for FriendsPage
impl Unpin for FriendsPage
impl UnsafeUnpin for FriendsPage
impl UnwindSafe for FriendsPage
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