pub struct OcpiPatch<T>(pub Patch<T>);Available on crate feature
server only.Expand description
A JSON Merge Patch body.
Refuses a patch with no last_updated, which is the specification’s own example of a 2001.
Tuple Fields§
§0: Patch<T>Trait Implementations§
Source§impl<T, S> FromRequest<S> for OcpiPatch<T>where
T: Send,
S: ContentTypePolicy,
impl<T, S> FromRequest<S> for OcpiPatch<T>where
T: Send,
S: ContentTypePolicy,
Auto Trait Implementations§
impl<T> Freeze for OcpiPatch<T>
impl<T> RefUnwindSafe for OcpiPatch<T>where
Patch<T>: RefUnwindSafe,
impl<T> Send for OcpiPatch<T>
impl<T> Sync for OcpiPatch<T>
impl<T> Unpin for OcpiPatch<T>
impl<T> UnsafeUnpin for OcpiPatch<T>where
Patch<T>: UnsafeUnpin,
impl<T> UnwindSafe for OcpiPatch<T>where
Patch<T>: UnwindSafe,
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