pub struct PatchApplyBeginEvent {
pub call_id: String,
pub auto_approved: bool,
pub changes: HashMap<PathBuf, FileChange>,
}
Fields§
§call_id: String
Identifier so this can be paired with the PatchApplyEnd event.
auto_approved: bool
If true, there was no ApplyPatchApprovalRequest for this patch.
changes: HashMap<PathBuf, FileChange>
The changes to be applied.
Trait Implementations§
Source§impl Clone for PatchApplyBeginEvent
impl Clone for PatchApplyBeginEvent
Source§fn clone(&self) -> PatchApplyBeginEvent
fn clone(&self) -> PatchApplyBeginEvent
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 PatchApplyBeginEvent
impl Debug for PatchApplyBeginEvent
Source§impl<'de> Deserialize<'de> for PatchApplyBeginEvent
impl<'de> Deserialize<'de> for PatchApplyBeginEvent
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 PatchApplyBeginEvent
impl RefUnwindSafe for PatchApplyBeginEvent
impl Send for PatchApplyBeginEvent
impl Sync for PatchApplyBeginEvent
impl Unpin for PatchApplyBeginEvent
impl UnwindSafe for PatchApplyBeginEvent
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