pub struct DeleteItems {
pub item: Option<Vec<String>>,
pub json: Option<bool>,
pub path: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§item: Option<Vec<String>>A list of items to delete, To specify multiple items use argument multiple times
json: Option<bool>Set output format to JSON
path: Option<String>Path to delete the items from
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl DeleteItems
impl DeleteItems
pub fn new() -> DeleteItems
Trait Implementations§
Source§impl Clone for DeleteItems
impl Clone for DeleteItems
Source§fn clone(&self) -> DeleteItems
fn clone(&self) -> DeleteItems
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 DeleteItems
impl Debug for DeleteItems
Source§impl Default for DeleteItems
impl Default for DeleteItems
Source§fn default() -> DeleteItems
fn default() -> DeleteItems
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteItems
impl<'de> Deserialize<'de> for DeleteItems
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 DeleteItems
impl PartialEq for DeleteItems
Source§fn eq(&self, other: &DeleteItems) -> bool
fn eq(&self, other: &DeleteItems) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteItems
impl Serialize for DeleteItems
impl StructuralPartialEq for DeleteItems
Auto Trait Implementations§
impl Freeze for DeleteItems
impl RefUnwindSafe for DeleteItems
impl Send for DeleteItems
impl Sync for DeleteItems
impl Unpin for DeleteItems
impl UnsafeUnpin for DeleteItems
impl UnwindSafe for DeleteItems
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