pub struct Listed {
pub id: EntityId,
pub name: Option<String>,
pub types: Vec<TypeName>,
pub via: Option<EntityId>,
}Expand description
An entity in a list.
Fields§
§id: EntityIdThe entity.
name: Option<String>The name to show for it, if it has one.
types: Vec<TypeName>Its types.
via: Option<EntityId>Of an entity that a search found through a link, rather than by its own words, the entity that it was found through.
Trait Implementations§
impl Eq for Listed
impl StructuralPartialEq for Listed
Auto Trait Implementations§
impl Forget for Listed
impl Freeze for Listed
impl Move for Listed
impl RefUnwindSafe for Listed
impl Send for Listed
impl Sync for Listed
impl Unpin for Listed
impl UnsafeUnpin for Listed
impl UnwindSafe for Listed
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.