pub struct ResourceDeleteParams {
pub channel: Uri,
pub uri: Uri,
pub recursive: Option<bool>,
}Expand description
Deletes a resource at a URI on the server’s filesystem.
Like all resource* methods, resourceDelete is symmetrical and MAY be
sent in either direction.
Fields§
§channel: UriChannel URI this command targets.
uri: UriURI of the resource to delete
recursive: Option<bool>If true and the target is a directory, delete it and all its contents
recursively. If false (default), deleting a non-empty directory MUST fail.
Trait Implementations§
Source§impl Clone for ResourceDeleteParams
impl Clone for ResourceDeleteParams
Source§fn clone(&self) -> ResourceDeleteParams
fn clone(&self) -> ResourceDeleteParams
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 ResourceDeleteParams
impl Debug for ResourceDeleteParams
Source§impl<'de> Deserialize<'de> for ResourceDeleteParams
impl<'de> Deserialize<'de> for ResourceDeleteParams
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 PartialEq for ResourceDeleteParams
impl PartialEq for ResourceDeleteParams
Source§fn eq(&self, other: &ResourceDeleteParams) -> bool
fn eq(&self, other: &ResourceDeleteParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResourceDeleteParams
impl Serialize for ResourceDeleteParams
impl StructuralPartialEq for ResourceDeleteParams
Auto Trait Implementations§
impl Freeze for ResourceDeleteParams
impl RefUnwindSafe for ResourceDeleteParams
impl Send for ResourceDeleteParams
impl Sync for ResourceDeleteParams
impl Unpin for ResourceDeleteParams
impl UnsafeUnpin for ResourceDeleteParams
impl UnwindSafe for ResourceDeleteParams
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