Struct cln_plugin::options::config_type::DefaultBoolean
source · pub struct DefaultBoolean;Trait Implementations§
source§impl Clone for DefaultBoolean
impl Clone for DefaultBoolean
source§fn clone(&self) -> DefaultBoolean
fn clone(&self) -> DefaultBoolean
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 DefaultBoolean
impl Debug for DefaultBoolean
source§impl<'a> OptionType<'a> for DefaultBoolean
impl<'a> OptionType<'a> for DefaultBoolean
type OutputValue = bool
type DefaultValue = bool
fn convert_default(value: &bool) -> Option<Value>
fn from_value(value: &Option<Value>) -> bool
fn get_value_type() -> ValueType
Auto Trait Implementations§
impl RefUnwindSafe for DefaultBoolean
impl Send for DefaultBoolean
impl Sync for DefaultBoolean
impl Unpin for DefaultBoolean
impl UnwindSafe for DefaultBoolean
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