pub struct MapkyAppCollection {
pub name: String,
pub description: Option<String>,
pub items: Vec<String>,
pub image_uri: Option<String>,
pub color: Option<String>,
}Expand description
Named list of places. URI: /pub/mapky.app/collections/:collection_id
Fields§
§name: String§description: Option<String>§items: Vec<String>§image_uri: Option<String>§color: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MapkyAppCollection
impl Clone for MapkyAppCollection
Source§fn clone(&self) -> MapkyAppCollection
fn clone(&self) -> MapkyAppCollection
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 MapkyAppCollection
impl Debug for MapkyAppCollection
Source§impl Default for MapkyAppCollection
impl Default for MapkyAppCollection
Source§fn default() -> MapkyAppCollection
fn default() -> MapkyAppCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MapkyAppCollection
impl<'de> Deserialize<'de> for MapkyAppCollection
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 HasIdPath for MapkyAppCollection
impl HasIdPath for MapkyAppCollection
const PATH_SEGMENT: &'static str = "collections/"
fn create_path(id: &str) -> String
Source§impl Serialize for MapkyAppCollection
impl Serialize for MapkyAppCollection
Source§impl TimestampId for MapkyAppCollection
impl TimestampId for MapkyAppCollection
Auto Trait Implementations§
impl Freeze for MapkyAppCollection
impl RefUnwindSafe for MapkyAppCollection
impl Send for MapkyAppCollection
impl Sync for MapkyAppCollection
impl Unpin for MapkyAppCollection
impl UnsafeUnpin for MapkyAppCollection
impl UnwindSafe for MapkyAppCollection
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