pub struct Response(/* private fields */);
Implementations§
source§impl Response
impl Response
pub fn competition(&self) -> Result<Option<Competition>>
pub fn territory_wars(&self) -> Result<HashMap<String, TerritoryWar>>
pub fn rackets(&self) -> Result<HashMap<String, Racket>>
pub fn territory(&self) -> Result<HashMap<String, Territory>>
pub fn territory_war_report(&self) -> Result<TerritoryWarReport>
Trait Implementations§
source§impl ApiCategoryResponse for Response
impl ApiCategoryResponse for Response
type Selection = TornSelection
fn from_response(response: ApiResponse) -> Self
Auto Trait Implementations§
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