pub struct AccountDungeons(pub Vec<String>);
Expand description
A list of dungeon paths completed since daily reset.
Tuple Fields§
§0: Vec<String>
Implementations§
Source§impl AccountDungeons
impl AccountDungeons
Sourcepub fn get<C>(client: &C) -> C::Resultwhere
C: ClientExecutor<Self>,
pub fn get<C>(client: &C) -> C::Resultwhere
C: ClientExecutor<Self>,
Returns a list of dungeon paths completed by the currently authenticatd account since the daily reset.
§Authentication
This endpoint requires authentication and returns an Error
if no access token is set.
When authenticated it returns a list of dungeon paths completed by the account of the
current access token.
§Examples
let client: Client = Client::builder().access_token(token).into();
let paths = AccountDungeons::get(&client).await?;
Using the blocking
client:
let client: Client = Client::builder().access_token(token).into();
let paths = AccountDungeons::get(&client)?;
Trait Implementations§
Source§impl Clone for AccountDungeons
impl Clone for AccountDungeons
Source§fn clone(&self) -> AccountDungeons
fn clone(&self) -> AccountDungeons
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 moreSource§impl Debug for AccountDungeons
impl Debug for AccountDungeons
Source§impl<'de> Deserialize<'de> for AccountDungeons
impl<'de> Deserialize<'de> for AccountDungeons
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccountDungeons
impl RefUnwindSafe for AccountDungeons
impl Send for AccountDungeons
impl Sync for AccountDungeons
impl Unpin for AccountDungeons
impl UnwindSafe for AccountDungeons
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