pub struct Response(/* private fields */);
Implementations§
source§impl Response
impl Response
pub fn basic(&self) -> Result<Basic<'_>>
pub fn profile(&self) -> Result<Profile<'_>>
pub fn discord(&self) -> Result<Discord>
pub fn personal_stats(&self) -> Result<PersonalStats>
pub fn crimes(&self) -> Result<CriminalRecord>
pub fn attacks_full(&self) -> Result<BTreeMap<i32, Attack<'_>>>
pub fn attacks(&self) -> Result<BTreeMap<i32, AttackFull<'_>>>
pub fn icons(&self) -> Result<HashMap<Icon, &str>>
pub fn medals(&self) -> Result<Awards<Medals>>
pub fn honors(&self) -> Result<Awards<Honors>>
Trait Implementations§
source§impl From<ApiResponse> for Response
impl From<ApiResponse> for Response
source§fn from(value: ApiResponse) -> Self
fn from(value: ApiResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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