pub struct SpecChange {
pub id: String,
pub spec_id: String,
pub timestamp: DateTime<Utc>,
pub author: Option<String>,
pub rationale: String,
pub changes: Vec<ChangeDetail>,
}Expand description
A change to a spec
Fields§
§id: StringChange identifier
spec_id: StringSpec that was changed
timestamp: DateTime<Utc>When the change was made
Who made the change
rationale: StringWhy the change was made
changes: Vec<ChangeDetail>Details of the changes
Trait Implementations§
Source§impl Clone for SpecChange
impl Clone for SpecChange
Source§fn clone(&self) -> SpecChange
fn clone(&self) -> SpecChange
Returns a duplicate 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 SpecChange
impl Debug for SpecChange
Source§impl<'de> Deserialize<'de> for SpecChange
impl<'de> Deserialize<'de> for SpecChange
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
Auto Trait Implementations§
impl Freeze for SpecChange
impl RefUnwindSafe for SpecChange
impl Send for SpecChange
impl Sync for SpecChange
impl Unpin for SpecChange
impl UnwindSafe for SpecChange
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