#[non_exhaustive]pub struct MutationRecord {
    pub mutate_time: Option<Timestamp>,
    pub mutated_by: String,
}Expand description
Describes a change made to a configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mutate_time: Option<Timestamp>When the change occurred.
mutated_by: StringThe email address of the user making the change.
Implementations§
Source§impl MutationRecord
 
impl MutationRecord
Sourcepub fn set_mutate_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
 
pub fn set_mutate_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of mutate_time.
Sourcepub fn set_mutated_by<T: Into<String>>(self, v: T) -> Self
 
pub fn set_mutated_by<T: Into<String>>(self, v: T) -> Self
Sets the value of mutated_by.
Trait Implementations§
Source§impl Clone for MutationRecord
 
impl Clone for MutationRecord
Source§fn clone(&self) -> MutationRecord
 
fn clone(&self) -> MutationRecord
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 MutationRecord
 
impl Debug for MutationRecord
Source§impl Default for MutationRecord
 
impl Default for MutationRecord
Source§fn default() -> MutationRecord
 
fn default() -> MutationRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MutationRecordwhere
    MutationRecord: Default,
 
impl<'de> Deserialize<'de> for MutationRecordwhere
    MutationRecord: Default,
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 Message for MutationRecord
 
impl Message for MutationRecord
Source§impl PartialEq for MutationRecord
 
impl PartialEq for MutationRecord
Source§impl Serialize for MutationRecord
 
impl Serialize for MutationRecord
impl StructuralPartialEq for MutationRecord
Auto Trait Implementations§
impl Freeze for MutationRecord
impl RefUnwindSafe for MutationRecord
impl Send for MutationRecord
impl Sync for MutationRecord
impl Unpin for MutationRecord
impl UnwindSafe for MutationRecord
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