pub struct DeclaredPlace {
pub id: String,
pub label: String,
pub label_key: String,
pub takes_value: bool,
}Expand description
One place a marker can sit at.
Fields§
§id: StringThe kind of the place’s JSON (MarkerPlace).
label: StringA readable label, in English.
label_key: StringThe key the front end translates for the label (sectionView.markers.place.md).
takes_value: boolWhether the place carries a number (value, in the well’s MD unit).
Trait Implementations§
Source§impl Clone for DeclaredPlace
impl Clone for DeclaredPlace
Source§impl Debug for DeclaredPlace
impl Debug for DeclaredPlace
Source§impl<'de> Deserialize<'de> for DeclaredPlace
impl<'de> Deserialize<'de> for DeclaredPlace
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 DeclaredPlace
impl PartialEq for DeclaredPlace
Source§impl Serialize for DeclaredPlace
impl Serialize for DeclaredPlace
impl StructuralPartialEq for DeclaredPlace
Auto Trait Implementations§
impl Freeze for DeclaredPlace
impl RefUnwindSafe for DeclaredPlace
impl Send for DeclaredPlace
impl Sync for DeclaredPlace
impl Unpin for DeclaredPlace
impl UnsafeUnpin for DeclaredPlace
impl UnwindSafe for DeclaredPlace
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