Struct twitter_card::SummaryLargeImage
source · pub struct SummaryLargeImage { /* private fields */ }
Expand description
Create a summary with large image card.
Implementations§
source§impl SummaryLargeImage
impl SummaryLargeImage
sourcepub fn site(self, site: &str) -> Self
pub fn site(self, site: &str) -> Self
@username of website. Either twitter:site or twitter:site:id is required.
sourcepub fn site_id(self, content: &str) -> Self
pub fn site_id(self, content: &str) -> Self
Same as twitter:site, but the user’s Twitter ID. Either twitter:site or twitter:site:id is required.
sourcepub fn creator_id(self, content: &str) -> Self
pub fn creator_id(self, content: &str) -> Self
Twitter user ID of content creator.
Trait Implementations§
source§impl Clone for SummaryLargeImage
impl Clone for SummaryLargeImage
source§fn clone(&self) -> SummaryLargeImage
fn clone(&self) -> SummaryLargeImage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more