pub struct CreateInput {Show 15 fields
pub kind: Option<String>,
pub name: String,
pub username: Option<String>,
pub password: Option<String>,
pub uri: Option<String>,
pub totp: Option<String>,
pub notes: Option<String>,
pub cardholder_name: Option<String>,
pub number: Option<String>,
pub exp_month: Option<String>,
pub exp_year: Option<String>,
pub code: Option<String>,
pub brand: Option<String>,
pub folder_id: Option<String>,
pub custom_fields: Option<Vec<CustomFieldInput>>,
}Expand description
The arguments vault_create accepts.
Fields§
§kind: Option<String>§name: String§username: Option<String>§password: Option<String>§uri: Option<String>§totp: Option<String>§notes: Option<String>§cardholder_name: Option<String>§number: Option<String>§exp_month: Option<String>§exp_year: Option<String>§code: Option<String>§brand: Option<String>§folder_id: Option<String>§custom_fields: Option<Vec<CustomFieldInput>>Trait Implementations§
Source§impl Clone for CreateInput
impl Clone for CreateInput
Source§impl Debug for CreateInput
Hand-written because its password, card number, CVV and custom values are
secrets.
impl Debug for CreateInput
Hand-written because its password, card number, CVV and custom values are secrets.
Source§impl Default for CreateInput
impl Default for CreateInput
Source§impl<'de> Deserialize<'de> for CreateInput
impl<'de> Deserialize<'de> for CreateInput
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
Auto Trait Implementations§
impl Freeze for CreateInput
impl RefUnwindSafe for CreateInput
impl Send for CreateInput
impl Sync for CreateInput
impl Unpin for CreateInput
impl UnsafeUnpin for CreateInput
impl UnwindSafe for CreateInput
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more