pub struct GeoRegionCode(/* private fields */);Expand description
A compact region code used for discovery or targeting labels.
Implementations§
Source§impl GeoRegionCode
impl GeoRegionCode
Trait Implementations§
Source§impl AsRef<str> for GeoRegionCode
impl AsRef<str> for GeoRegionCode
Source§impl Clone for GeoRegionCode
impl Clone for GeoRegionCode
Source§fn clone(&self) -> GeoRegionCode
fn clone(&self) -> GeoRegionCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GeoRegionCode
impl Debug for GeoRegionCode
Source§impl Display for GeoRegionCode
impl Display for GeoRegionCode
Source§impl FromStr for GeoRegionCode
impl FromStr for GeoRegionCode
Source§impl Hash for GeoRegionCode
impl Hash for GeoRegionCode
Source§impl Ord for GeoRegionCode
impl Ord for GeoRegionCode
Source§fn cmp(&self, other: &GeoRegionCode) -> Ordering
fn cmp(&self, other: &GeoRegionCode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GeoRegionCode
impl PartialEq for GeoRegionCode
Source§fn eq(&self, other: &GeoRegionCode) -> bool
fn eq(&self, other: &GeoRegionCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GeoRegionCode
impl PartialOrd for GeoRegionCode
impl Eq for GeoRegionCode
impl StructuralPartialEq for GeoRegionCode
Auto Trait Implementations§
impl Freeze for GeoRegionCode
impl RefUnwindSafe for GeoRegionCode
impl Send for GeoRegionCode
impl Sync for GeoRegionCode
impl Unpin for GeoRegionCode
impl UnsafeUnpin for GeoRegionCode
impl UnwindSafe for GeoRegionCode
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