[][src]Struct feattle_core::persist::CurrentValues

pub struct CurrentValues {
    pub version: i32,
    pub date: DateTime<Utc>,
    pub feattles: BTreeMap<String, CurrentValue>,
}

Store the current values of all feature toggles

Fields

version: i32

A monotonically increasing version, that can be used to detect race conditions

date: DateTime<Utc>

When this version was created

feattles: BTreeMap<String, CurrentValue>

Data for each feature. Some features may not be present in this map, since they were never modified. Also, some extra features may be present in this map because they were used in a previous invocation of feattles.

Trait Implementations

impl Clone for CurrentValues[src]

impl Debug for CurrentValues[src]

impl<'de> Deserialize<'de> for CurrentValues[src]

impl Serialize for CurrentValues[src]

Auto Trait Implementations

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: for<'de> Deserialize<'de>, 
[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.