Struct egg_mode::entities::UrlEntity [] [src]

pub struct UrlEntity {
    pub display_url: String,
    pub expanded_url: String,
    pub range: (usize, usize),
    pub url: String,
}

Represents a link extracted from another piece of text.

Fields

A truncated URL meant to be displayed inline with the text.

The URL that the t.co URL resolves to.

Meant to be used as hover-text when a user mouses over a link.

The byte offsets in the companion text where the URL was extracted from.

The t.co URL extracted from the companion text.

Trait Implementations

impl Debug for UrlEntity
[src]

[src]

Formats the value using the given formatter.

impl Clone for UrlEntity
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more