pub struct MapEntry {
pub key: Box<Expr>,
pub value: Box<Expr>,
}
Expand description
A map field within a map.
Fields§
§key: Box<Expr>
§value: Box<Expr>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapEntry
impl<'de> Deserialize<'de> for MapEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for MapEntry
impl Ord for MapEntry
Source§impl PartialOrd for MapEntry
impl PartialOrd for MapEntry
Source§impl VisitMut for MapEntry
impl VisitMut for MapEntry
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for MapEntry
impl StructuralPartialEq for MapEntry
Auto Trait Implementations§
impl Freeze for MapEntry
impl RefUnwindSafe for MapEntry
impl Send for MapEntry
impl Sync for MapEntry
impl Unpin for MapEntry
impl UnwindSafe for MapEntry
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
)