pub struct PatchRequest {
    pub log_type: EventLogType,
    pub commit: Option<CommitHash>,
    pub proof: CommitProof,
    pub patch: Vec<EventRecord>,
}Expand description
Request to patch an event log from a specific commit.
Used during auto merge to force push a combined collection of events.
Fields§
§log_type: EventLogTypeType of event log to patch.
commit: Option<CommitHash>Hash of a commit to rewind to before applying the patch.
proof: CommitProofProof for HEAD of the event log before the events are applied.
patch: Vec<EventRecord>Patch of events to apply.
Trait Implementations§
Source§impl Clone for PatchRequest
 
impl Clone for PatchRequest
Source§fn clone(&self) -> PatchRequest
 
fn clone(&self) -> PatchRequest
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 PatchRequest
 
impl Debug for PatchRequest
Source§impl PartialEq for PatchRequest
 
impl PartialEq for PatchRequest
impl Eq for PatchRequest
impl StructuralPartialEq for PatchRequest
Auto Trait Implementations§
impl Freeze for PatchRequest
impl RefUnwindSafe for PatchRequest
impl Send for PatchRequest
impl Sync for PatchRequest
impl Unpin for PatchRequest
impl UnwindSafe for PatchRequest
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§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.