pub struct PatchProposal {
pub proposal_id: String,
pub changes: Vec<FileChange>,
pub unified_diff: String,
}Expand description
A validated, not-yet-applied proposal.
Fields§
§proposal_id: StringOpaque proposal identity.
changes: Vec<FileChange>Structured changes included in the proposal.
unified_diff: StringAuthoritative unified diff generated by the adapter.
Trait Implementations§
Source§impl Clone for PatchProposal
impl Clone for PatchProposal
Source§fn clone(&self) -> PatchProposal
fn clone(&self) -> PatchProposal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PatchProposal
impl Debug for PatchProposal
Auto Trait Implementations§
impl Freeze for PatchProposal
impl RefUnwindSafe for PatchProposal
impl Send for PatchProposal
impl Sync for PatchProposal
impl Unpin for PatchProposal
impl UnsafeUnpin for PatchProposal
impl UnwindSafe for PatchProposal
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