pub struct StatementsPatch { /* private fields */ }Trait Implementations§
Source§impl Clone for StatementsPatch
impl Clone for StatementsPatch
Source§fn clone(&self) -> StatementsPatch
fn clone(&self) -> StatementsPatch
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 StatementsPatch
impl Debug for StatementsPatch
Source§impl Default for StatementsPatch
impl Default for StatementsPatch
Source§fn default() -> StatementsPatch
fn default() -> StatementsPatch
Returns the “default value” for a type. Read more
Source§impl PartialEq for StatementsPatch
impl PartialEq for StatementsPatch
Source§impl Patch for StatementsPatch
impl Patch for StatementsPatch
Source§fn patch(&self) -> &Vec<PatchEntry>
fn patch(&self) -> &Vec<PatchEntry>
Returns the patch entries
Source§fn patch_mut(&mut self) -> &mut Vec<PatchEntry>
fn patch_mut(&mut self) -> &mut Vec<PatchEntry>
Returns the mutable patch entries
Source§fn add<S: Into<String>>(&mut self, path: S, value: Value)
fn add<S: Into<String>>(&mut self, path: S, value: Value)
path is a JSON patch path, eg “/enwiki/title”Source§impl Serialize for StatementsPatch
impl Serialize for StatementsPatch
impl StructuralPartialEq for StatementsPatch
Auto Trait Implementations§
impl Freeze for StatementsPatch
impl RefUnwindSafe for StatementsPatch
impl Send for StatementsPatch
impl Sync for StatementsPatch
impl Unpin for StatementsPatch
impl UnwindSafe for StatementsPatch
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