pub struct MapServiceMetadata { /* private fields */ }Expand description
Map service metadata.
Implementations§
Source§impl MapServiceMetadata
Auto-generated by derive_getters::Getters.
impl MapServiceMetadata
Auto-generated by derive_getters::Getters.
Sourcepub fn service_name(&self) -> &Option<String>
pub fn service_name(&self) -> &Option<String>
Service name.
Sourcepub fn description(&self) -> &Option<String>
pub fn description(&self) -> &Option<String>
Service description.
Sourcepub fn capabilities(&self) -> &Option<String>
pub fn capabilities(&self) -> &Option<String>
Service capabilities.
Sourcepub fn supported_image_format_types(&self) -> &Option<String>
pub fn supported_image_format_types(&self) -> &Option<String>
Supported image formats.
Sourcepub fn layers(&self) -> &Vec<ServiceLayer>
pub fn layers(&self) -> &Vec<ServiceLayer>
Layers in the service.
Sourcepub fn spatial_reference(&self) -> &Option<SpatialReference>
pub fn spatial_reference(&self) -> &Option<SpatialReference>
Spatial reference.
Sourcepub fn initial_extent(&self) -> &Option<ExportExtent>
pub fn initial_extent(&self) -> &Option<ExportExtent>
Initial extent.
Sourcepub fn full_extent(&self) -> &Option<ExportExtent>
pub fn full_extent(&self) -> &Option<ExportExtent>
Full extent.
Sourcepub fn single_fused_map_cache(&self) -> &Option<bool>
pub fn single_fused_map_cache(&self) -> &Option<bool>
Whether this is a single fused map cache (cached basemap).
Source§impl MapServiceMetadata
impl MapServiceMetadata
Sourcepub fn supports_identify(&self) -> bool
pub fn supports_identify(&self) -> bool
Checks if the service supports the identify operation.
Identify requires the “Query” capability and is not supported on cached basemaps.
Sourcepub fn supports_find(&self) -> bool
pub fn supports_find(&self) -> bool
Checks if the service supports the find operation.
Find requires the “Query” capability and is not supported on cached basemaps.
Sourcepub fn supports_legend(&self) -> bool
pub fn supports_legend(&self) -> bool
Checks if the service supports the legend operation.
Most services support legend retrieval, but cached basemaps may not.
Sourcepub fn supports_export(&self) -> bool
pub fn supports_export(&self) -> bool
Checks if the service supports map export.
Map export requires the “Map” capability.
Sourcepub fn is_cached(&self) -> bool
pub fn is_cached(&self) -> bool
Checks if the service is a cached basemap (single fused map cache).
Cached basemaps only support tile/image export, not dynamic queries.
Sourcepub fn supports_capability(&self, capability: &str) -> bool
pub fn supports_capability(&self, capability: &str) -> bool
Checks if the service has a specific capability.
§Arguments
capability- The capability name to check (e.g., “Map”, “Query”, “Data”)
Trait Implementations§
Source§impl Clone for MapServiceMetadata
impl Clone for MapServiceMetadata
Source§fn clone(&self) -> MapServiceMetadata
fn clone(&self) -> MapServiceMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MapServiceMetadata
impl Debug for MapServiceMetadata
Source§impl<'de> Deserialize<'de> for MapServiceMetadata
impl<'de> Deserialize<'de> for MapServiceMetadata
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>,
Source§impl PartialEq for MapServiceMetadata
impl PartialEq for MapServiceMetadata
Source§impl Serialize for MapServiceMetadata
impl Serialize for MapServiceMetadata
impl StructuralPartialEq for MapServiceMetadata
Auto Trait Implementations§
impl Freeze for MapServiceMetadata
impl RefUnwindSafe for MapServiceMetadata
impl Send for MapServiceMetadata
impl Sync for MapServiceMetadata
impl Unpin for MapServiceMetadata
impl UnwindSafe for MapServiceMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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