pub struct NamedId {
pub id: u16,
pub name: String,
}
Fields§
§id: u16
§name: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NamedId
impl<'de> Deserialize<'de> for NamedId
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 NamedId
impl Ord for NamedId
Source§impl PartialOrd for NamedId
impl PartialOrd for NamedId
impl Eq for NamedId
impl StructuralPartialEq for NamedId
Auto Trait Implementations§
impl Freeze for NamedId
impl RefUnwindSafe for NamedId
impl Send for NamedId
impl Sync for NamedId
impl Unpin for NamedId
impl UnwindSafe for NamedId
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