Struct throw::KvPair [−][src]
pub struct KvPair { /* fields omitted */ }
represent a key-value pair
Methods
impl KvPair
[src]
impl KvPair
pub fn key(&self) -> &'static str
[src]
pub fn key(&self) -> &'static str
Retrieve the key associated with this KvPair
.
pub fn value(&self) -> &ThrowContextValues
[src]
pub fn value(&self) -> &ThrowContextValues
Retrieve the value associated with this KvPair
.
Trait Implementations
impl Debug for KvPair
[src]
impl Debug for KvPair
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for KvPair
[src]
impl Clone for KvPair