Struct egg_mode::tweet::TweetSource [−][src]
Expand description
Represents the app from which a specific tweet was posted.
This struct is parsed out of the HTML anchor tag that Twitter returns as part of each tweet. This way you can format the source link however you like without having to parse the values out yourself.
Note that if you’re going to reconstruct a link from this, the source URL has rel="nofollow"
in the anchor tag.
Fields
name: StringThe name of the app, given by its developer.
url: StringThe URL for the app, given by its developer.
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 TweetSourceimpl Send for TweetSourceimpl Sync for TweetSourceimpl Unpin for TweetSourceimpl UnwindSafe for TweetSourceBlanket 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