pub struct EmbedItem {
pub id: Option<String>,
pub photo: Option<Photo>,
pub place: Option<PlaceV2>,
pub thing: Option<ThingV2>,
}
Expand description
Data about an attachment item.
Fields§
§id: Option<String>
ID of the embedded item.
photo: Option<Photo>
Metadata for a photo attachment item, if present.
place: Option<PlaceV2>
Metadata for a place_v2 attachment item, if present.
thing: Option<ThingV2>
Metadata for a thing_v2 attachment item, if present.
Trait Implementations§
impl StructuralPartialEq for EmbedItem
Auto Trait Implementations§
impl Freeze for EmbedItem
impl RefUnwindSafe for EmbedItem
impl Send for EmbedItem
impl Sync for EmbedItem
impl Unpin for EmbedItem
impl UnwindSafe for EmbedItem
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