pub struct RollbackSecret {
pub accessibility: Option<String>,
pub json: Option<bool>,
pub name: String,
pub old_version: i32,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§accessibility: Option<String>for personal password manager
json: Option<bool>Set output format to JSON
name: StringSecret name
old_version: i32Old secret version to rollback to
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 RollbackSecret
impl RollbackSecret
pub fn new(name: String, old_version: i32) -> RollbackSecret
Trait Implementations§
Source§impl Clone for RollbackSecret
impl Clone for RollbackSecret
Source§fn clone(&self) -> RollbackSecret
fn clone(&self) -> RollbackSecret
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 RollbackSecret
impl Debug for RollbackSecret
Source§impl Default for RollbackSecret
impl Default for RollbackSecret
Source§fn default() -> RollbackSecret
fn default() -> RollbackSecret
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RollbackSecret
impl<'de> Deserialize<'de> for RollbackSecret
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 RollbackSecret
impl PartialEq for RollbackSecret
Source§fn eq(&self, other: &RollbackSecret) -> bool
fn eq(&self, other: &RollbackSecret) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RollbackSecret
impl Serialize for RollbackSecret
impl StructuralPartialEq for RollbackSecret
Auto Trait Implementations§
impl Freeze for RollbackSecret
impl RefUnwindSafe for RollbackSecret
impl Send for RollbackSecret
impl Sync for RollbackSecret
impl Unpin for RollbackSecret
impl UnsafeUnpin for RollbackSecret
impl UnwindSafe for RollbackSecret
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