Struct feattle::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
sourceimpl Clone for CurrentValue
impl Clone for CurrentValue
sourcefn clone(&self) -> CurrentValue
fn clone(&self) -> CurrentValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CurrentValue
impl Debug for CurrentValue
sourceimpl<'de> Deserialize<'de> for CurrentValue
impl<'de> Deserialize<'de> for CurrentValue
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CurrentValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CurrentValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CurrentValue> for CurrentValue
impl PartialEq<CurrentValue> for CurrentValue
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CurrentValue) -> bool
fn ne(&self, other: &CurrentValue) -> bool
This method tests for !=
.
sourceimpl Serialize for CurrentValue
impl Serialize for CurrentValue
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more