pub struct Entry<N: AsRef<str>> {
pub metadata: Metadata,
pub name: N,
}Fields§
§metadata: Metadata§name: NTrait Implementations§
Source§impl<'de, N> Deserialize<'de> for Entry<N>
impl<'de, N> Deserialize<'de> for Entry<N>
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
impl<N: Eq + AsRef<str>> Eq for Entry<N>
impl<N: AsRef<str>> StructuralPartialEq for Entry<N>
Auto Trait Implementations§
impl<N> Freeze for Entry<N>where
N: Freeze,
impl<N> RefUnwindSafe for Entry<N>where
N: RefUnwindSafe,
impl<N> Send for Entry<N>where
N: Send,
impl<N> Sync for Entry<N>where
N: Sync,
impl<N> Unpin for Entry<N>where
N: Unpin,
impl<N> UnsafeUnpin for Entry<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for Entry<N>where
N: UnwindSafe,
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