pub struct DeleteFile {
pub uri: Uri,
pub options: Option<DeleteFileOptions>,
pub annotation_id: Option<ChangeAnnotationIdentifier>,
}Expand description
Delete file operation
Fields§
§uri: UriThe file to delete.
options: Option<DeleteFileOptions>Delete options.
annotation_id: Option<ChangeAnnotationIdentifier>An optional annotation identifier describing the operation.
@since 3.16.0
Implementations§
Source§impl DeleteFile
impl DeleteFile
pub const fn new( uri: Uri, options: Option<DeleteFileOptions>, annotation_id: Option<ChangeAnnotationIdentifier>, ) -> Self
Trait Implementations§
Source§impl Clone for DeleteFile
impl Clone for DeleteFile
Source§fn clone(&self) -> DeleteFile
fn clone(&self) -> DeleteFile
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 DeleteFile
impl Debug for DeleteFile
Source§impl<'de> Deserialize<'de> for DeleteFile
impl<'de> Deserialize<'de> for DeleteFile
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 From<DeleteFile> for DocumentChange
impl From<DeleteFile> for DocumentChange
Source§fn from(v: DeleteFile) -> Self
fn from(v: DeleteFile) -> Self
Converts to this type from the input type.
Source§impl Hash for DeleteFile
impl Hash for DeleteFile
Source§impl PartialEq for DeleteFile
impl PartialEq for DeleteFile
Source§fn eq(&self, other: &DeleteFile) -> bool
fn eq(&self, other: &DeleteFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteFile
impl Serialize for DeleteFile
impl Eq for DeleteFile
impl StructuralPartialEq for DeleteFile
Auto Trait Implementations§
impl Freeze for DeleteFile
impl RefUnwindSafe for DeleteFile
impl Send for DeleteFile
impl Sync for DeleteFile
impl Unpin for DeleteFile
impl UnsafeUnpin for DeleteFile
impl UnwindSafe for DeleteFile
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