pub struct Link {
pub type_: String,
pub url: String,
pub title: Option<String>,
pub text: Option<String>,
pub icon: Option<Icon>,
pub thumbnail: Option<Thumbnail>,
pub embed: Option<Embed>,
pub window: Option<Window>,
pub iframe: Option<Iframe>,
}Fields§
§type_: String§url: String§title: Option<String>§text: Option<String>§icon: Option<Icon>§thumbnail: Option<Thumbnail>§embed: Option<Embed>§window: Option<Window>§iframe: Option<Iframe>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Link
impl<'de> Deserialize<'de> for Link
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
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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