[][src]Enum vega_lite_3::RemovableValue

pub enum RemovableValue<T: Clone> {
    Default,
    Remove,
    Specified(T),
}

Wrapper for a field that can be either the default value, null or specified

Variants

Default

The default value for this field

Remove

This field should be removed

Specified(T)

This field should have the specified value

Trait Implementations

impl<T: Clone> Clone for RemovableValue<T>[src]

impl<T: Debug + Clone> Debug for RemovableValue<T>[src]

impl<T: Clone> Default for RemovableValue<T>[src]

impl<'de, T> Deserialize<'de> for RemovableValue<T> where
    T: Deserialize<'de> + Clone
[src]

impl<'_, T> From<&'_ [T]> for RemovableValue<UrlData> where
    T: Serialize
[src]

impl<'_, T> From<&'_ Vec<T>> for RemovableValue<UrlData> where
    T: Serialize
[src]

impl<'_> From<&'_ str> for RemovableValue<String>[src]

impl<A, D, S> From<ArrayBase<S, D>> for RemovableValue<UrlData> where
    A: Serialize,
    D: Dimension,
    S: Data<Elem = A>, 
[src]

impl From<DefWithConditionTextFieldDefValue> for RemovableValue<Tooltip>[src]

impl From<EncodingSortField> for RemovableValue<Sort>[src]

impl<R> From<Reader<R>> for RemovableValue<UrlData> where
    R: Read
[src]

impl From<SortOrder> for RemovableValue<Sort>[src]

impl From<String> for RemovableValue<TooltipUnion>[src]

impl<T: Clone> From<T> for RemovableValue<T>[src]

impl From<TooltipContent> for RemovableValue<TooltipUnion>[src]

impl From<Vec<SelectionInitIntervalElement>> for RemovableValue<Sort>[src]

impl From<Vec<TextFieldDef>> for RemovableValue<Tooltip>[src]

impl From<bool> for RemovableValue<TooltipUnion>[src]

impl From<f64> for RemovableValue<TooltipUnion>[src]

impl<T> Serialize for RemovableValue<T> where
    T: Serialize + Clone
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for RemovableValue<T> where
    T: RefUnwindSafe

impl<T> Send for RemovableValue<T> where
    T: Send

impl<T> Sync for RemovableValue<T> where
    T: Sync

impl<T> Unpin for RemovableValue<T> where
    T: Unpin

impl<T> UnwindSafe for RemovableValue<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.