pub struct NodeConfigBoolean {
pub true_label: HashMap<String, String>,
pub false_label: HashMap<String, String>,
pub i18n_properties: Vec<String>,
}Expand description
Boolean node configuration with true/false labels.
Fields§
§true_label: HashMap<String, String>Language code -> label for true value
false_label: HashMap<String, String>Language code -> label for false value
i18n_properties: Vec<String>i18n property names
Implementations§
Trait Implementations§
Source§impl Clone for NodeConfigBoolean
impl Clone for NodeConfigBoolean
Source§fn clone(&self) -> NodeConfigBoolean
fn clone(&self) -> NodeConfigBoolean
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 NodeConfigBoolean
impl Debug for NodeConfigBoolean
Source§impl Default for NodeConfigBoolean
impl Default for NodeConfigBoolean
Source§fn default() -> NodeConfigBoolean
fn default() -> NodeConfigBoolean
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeConfigBoolean
impl<'de> Deserialize<'de> for NodeConfigBoolean
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
Auto Trait Implementations§
impl Freeze for NodeConfigBoolean
impl RefUnwindSafe for NodeConfigBoolean
impl Send for NodeConfigBoolean
impl Sync for NodeConfigBoolean
impl Unpin for NodeConfigBoolean
impl UnsafeUnpin for NodeConfigBoolean
impl UnwindSafe for NodeConfigBoolean
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