pub struct Change {
pub key: String,
pub subject: String,
pub ours: Did,
pub theirs: Did,
pub ours_commit: Option<ObjectId>,
pub theirs_commit: Option<ObjectId>,
pub paths: Vec<String>,
}Expand description
One commit, as both sides have it.
Fields§
§key: StringThe change id, or patch:<patch id> for a commit without one.
subject: StringIts subject line (the newest version’s).
ours: DidWhat we did to it.
theirs: DidWhat they did to it.
ours_commit: Option<ObjectId>Our version’s commit, if we have one.
theirs_commit: Option<ObjectId>Their version’s commit, if they have one.
paths: Vec<String>The paths its versions change.
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Forget for Change
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.