pub struct KeyArg {
pub key: Box<str>,
pub value: KeyValue,
}Expand description
One key of an ArgFact::Object argument.
Fields§
§key: Box<str>The property key.
value: KeyValueThe value of the key.
Trait Implementations§
impl<'__de> Decode<'__de> for KeyArgwhere
'__de:,
impl Encode for KeyArg
impl Eq for KeyArg
impl StructuralPartialEq for KeyArg
Auto Trait Implementations§
impl Forget for KeyArg
impl Freeze for KeyArg
impl Move for KeyArg
impl RefUnwindSafe for KeyArg
impl Send for KeyArg
impl Sync for KeyArg
impl Unpin for KeyArg
impl UnsafeUnpin for KeyArg
impl UnwindSafe for KeyArg
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.