Struct egg_mode::entities::HashtagEntity [−][src]
Expand description
Represents a hashtag or symbol extracted from another piece of text.
Fields
range: (usize, usize)The byte offsets where the hashtag is located. The first index is the location of the # or $ character; the second is the location of the first character following the hashtag.
text: StringThe text of the hashtag, without the leading # or $ character.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for HashtagEntityimpl Send for HashtagEntityimpl Sync for HashtagEntityimpl Unpin for HashtagEntityimpl UnwindSafe for HashtagEntityBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V