pub struct BackupPassphraseConfig {
pub new_passphrase: String,
pub current_passphrase: String,
}Fields§
§new_passphrase: String§current_passphrase: StringImplementations§
source§impl BackupPassphraseConfig
impl BackupPassphraseConfig
pub fn new( new_passphrase: String, current_passphrase: String ) -> BackupPassphraseConfig
Trait Implementations§
source§impl Clone for BackupPassphraseConfig
impl Clone for BackupPassphraseConfig
source§fn clone(&self) -> BackupPassphraseConfig
fn clone(&self) -> BackupPassphraseConfig
Returns a copy of the value. Read more
1.0.0 · 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 BackupPassphraseConfig
impl Debug for BackupPassphraseConfig
source§impl Default for BackupPassphraseConfig
impl Default for BackupPassphraseConfig
source§fn default() -> BackupPassphraseConfig
fn default() -> BackupPassphraseConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BackupPassphraseConfig
impl<'de> Deserialize<'de> for BackupPassphraseConfig
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 BackupPassphraseConfig
impl PartialEq for BackupPassphraseConfig
source§fn eq(&self, other: &BackupPassphraseConfig) -> bool
fn eq(&self, other: &BackupPassphraseConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BackupPassphraseConfig
impl Serialize for BackupPassphraseConfig
impl StructuralPartialEq for BackupPassphraseConfig
Auto Trait Implementations§
impl RefUnwindSafe for BackupPassphraseConfig
impl Send for BackupPassphraseConfig
impl Sync for BackupPassphraseConfig
impl Unpin for BackupPassphraseConfig
impl UnwindSafe for BackupPassphraseConfig
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