pub struct ActivityObjectAttachmentsPreviewThumbnails {
pub url: Option<String>,
}
Expand description
When previewing, these are the optional thumbnails for the post. When posting an article, choose one by setting the attachment.image.url property. If you don’t choose one, one will be chosen for you.
This type is not used in any activity, and only used as part of another schema.
Fields§
§url: Option<String>
URL of the thumbnail image.
Trait Implementations§
source§impl Clone for ActivityObjectAttachmentsPreviewThumbnails
impl Clone for ActivityObjectAttachmentsPreviewThumbnails
source§fn clone(&self) -> ActivityObjectAttachmentsPreviewThumbnails
fn clone(&self) -> ActivityObjectAttachmentsPreviewThumbnails
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 moresource§impl Default for ActivityObjectAttachmentsPreviewThumbnails
impl Default for ActivityObjectAttachmentsPreviewThumbnails
source§fn default() -> ActivityObjectAttachmentsPreviewThumbnails
fn default() -> ActivityObjectAttachmentsPreviewThumbnails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActivityObjectAttachmentsPreviewThumbnails
impl<'de> Deserialize<'de> for ActivityObjectAttachmentsPreviewThumbnails
source§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
impl NestedType for ActivityObjectAttachmentsPreviewThumbnails
impl Part for ActivityObjectAttachmentsPreviewThumbnails
Auto Trait Implementations§
impl RefUnwindSafe for ActivityObjectAttachmentsPreviewThumbnails
impl Send for ActivityObjectAttachmentsPreviewThumbnails
impl Sync for ActivityObjectAttachmentsPreviewThumbnails
impl Unpin for ActivityObjectAttachmentsPreviewThumbnails
impl UnwindSafe for ActivityObjectAttachmentsPreviewThumbnails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more