pub struct TileResponse {
pub data: Vec<u8>,
pub content_type: Option<String>,
}Expand description
Simplified tile response from the core trait.
Fields§
§data: Vec<u8>§content_type: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for TileResponse
impl Clone for TileResponse
Source§fn clone(&self) -> TileResponse
fn clone(&self) -> TileResponse
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 moreAuto Trait Implementations§
impl Freeze for TileResponse
impl RefUnwindSafe for TileResponse
impl Send for TileResponse
impl Sync for TileResponse
impl Unpin for TileResponse
impl UnsafeUnpin for TileResponse
impl UnwindSafe for TileResponse
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