#[non_exhaustive]pub struct FriendProfile {
pub name: String,
pub real_name: String,
pub url: String,
pub country: String,
pub subscriber: bool,
pub images: Vec<TrackImage>,
pub registered: u32,
}Expand description
Profile information for a Last.fm friend.
Returned by 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.name: StringLast.fm username
real_name: StringReal name as set by the user
url: StringLast.fm profile URL
country: StringCountry
subscriber: boolWhether the user has a Last.fm Pro subscription
images: Vec<TrackImage>Profile images in various sizes
registered: u32Account registration date as a Unix timestamp
Trait Implementations§
Source§impl Clone for FriendProfile
impl Clone for FriendProfile
Source§fn clone(&self) -> FriendProfile
fn clone(&self) -> FriendProfile
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 moreAuto Trait Implementations§
impl Freeze for FriendProfile
impl RefUnwindSafe for FriendProfile
impl Send for FriendProfile
impl Sync for FriendProfile
impl Unpin for FriendProfile
impl UnsafeUnpin for FriendProfile
impl UnwindSafe for FriendProfile
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