pub struct Province {
pub coasts: HashSet<String>,
pub is_sea: bool,
}Expand description
Province metadata stored in a Map.
Fields§
§coasts: HashSet<String>§is_sea: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Province
impl<'de> Deserialize<'de> for Province
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 Province
impl RefUnwindSafe for Province
impl Send for Province
impl Sync for Province
impl Unpin for Province
impl UnwindSafe for Province
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