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