Enum primitives::targeting::input::Get
source · pub enum Get<G, V> {
Getter(G),
Value(V),
}
Variants
Getter(G)
We don’t want to deserialize a Getter, we only deserialize Values
This will ensure that we only use a Map of values with Get::Value
when we deserialize
Value(V)
Trait Implementations
sourceimpl<'de, G, V> Deserialize<'de> for Get<G, V>where
V: Deserialize<'de>,
impl<'de, G, V> Deserialize<'de> for Get<G, V>where
V: Deserialize<'de>,
sourcefn 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
sourceimpl GetField for Get<FullCampaign, Values>
impl GetField for Get<FullCampaign, Values>
sourceimpl<G: PartialEq, V: PartialEq> PartialEq<Get<G, V>> for Get<G, V>
impl<G: PartialEq, V: PartialEq> PartialEq<Get<G, V>> for Get<G, V>
impl<G: Eq, V: Eq> Eq for Get<G, V>
impl<G, V> StructuralEq for Get<G, V>
impl<G, V> StructuralPartialEq for Get<G, V>
Auto Trait Implementations
impl<G, V> RefUnwindSafe for Get<G, V>where
G: RefUnwindSafe,
V: RefUnwindSafe,
impl<G, V> Send for Get<G, V>where
G: Send,
V: Send,
impl<G, V> Sync for Get<G, V>where
G: Sync,
V: Sync,
impl<G, V> Unpin for Get<G, V>where
G: Unpin,
V: Unpin,
impl<G, V> UnwindSafe for Get<G, V>where
G: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more