pub enum ApplyPatchOperationParam {
CreateFile(ApplyPatchCreateFileOperationParam),
DeleteFile(ApplyPatchDeleteFileOperationParam),
UpdateFile(ApplyPatchUpdateFileOperationParam),
}Expand description
One of the create_file, delete_file, or update_file operations supplied to the apply_patch tool.
Variants§
CreateFile(ApplyPatchCreateFileOperationParam)
DeleteFile(ApplyPatchDeleteFileOperationParam)
UpdateFile(ApplyPatchUpdateFileOperationParam)
Trait Implementations§
Source§impl Clone for ApplyPatchOperationParam
impl Clone for ApplyPatchOperationParam
Source§fn clone(&self) -> ApplyPatchOperationParam
fn clone(&self) -> ApplyPatchOperationParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApplyPatchOperationParam
impl Debug for ApplyPatchOperationParam
Source§impl<'de> Deserialize<'de> for ApplyPatchOperationParam
impl<'de> Deserialize<'de> for ApplyPatchOperationParam
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApplyPatchOperationParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApplyPatchOperationParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ApplyPatchOperationParam
impl PartialEq for ApplyPatchOperationParam
Source§impl Serialize for ApplyPatchOperationParam
impl Serialize for ApplyPatchOperationParam
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ApplyPatchOperationParam
Auto Trait Implementations§
impl Freeze for ApplyPatchOperationParam
impl RefUnwindSafe for ApplyPatchOperationParam
impl Send for ApplyPatchOperationParam
impl Sync for ApplyPatchOperationParam
impl Unpin for ApplyPatchOperationParam
impl UnsafeUnpin for ApplyPatchOperationParam
impl UnwindSafe for ApplyPatchOperationParam
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