pub struct Change {
pub source: PathBuf,
pub resource: String,
pub pointer: String,
pub before: Option<Value>,
pub after: Option<Value>,
pub origin: Origin,
}Expand description
One edit to an upstream resource. None means the value is absent.
Fields§
§source: PathBufUpstream file the resource was read from.
resource: StringResourceType/id.
pointer: StringJSON pointer into the resource.
before: Option<Value>§after: Option<Value>§origin: OriginTrait Implementations§
Auto Trait Implementations§
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