#[non_exhaustive]pub struct Geolocation {
pub region_code: String,
/* private fields */
}Expand description
Represents a geographical location for a given access.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.region_code: StringA CLDR.
Implementations§
Source§impl Geolocation
impl Geolocation
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 Message for Geolocation
impl Message for Geolocation
Source§impl PartialEq for Geolocation
impl PartialEq for Geolocation
impl StructuralPartialEq 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