pub struct KeyValueList(pub Vec<(Key, String)>);Tuple Fields§
§0: Vec<(Key, String)>Trait Implementations§
Source§impl Serializer for KeyValueList
impl Serializer for KeyValueList
Source§fn emit_arguments(&mut self, key: Key, val: &Arguments<'_>) -> Result
fn emit_arguments(&mut self, key: Key, val: &Arguments<'_>) -> Result
Emit
fmt::Arguments Read moreSource§fn emit_bytes(
&mut self,
key: &'static str,
bytes: &[u8],
kind: BytesKind,
) -> Result<(), Error>
fn emit_bytes( &mut self, key: &'static str, bytes: &[u8], kind: BytesKind, ) -> Result<(), Error>
Emit bytes Read more
Source§fn emit_serde(
&mut self,
key: &'static str,
value: &dyn SerdeValue,
) -> Result<(), Error>
fn emit_serde( &mut self, key: &'static str, value: &dyn SerdeValue, ) -> Result<(), Error>
Emit a value implementing
serde::Serialize Read moreSource§fn emit_error(
&mut self,
key: &'static str,
error: &(dyn Error + 'static),
) -> Result<(), Error>
fn emit_error( &mut self, key: &'static str, error: &(dyn Error + 'static), ) -> Result<(), Error>
Emit a type implementing
std::error::Error Read moreAuto Trait Implementations§
impl Freeze for KeyValueList
impl RefUnwindSafe for KeyValueList
impl Send for KeyValueList
impl Sync for KeyValueList
impl Unpin for KeyValueList
impl UnwindSafe for KeyValueList
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