pub struct Summary { /* private fields */ }
Expand description
@username of website. Either twitter:site or twitter:site:id is required.
Same as twitter:site, but the user’s Twitter ID. Either twitter:site or
twitter:site:id is required.
Twitter user ID of content creator.
Description of content.
Panics if the description is more than 200 characters.
Title of content.
Panics if the description is more than 70 characters.
URL of image to use in the card. Images must be less than 5MB in size.
JPG, PNG, WEBP and GIF formats are supported. Only the first frame of an
animated GIF will be used. SVG is not supported.
A text description of the image conveying the essential nature of an image
to users who are visually impaired. Maximum 420 characters.
Panics if the description is more than 420 characters.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Convert the Twitter Card to a string.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.