pub struct PersonLocation {
pub country: Option<String>,
pub state: Option<String>,
pub city: Option<String>,
}
Expand description
Person location information
Fields§
§country: Option<String>
§state: Option<String>
§city: Option<String>
Trait Implementations§
Source§impl Clone for PersonLocation
impl Clone for PersonLocation
Source§fn clone(&self) -> PersonLocation
fn clone(&self) -> PersonLocation
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 PersonLocation
impl Debug for PersonLocation
Source§impl<'de> Deserialize<'de> for PersonLocation
impl<'de> Deserialize<'de> for PersonLocation
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 PersonLocation
impl RefUnwindSafe for PersonLocation
impl Send for PersonLocation
impl Sync for PersonLocation
impl Unpin for PersonLocation
impl UnwindSafe for PersonLocation
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