pub struct Geolocation {
pub region_code: Option<String>,
}Expand description
Represents a geographical location for a given access.
This type is not used in any activity, and only used as part of another schema.
Fields§
§region_code: Option<String>A CLDR.
Trait Implementations§
Source§impl Clone for Geolocation
impl Clone for Geolocation
Source§fn clone(&self) -> Geolocation
fn clone(&self) -> Geolocation
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 Geolocation
impl Debug for Geolocation
Source§impl Default for Geolocation
impl Default for Geolocation
Source§fn default() -> Geolocation
fn default() -> Geolocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Geolocation
impl<'de> Deserialize<'de> for Geolocation
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 Serialize for Geolocation
impl Serialize for Geolocation
impl Part for Geolocation
Auto Trait Implementations§
impl Freeze for Geolocation
impl RefUnwindSafe for Geolocation
impl Send for Geolocation
impl Sync for Geolocation
impl Unpin for Geolocation
impl UnwindSafe for Geolocation
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