pub struct TaggedEntity {
pub kind: EntityKind,
pub id: i32,
}Fields§
§kind: EntityKind§id: i32Trait Implementations§
Source§impl Clone for TaggedEntity
impl Clone for TaggedEntity
Source§impl Debug for TaggedEntity
impl Debug for TaggedEntity
Source§impl Default for TaggedEntity
impl Default for TaggedEntity
Source§impl<'de> Deserialize<'de> for TaggedEntitywhere
TaggedEntity: Default,
impl<'de> Deserialize<'de> for TaggedEntitywhere
TaggedEntity: Default,
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 PartialEq for TaggedEntity
impl PartialEq for TaggedEntity
Source§impl Serialize for TaggedEntity
impl Serialize for TaggedEntity
impl StructuralPartialEq for TaggedEntity
Auto Trait Implementations§
impl Forget for TaggedEntity
impl Freeze for TaggedEntity
impl Move for TaggedEntity
impl RefUnwindSafe for TaggedEntity
impl Send for TaggedEntity
impl Sync for TaggedEntity
impl Unpin for TaggedEntity
impl UnsafeUnpin for TaggedEntity
impl UnwindSafe for TaggedEntity
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