Struct egg_mode::entities::HashtagEntity
[−]
[src]
pub struct HashtagEntity { pub range: (usize, usize), pub text: String, }
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: String
The text of the hashtag, without the leading # or $ character.
Trait Implementations
impl Debug for HashtagEntity
[src]
impl Clone for HashtagEntity
[src]
fn clone(&self) -> HashtagEntity
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more