pub struct Map {Show 13 fields
pub id: MapId,
pub name: String,
pub min_level: u8,
pub max_level: u8,
pub default_floor: FloorId,
pub _type: MapType,
pub floors: BTreeSet<FloorId>,
pub region_id: Option<RegionId>,
pub region_name: Option<String>,
pub continent_id: Option<ContinentId>,
pub continent_name: Option<String>,
pub map_rect: MapRectangle,
pub continent_rect: ContinentRectangle,
}Fields§
§id: MapIdThe map id.
name: StringThe map name.
min_level: u8The minimum level on this map.
max_level: u8The maximum level on this map.
default_floor: FloorIdThe default floor of the map.
_type: MapTypeThe map type.
floors: BTreeSet<FloorId>The list of available floors for the map.
region_id: Option<RegionId>The id of the region this map belongs to, if any.
region_name: Option<String>The name of the region this map belongs to, if any.
continent_id: Option<ContinentId>The id of the continent this map belongs to, if any.
continent_name: Option<String>The name of the continent this map belongs to, if any.
map_rect: MapRectangleThe dimensions of the map.
continent_rect: ContinentRectangleThe dimensions of the map within the continent coordinate system.
Trait Implementations§
Source§impl BulkEndpoint for Map
impl BulkEndpoint for Map
Source§impl<'de> Deserialize<'de> for Map
impl<'de> Deserialize<'de> for Map
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 Map
impl Endpoint for Map
Source§const AUTHENTICATED: bool = false
const AUTHENTICATED: bool = false
whether this endpoint requires authentication
Source§impl EndpointWithId for Map
impl EndpointWithId for Map
Auto Trait Implementations§
impl Freeze for Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
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