Struct feattle_core::persist::CurrentValue
source · pub struct CurrentValue {
pub modified_at: DateTime<Utc>,
pub modified_by: String,
pub value: Value,
}
Expand description
Store the current value of a single featttle
Fields§
§modified_at: DateTime<Utc>
When this modification was made
modified_by: String
Who did that modification
value: Value
The value, expressed in JSON
Trait Implementations§
source§impl Clone for CurrentValue
impl Clone for CurrentValue
source§fn clone(&self) -> CurrentValue
fn clone(&self) -> CurrentValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CurrentValue
impl Debug for CurrentValue
source§impl<'de> Deserialize<'de> for CurrentValue
impl<'de> Deserialize<'de> for CurrentValue
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 PartialEq<CurrentValue> for CurrentValue
impl PartialEq<CurrentValue> for CurrentValue
source§fn eq(&self, other: &CurrentValue) -> bool
fn eq(&self, other: &CurrentValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CurrentValue
impl Serialize for CurrentValue
impl Eq for CurrentValue
impl StructuralEq for CurrentValue
impl StructuralPartialEq for CurrentValue
Auto Trait Implementations§
impl RefUnwindSafe for CurrentValue
impl Send for CurrentValue
impl Sync for CurrentValue
impl Unpin for CurrentValue
impl UnwindSafe for CurrentValue
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