pub struct Profile {
pub id: u64,
pub username: Box<str>,
pub name: Option<Box<str>>,
pub country: Option<Box<str>>,
pub level: Option<u32>,
pub event_count: Option<u32>,
pub created_at: Option<Box<str>>,
}Expand description
Public profile fields HackerRank exposes without an authenticated session
Fields§
§id: u64§username: Box<str>§name: Option<Box<str>>§country: Option<Box<str>>§level: Option<u32>§event_count: Option<u32>§created_at: Option<Box<str>>Trait Implementations§
impl Eq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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