pub struct PointOfInterest {
pub id: PointOfInterestId,
pub name: Option<String>,
pub _type: PointOfInterestType,
pub floor: FloorId,
pub coord: Coordinates,
pub chat_link: String,
pub icon: Option<String>,
}Fields§
§id: PointOfInterestIdThe POI id.
name: Option<String>The POI name, if any.
_type: PointOfInterestTypeThe POI type.
floor: FloorIdThe floor of this POI.
coord: CoordinatesThe POI coordinates.
chat_link: StringThe POI chat link.
icon: Option<String>For Unlock type, provides the render
service url for the POI’s icon.
Trait Implementations§
Source§impl Clone for PointOfInterest
impl Clone for PointOfInterest
Source§fn clone(&self) -> PointOfInterest
fn clone(&self) -> PointOfInterest
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 PointOfInterest
impl Debug for PointOfInterest
Source§impl<'de> Deserialize<'de> for PointOfInterest
impl<'de> Deserialize<'de> for PointOfInterest
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 PointOfInterest
impl RefUnwindSafe for PointOfInterest
impl Send for PointOfInterest
impl Sync for PointOfInterest
impl Unpin for PointOfInterest
impl UnwindSafe for PointOfInterest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more