pub struct FolderUpdate {
pub accessibility: Option<String>,
pub add_tag: Option<Vec<String>>,
pub delete_protection: Option<String>,
pub description: Option<String>,
pub json: Option<bool>,
pub name: String,
pub rm_tag: Option<Vec<String>>,
pub token: Option<String>,
pub type: Option<String>,
pub uid_token: Option<String>,
}Expand description
FolderUpdate : folderUpdate is a command that updates folder
Fields§
§accessibility: Option<String>for personal password manager
add_tag: Option<Vec<String>>List of the new tags that will be attached to this folder
delete_protection: Option<String>Protection from accidental deletion of this object [true/false]
description: Option<String>Description of the object
json: Option<bool>Set output format to JSON
name: StringFolder name
rm_tag: Option<Vec<String>>List of the existent tags that will be removed from this folder
token: Option<String>Authentication token (see /auth and /configure)
type: Option<String>§uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl FolderUpdate
impl FolderUpdate
Sourcepub fn new(name: String) -> FolderUpdate
pub fn new(name: String) -> FolderUpdate
folderUpdate is a command that updates folder
Trait Implementations§
Source§impl Clone for FolderUpdate
impl Clone for FolderUpdate
Source§fn clone(&self) -> FolderUpdate
fn clone(&self) -> FolderUpdate
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 FolderUpdate
impl Debug for FolderUpdate
Source§impl Default for FolderUpdate
impl Default for FolderUpdate
Source§fn default() -> FolderUpdate
fn default() -> FolderUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FolderUpdate
impl<'de> Deserialize<'de> for FolderUpdate
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 FolderUpdate
impl PartialEq for FolderUpdate
Source§fn eq(&self, other: &FolderUpdate) -> bool
fn eq(&self, other: &FolderUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FolderUpdate
impl Serialize for FolderUpdate
impl StructuralPartialEq for FolderUpdate
Auto Trait Implementations§
impl Freeze for FolderUpdate
impl RefUnwindSafe for FolderUpdate
impl Send for FolderUpdate
impl Sync for FolderUpdate
impl Unpin for FolderUpdate
impl UnsafeUnpin for FolderUpdate
impl UnwindSafe for FolderUpdate
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