Struct kanidmd_lib::valueset::ValueSetTotpSecret
source · pub struct ValueSetTotpSecret { /* private fields */ }
Implementations§
source§impl ValueSetTotpSecret
impl ValueSetTotpSecret
pub fn new(l: String, t: Totp) -> Box<Self>
pub fn push(&mut self, l: String, t: Totp) -> bool
pub fn from_dbvs2(
data: Vec<(String, DbTotpV1)>
) -> Result<ValueSet, OperationError>
pub fn from_repl_v1(
data: &[(String, ReplTotpV1)]
) -> Result<ValueSet, OperationError>
pub fn from_iter<T>(iter: T) -> Option<Box<Self>>where
T: IntoIterator<Item = (String, Totp)>,
Trait Implementations§
source§impl Clone for ValueSetTotpSecret
impl Clone for ValueSetTotpSecret
source§fn clone(&self) -> ValueSetTotpSecret
fn clone(&self) -> ValueSetTotpSecret
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 more