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 more