pub struct SimulationChange {
pub commit_oid: Oid,
pub short_hash: String,
pub original_author: String,
pub original_email: String,
pub original_timestamp: NaiveDateTime,
pub original_message: String,
pub new_author: Option<String>,
pub new_email: Option<String>,
pub new_timestamp: Option<NaiveDateTime>,
pub new_message: Option<String>,
}Fields§
§commit_oid: Oid§short_hash: String§original_email: String§original_timestamp: NaiveDateTime§original_message: String§new_email: Option<String>§new_timestamp: Option<NaiveDateTime>§new_message: Option<String>Implementations§
Source§impl SimulationChange
impl SimulationChange
pub fn has_changes(&self) -> bool
pub fn get_change_summary(&self) -> Vec<String>
Trait Implementations§
Source§impl Clone for SimulationChange
impl Clone for SimulationChange
Source§fn clone(&self) -> SimulationChange
fn clone(&self) -> SimulationChange
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 moreAuto Trait Implementations§
impl Freeze for SimulationChange
impl RefUnwindSafe for SimulationChange
impl Send for SimulationChange
impl Sync for SimulationChange
impl Unpin for SimulationChange
impl UnwindSafe for SimulationChange
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