pub struct OperationDeleteFile {
pub path: String,
pub type_: String,
}Expand description
Instruction describing how to delete a file via the apply_patch tool.
Fields§
§path: StringPath of the file to delete.
type_: StringDelete the specified file.
Trait Implementations§
Source§impl Clone for OperationDeleteFile
impl Clone for OperationDeleteFile
Source§fn clone(&self) -> OperationDeleteFile
fn clone(&self) -> OperationDeleteFile
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 OperationDeleteFile
impl Debug for OperationDeleteFile
Source§impl<'de> Deserialize<'de> for OperationDeleteFile
impl<'de> Deserialize<'de> for OperationDeleteFile
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
Auto Trait Implementations§
impl Freeze for OperationDeleteFile
impl RefUnwindSafe for OperationDeleteFile
impl Send for OperationDeleteFile
impl Sync for OperationDeleteFile
impl Unpin for OperationDeleteFile
impl UnsafeUnpin for OperationDeleteFile
impl UnwindSafe for OperationDeleteFile
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