pub enum Host {
Show 17 variants
Fr,
Es,
Lu,
Nl,
Lt,
De,
At,
It,
Uk,
Pt,
Com,
Cz,
Sk,
Pl,
Se,
Ro,
Hu,
}
Variants§
Implementations§
source§impl Host
impl Host
sourcepub fn is_euro_host(&self) -> bool
pub fn is_euro_host(&self) -> bool
Returns true if a Host has the Euro as the currency
sourcepub fn random_euro_host() -> Self
pub fn random_euro_host() -> Self
Returns a Host that has Euro as currency
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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