pub struct KeyValue {
pub key: String,
pub value: Option<String>,
}
Expand description
Wrapper struct to store key values
Fields§
§key: String
§value: Option<String>
Implementations§
Trait Implementations§
Source§impl Ord for KeyValue
impl Ord for KeyValue
Source§impl PartialOrd for KeyValue
impl PartialOrd for KeyValue
Source§impl ReadThrift for KeyValue
impl ReadThrift for KeyValue
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<KeyValue>
impl Eq for KeyValue
impl StructuralPartialEq for KeyValue
Auto Trait Implementations§
impl Freeze for KeyValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)