pub struct ImportPasswords {
pub accessibility: Option<String>,
pub format: Option<String>,
pub import_path: String,
pub json: Option<bool>,
pub protection_key: Option<String>,
pub target_folder: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub update_mode: Option<String>,
}Expand description
ImportPasswords : importPasswords is a command that import passwords
Fields§
§accessibility: Option<String>for personal password manager
format: Option<String>Password format type [LastPass/Chrome/Firefox/1password/keeper/bitwarden/dashlane]
import_path: StringFile path
json: Option<bool>Set output format to JSON
protection_key: Option<String>The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
target_folder: Option<String>Target folder for imported passwords
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
update_mode: Option<String>Implementations§
Source§impl ImportPasswords
impl ImportPasswords
Sourcepub fn new(import_path: String) -> ImportPasswords
pub fn new(import_path: String) -> ImportPasswords
importPasswords is a command that import passwords
Trait Implementations§
Source§impl Clone for ImportPasswords
impl Clone for ImportPasswords
Source§fn clone(&self) -> ImportPasswords
fn clone(&self) -> ImportPasswords
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 ImportPasswords
impl Debug for ImportPasswords
Source§impl Default for ImportPasswords
impl Default for ImportPasswords
Source§fn default() -> ImportPasswords
fn default() -> ImportPasswords
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImportPasswords
impl<'de> Deserialize<'de> for ImportPasswords
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 ImportPasswords
impl PartialEq for ImportPasswords
Source§fn eq(&self, other: &ImportPasswords) -> bool
fn eq(&self, other: &ImportPasswords) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ImportPasswords
impl Serialize for ImportPasswords
impl StructuralPartialEq for ImportPasswords
Auto Trait Implementations§
impl Freeze for ImportPasswords
impl RefUnwindSafe for ImportPasswords
impl Send for ImportPasswords
impl Sync for ImportPasswords
impl Unpin for ImportPasswords
impl UnsafeUnpin for ImportPasswords
impl UnwindSafe for ImportPasswords
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