pub enum AgentType {
desktop,
mobile,
}Expand description
Represents whether an agent is used primarily of the desktop or a mobile device
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentType
impl<'de> Deserialize<'de> for AgentType
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 Ord for AgentType
impl Ord for AgentType
Source§impl PartialOrd for AgentType
impl PartialOrd for AgentType
impl Copy for AgentType
impl Eq for AgentType
impl StructuralPartialEq for AgentType
Auto Trait Implementations§
impl Freeze for AgentType
impl RefUnwindSafe for AgentType
impl Send for AgentType
impl Sync for AgentType
impl Unpin for AgentType
impl UnwindSafe for AgentType
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