pub struct DomainObjectOsmAddress {
pub api_url: Value,
pub color: Value,
pub domain_identifier: String,
pub image_url: Option<String>,
pub infos: Vec<String>,
pub initials: Option<String>,
pub title: String,
pub domain_attributes: BTreeMap<String, Value>,
pub domain_type: String,
pub frontend_url: Value,
pub icon: String,
pub extra: Map<String, Value>,
}Expand description
OSM Address as Domain Object
Fields§
§api_url: Value§color: ValueOptional display color.
Allowed values: accent, amber, basic, blue, constructive, critical, cyan, destructive, emerald, error, fuchsia, gray, green, indigo, info, lime, magic, orange, pink, purple, red, rose, sky, success, teal, violet, warning, yellow.
domain_identifier: StringOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_url: Option<String>Optional image URL.
infos: Vec<String>§initials: Option<String>§title: StringDisplay title of the referenced object.
domain_attributes: BTreeMap<String, Value>§domain_type: StringAllowed values: osm-address.
frontend_url: Value§icon: String§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for DomainObjectOsmAddress
impl Clone for DomainObjectOsmAddress
Source§impl Debug for DomainObjectOsmAddress
impl Debug for DomainObjectOsmAddress
Source§impl Default for DomainObjectOsmAddress
impl Default for DomainObjectOsmAddress
Source§impl<'de> Deserialize<'de> for DomainObjectOsmAddress
impl<'de> Deserialize<'de> for DomainObjectOsmAddress
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 PartialEq for DomainObjectOsmAddress
impl PartialEq for DomainObjectOsmAddress
Source§impl Serialize for DomainObjectOsmAddress
impl Serialize for DomainObjectOsmAddress
impl StructuralPartialEq for DomainObjectOsmAddress
Auto Trait Implementations§
impl Freeze for DomainObjectOsmAddress
impl RefUnwindSafe for DomainObjectOsmAddress
impl Send for DomainObjectOsmAddress
impl Sync for DomainObjectOsmAddress
impl Unpin for DomainObjectOsmAddress
impl UnsafeUnpin for DomainObjectOsmAddress
impl UnwindSafe for DomainObjectOsmAddress
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