Struct tbot::util::entities::SemanticEntity [−][src]
pub struct SemanticEntity { pub kind: Option<Kind>, pub value: Vec<FormattedText>, }
Represents a semantic entity.
Fields
kind: Option<Kind>
The semantic meaning.
value: Vec<FormattedText>
A Vec
of formatted strings.
Trait Implementations
impl Clone for SemanticEntity
[src]
impl Clone for SemanticEntity
[src]fn clone(&self) -> SemanticEntity
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Formattable for SemanticEntity
[src]
impl Formattable for SemanticEntity
[src]impl Formattable for SemanticEntity
[src]
impl Formattable for SemanticEntity
[src]impl Hash for SemanticEntity
[src]
impl Hash for SemanticEntity
[src]impl PartialEq<SemanticEntity> for SemanticEntity
[src]
impl PartialEq<SemanticEntity> for SemanticEntity
[src]fn eq(&self, other: &SemanticEntity) -> bool
[src]
fn ne(&self, other: &SemanticEntity) -> bool
[src]
impl Eq for SemanticEntity
[src]
impl StructuralEq for SemanticEntity
[src]
impl StructuralPartialEq for SemanticEntity
[src]
Auto Trait Implementations
impl RefUnwindSafe for SemanticEntity
impl Send for SemanticEntity
impl Sync for SemanticEntity
impl Unpin for SemanticEntity
impl UnwindSafe for SemanticEntity
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Formattable for T where
T: Formattable + Formattable,
[src]
T: Formattable + Formattable,