pub struct Patch<'doc> {
pub route: Route<'doc>,
pub operation: Op<'doc>,
}Expand description
Represents a single YAML patch.
A patch operation consists of a route to the feature to patch and the operation to perform on that feature.
Fields§
§route: Route<'doc>The route to the feature to patch.
operation: Op<'doc>The operation to perform on the feature.
Trait Implementations§
Auto Trait Implementations§
impl<'doc> Freeze for Patch<'doc>
impl<'doc> RefUnwindSafe for Patch<'doc>
impl<'doc> Send for Patch<'doc>
impl<'doc> Sync for Patch<'doc>
impl<'doc> Unpin for Patch<'doc>
impl<'doc> UnwindSafe for Patch<'doc>
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