pub struct KeyValue {
pub key: String,
pub readonly: bool,
pub value: Option<String>,
}
Fields§
§key: String
Required.
readonly: bool
Required. False if the value can be set with the ChangeConfiguration message.
value: Option<String>
Optional. If key is known but not set, this field may be absent.
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyValue
impl<'de> Deserialize<'de> for KeyValue
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
source§impl PartialEq for KeyValue
impl PartialEq for KeyValue
source§impl<'v_a> ValidateArgs<'v_a> for KeyValue
impl<'v_a> ValidateArgs<'v_a> for KeyValue
type Args = ()
fn validate_args(&self, args: Self::Args) -> Result<(), ValidationErrors>
impl StructuralPartialEq for KeyValue
Auto Trait Implementations§
impl RefUnwindSafe for KeyValue
impl Send for KeyValue
impl Sync for KeyValue
impl Unpin for KeyValue
impl UnwindSafe for KeyValue
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