#[non_exhaustive]pub struct ApplyPatchCreate {
pub path: String,
pub diff: String,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: String§diff: String§rest: RestImplementations§
Source§impl ApplyPatchCreate
impl ApplyPatchCreate
Sourcepub fn builder(path: String, diff: String) -> ApplyPatchCreateBuilder
pub fn builder(path: String, diff: String) -> ApplyPatchCreateBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ApplyPatchCreate
impl Clone for ApplyPatchCreate
Source§impl Debug for ApplyPatchCreate
impl Debug for ApplyPatchCreate
Source§impl DeclaredFields for ApplyPatchCreate
impl DeclaredFields for ApplyPatchCreate
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ApplyPatchCreate
impl<'de> Deserialize<'de> for ApplyPatchCreate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ApplyPatchCreate
Source§impl PartialEq for ApplyPatchCreate
impl PartialEq for ApplyPatchCreate
Source§impl Serialize for ApplyPatchCreate
impl Serialize for ApplyPatchCreate
impl StructuralPartialEq for ApplyPatchCreate
Auto Trait Implementations§
impl Freeze for ApplyPatchCreate
impl RefUnwindSafe for ApplyPatchCreate
impl Send for ApplyPatchCreate
impl Sync for ApplyPatchCreate
impl Unpin for ApplyPatchCreate
impl UnsafeUnpin for ApplyPatchCreate
impl UnwindSafe for ApplyPatchCreate
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