pub struct DeleteItem {
pub accessibility: Option<String>,
pub delete_immediately: Option<bool>,
pub delete_in_days: Option<i64>,
pub json: Option<bool>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: Option<i32>,
}Fields§
§accessibility: Option<String>for personal password manager
delete_immediately: Option<bool>When delete-in-days=-1, must be set
delete_in_days: Option<i64>The number of days to wait before deleting the item (relevant for keys only)
json: Option<bool>Set output format to JSON
name: StringItem name
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
version: Option<i32>The specific version you want to delete - 0=last version, -1=entire item with all versions (default)
Implementations§
Source§impl DeleteItem
impl DeleteItem
pub fn new(name: String) -> DeleteItem
Trait Implementations§
Source§impl Clone for DeleteItem
impl Clone for DeleteItem
Source§fn clone(&self) -> DeleteItem
fn clone(&self) -> DeleteItem
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 DeleteItem
impl Debug for DeleteItem
Source§impl Default for DeleteItem
impl Default for DeleteItem
Source§fn default() -> DeleteItem
fn default() -> DeleteItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteItem
impl<'de> Deserialize<'de> for DeleteItem
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 DeleteItem
impl PartialEq for DeleteItem
Source§fn eq(&self, other: &DeleteItem) -> bool
fn eq(&self, other: &DeleteItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteItem
impl Serialize for DeleteItem
impl StructuralPartialEq for DeleteItem
Auto Trait Implementations§
impl Freeze for DeleteItem
impl RefUnwindSafe for DeleteItem
impl Send for DeleteItem
impl Sync for DeleteItem
impl Unpin for DeleteItem
impl UnsafeUnpin for DeleteItem
impl UnwindSafe for DeleteItem
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