pub enum Region {
Australia(Australia),
Belgium(Belgium),
Denmark(Denmark),
Italy(Italy),
Netherlands(Netherlands),
UnitedKingdom(UnitedKingdom),
UnitedStates(UnitedStates),
Unknown(String),
}Variants§
Australia(Australia)
Australia.
Belgium(Belgium)
Belgium.
Denmark(Denmark)
Denmark.
Italy(Italy)
Italy.
Netherlands(Netherlands)
Netherlands.
UnitedKingdom(UnitedKingdom)
United Kingdom.
UnitedStates(UnitedStates)
United States.
Unknown(String)
Unknown region.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Region
impl<'de> Deserialize<'de> for Region
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 From<Netherlands> for Region
impl From<Netherlands> for Region
Source§fn from(region: Netherlands) -> Self
fn from(region: Netherlands) -> Self
Converts to this type from the input type.
Source§impl From<UnitedKingdom> for Region
impl From<UnitedKingdom> for Region
Source§fn from(region: UnitedKingdom) -> Self
fn from(region: UnitedKingdom) -> Self
Converts to this type from the input type.
Source§impl From<UnitedStates> for Region
impl From<UnitedStates> for Region
Source§fn from(region: UnitedStates) -> Self
fn from(region: UnitedStates) -> Self
Converts to this type from the input type.
impl Eq for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.