pub enum WhereIsLocation {
Server(ServerLocation),
Local(LocalLocation),
}Variants§
Server(ServerLocation)
Local(LocalLocation)
Trait Implementations§
Source§impl Clone for WhereIsLocation
impl Clone for WhereIsLocation
Source§fn clone(&self) -> WhereIsLocation
fn clone(&self) -> WhereIsLocation
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 WhereIsLocation
impl Debug for WhereIsLocation
Source§impl<'de> Deserialize<'de> for WhereIsLocation
impl<'de> Deserialize<'de> for WhereIsLocation
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 Hash for WhereIsLocation
impl Hash for WhereIsLocation
Source§impl Serialize for WhereIsLocation
impl Serialize for WhereIsLocation
Auto Trait Implementations§
impl Freeze for WhereIsLocation
impl RefUnwindSafe for WhereIsLocation
impl Send for WhereIsLocation
impl Sync for WhereIsLocation
impl Unpin for WhereIsLocation
impl UnwindSafe for WhereIsLocation
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