pub struct TileMetadata {
pub coord: TileCoordinate,
pub size_bytes: usize,
pub format: TileFormat,
pub created_at: Option<DateTime<Utc>>,
pub modified_at: Option<DateTime<Utc>>,
pub bbox: Option<BoundingBox>,
pub metadata: HashMap<String, String>,
}Expand description
Tile metadata.
Fields§
§coord: TileCoordinateTile coordinate
size_bytes: usizeSize in bytes
format: TileFormatFormat
created_at: Option<DateTime<Utc>>Creation timestamp
modified_at: Option<DateTime<Utc>>Last modified timestamp
bbox: Option<BoundingBox>Bounding box
metadata: HashMap<String, String>Additional metadata
Trait Implementations§
Source§impl Clone for TileMetadata
impl Clone for TileMetadata
Source§fn clone(&self) -> TileMetadata
fn clone(&self) -> TileMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TileMetadata
impl Debug for TileMetadata
Source§impl<'de> Deserialize<'de> for TileMetadata
impl<'de> Deserialize<'de> for TileMetadata
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 TileMetadata
impl RefUnwindSafe for TileMetadata
impl Send for TileMetadata
impl Sync for TileMetadata
impl Unpin for TileMetadata
impl UnsafeUnpin for TileMetadata
impl UnwindSafe for TileMetadata
Blanket Implementations§
impl<T> Allocation for T
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