[−][src]Struct gw2rs::prelude::Objective
Objective
s represent capturable or interactable objective points in World vs World maps.
Methods
impl Objective
[src]
impl Objective
pub fn id(&self) -> &ObjectiveId
[src]
pub fn id(&self) -> &ObjectiveId
Returns the Objective identifier used in querying various endpoints.
pub fn name(&self) -> &str
[src]
pub fn name(&self) -> &str
Returns this Objective's localized name, using the language assigned to the API wrapper when this Objective was initialized.
pub fn objective_type(&self) -> ObjectiveType
[src]
pub fn objective_type(&self) -> ObjectiveType
Returns the associated objective "type" of this Objective.
pub fn sector_id(&self) -> u64
[src]
pub fn sector_id(&self) -> u64
Returns the Objective's map sector identification number.
pub fn map_id(&self) -> u64
[src]
pub fn map_id(&self) -> u64
The identification number of the map this Objective is found on.
pub fn map_type(&self) -> WVWMap
[src]
pub fn map_type(&self) -> WVWMap
The world versus world map this Objective is found on.
pub fn coord(&self) -> Option<&[f64]>
[src]
pub fn coord(&self) -> Option<&[f64]>
Optional coordinates of the Objective in the world.
pub fn label_coord(&self) -> &[f64]
[src]
pub fn label_coord(&self) -> &[f64]
Labelled coordinates of the Objective's map sector centroid in the world.
pub fn marker(&self) -> Option<&str>
[src]
pub fn marker(&self) -> Option<&str>
The public URL of the image marker associated with this Objective.
pub fn chat_link(&self) -> &str
[src]
pub fn chat_link(&self) -> &str
The chat link for this Objective.
pub fn upgrade_id(&self) -> Option<u64>
[src]
pub fn upgrade_id(&self) -> Option<u64>
The optional upgrade ID for this Objective.
Trait Implementations
impl PartialEq<Objective> for Objective
[src]
impl PartialEq<Objective> for Objective
fn eq(&self, other: &Objective) -> bool
[src]
fn eq(&self, other: &Objective) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Objective) -> bool
[src]
fn ne(&self, other: &Objective) -> bool
This method tests for !=
.
impl Debug for Objective
[src]
impl Debug for Objective
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for Objective
[src]
impl<'de> Deserialize<'de> for Objective
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
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
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> Erased for T
impl<T> Erased for T
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,