pub struct Continent {
pub id: ContinentId,
pub name: String,
pub continent_dims: Dimensions,
pub min_zoom: u8,
pub max_zoom: u8,
pub floors: BTreeSet<ContinentFloorId>,
}Fields§
§id: ContinentIdThe id of the continent.
name: StringThe name of the continent.
continent_dims: DimensionsThe dimensions of the continent.
min_zoom: u8The minimal zoom level for use with the map tile service.
max_zoom: u8The maximum zoom level for use with the map tile service.
floors: BTreeSet<ContinentFloorId>A list of floors ids available for this continent.
Trait Implementations§
Source§impl BulkEndpoint for Continent
impl BulkEndpoint for Continent
Source§impl<'de> Deserialize<'de> for Continent
impl<'de> Deserialize<'de> for Continent
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
Source§impl Endpoint for Continent
impl Endpoint for Continent
Source§const AUTHENTICATED: bool = false
const AUTHENTICATED: bool = false
whether this endpoint requires authentication
Source§impl EndpointWithId for Continent
impl EndpointWithId for Continent
Auto Trait Implementations§
impl Freeze for Continent
impl RefUnwindSafe for Continent
impl Send for Continent
impl Sync for Continent
impl Unpin for Continent
impl UnwindSafe for Continent
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