pub struct BasicLocation {
pub country_code: Option<String>,
pub postal_code: Option<String>,
}
Fields§
§country_code: Option<String>
§postal_code: Option<String>
Trait Implementations§
Source§impl Clone for BasicLocation
impl Clone for BasicLocation
Source§fn clone(&self) -> BasicLocation
fn clone(&self) -> BasicLocation
Returns a duplicate of the value. Read more
1.0.0 · 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 BasicLocation
impl Debug for BasicLocation
Source§impl Default for BasicLocation
impl Default for BasicLocation
Source§fn default() -> BasicLocation
fn default() -> BasicLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasicLocation
impl<'de> Deserialize<'de> for BasicLocation
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 BasicLocation
impl RefUnwindSafe for BasicLocation
impl Send for BasicLocation
impl Sync for BasicLocation
impl Unpin for BasicLocation
impl UnwindSafe for BasicLocation
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