pub enum TargetId {
Episode {
id: String,
},
Statement {
id: StatementId,
},
Entity {
id: EntityId,
},
Chunk {
id: String,
},
Community {
id: String,
},
}Expand description
Stable identity for a retrieval candidate. Mirrors the pre-M8
SearchTarget shape but lives in the pure core.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TargetId
impl<'de> Deserialize<'de> for TargetId
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 Eq for TargetId
impl StructuralPartialEq for TargetId
Auto Trait Implementations§
impl Freeze for TargetId
impl RefUnwindSafe for TargetId
impl Send for TargetId
impl Sync for TargetId
impl Unpin for TargetId
impl UnsafeUnpin for TargetId
impl UnwindSafe for TargetId
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