pub struct InternalConfigurationValue {
pub value: Option<Value>,
pub editable: Option<bool>,
}Fields§
§value: Option<Value>The value of current config item
editable: Option<bool>The configure item can be updated or not
Implementations§
Source§impl InternalConfigurationValue
impl InternalConfigurationValue
pub fn new() -> InternalConfigurationValue
Trait Implementations§
Source§impl Clone for InternalConfigurationValue
impl Clone for InternalConfigurationValue
Source§fn clone(&self) -> InternalConfigurationValue
fn clone(&self) -> InternalConfigurationValue
Returns a duplicate 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 InternalConfigurationValue
impl Debug for InternalConfigurationValue
Source§impl Default for InternalConfigurationValue
impl Default for InternalConfigurationValue
Source§fn default() -> InternalConfigurationValue
fn default() -> InternalConfigurationValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalConfigurationValue
impl<'de> Deserialize<'de> for InternalConfigurationValue
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
impl StructuralPartialEq for InternalConfigurationValue
Auto Trait Implementations§
impl Freeze for InternalConfigurationValue
impl RefUnwindSafe for InternalConfigurationValue
impl Send for InternalConfigurationValue
impl Sync for InternalConfigurationValue
impl Unpin for InternalConfigurationValue
impl UnwindSafe for InternalConfigurationValue
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