pub struct Province {
pub code: String,
pub name: String,
}Expand description
A state/province/region.
Fields§
§code: String§name: StringTrait 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 UnsafeUnpin 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