pub struct AddPatch {
pub files: Option<VecPatch<Resource>>,
pub options: Option<CopyOptionsPatch>,
pub checksum: Option<Option<String>>,
}Fields§
§files: Option<VecPatch<Resource>>§options: Option<CopyOptionsPatch>§checksum: Option<Option<String>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddPatch
impl<'de> Deserialize<'de> for AddPatch
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
Source§impl JsonSchema for AddPatch
impl JsonSchema for AddPatch
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Patch<AddPatch> for Add
impl Patch<AddPatch> for Add
Source§fn into_patch(self) -> AddPatch
fn into_patch(self) -> AddPatch
Returns a patch that when applied turns any struct of the same type into
SelfSource§fn into_patch_by_diff(self, previous_struct: Self) -> AddPatch
fn into_patch_by_diff(self, previous_struct: Self) -> AddPatch
Returns a patch that when applied turns
previous_struct into SelfSource§fn new_empty_patch() -> AddPatch
fn new_empty_patch() -> AddPatch
Get an empty patch instance
impl StructuralPartialEq for AddPatch
Auto Trait Implementations§
impl Freeze for AddPatch
impl RefUnwindSafe for AddPatch
impl Send for AddPatch
impl Sync for AddPatch
impl Unpin for AddPatch
impl UnwindSafe for AddPatch
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