pub struct Pair<'s> {
pub key: Spanned<&'s str>,
pub value: Spanned<Field<'s>>,
}
Expand description
The keys for fields and their values.
Fields§
§key: Spanned<&'s str>
The key.
value: Spanned<Field<'s>>
The value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'s> RefUnwindSafe for Pair<'s>
impl<'s> Send for Pair<'s>
impl<'s> Sync for Pair<'s>
impl<'s> Unpin for Pair<'s>
impl<'s> UnwindSafe for Pair<'s>
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