Struct feattle::persist::CurrentValues [−][src]
pub struct CurrentValues {
pub version: i32,
pub date: DateTime<Utc>,
pub feattles: BTreeMap<String, CurrentValue>,
}
Expand description
Store the current values of all feattles
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 feattle. Some feattles may not be present in this map, since they were never modified. Also, some extra feattles may be present in this map because they were used in a previous invocation of feattles.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CurrentValues, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CurrentValues, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CurrentValues
impl Send for CurrentValues
impl Sync for CurrentValues
impl Unpin for CurrentValues
impl UnwindSafe for CurrentValues
Blanket Implementations
Mutably borrows from an owned value. Read more