pub struct Link {
pub id: Option<i64>,
pub title: Option<String>,
pub thumbnail: Option<String>,
pub url: Option<String>,
pub site: Option<String>,
pub site_id: Option<i64>,
pub link_type: Option<LinkType>,
pub language: Option<Language>,
pub color: Option<Color>,
pub icon: Option<String>,
pub notes: Option<String>,
pub is_disabled: Option<bool>,
}
Expand description
Represents a link.
Fields§
§id: Option<i64>
The ID of the link.
title: Option<String>
The title of the link.
thumbnail: Option<String>
The thumbnail of the link.
url: Option<String>
The URL of the link.
site: Option<String>
The site of the link.
site_id: Option<i64>
The ID of the site of the link.
link_type: Option<LinkType>
The type of the link.
language: Option<Language>
The language of the link.
color: Option<Color>
The color of the link.
icon: Option<String>
The icon of the link.
notes: Option<String>
The notes of the link.
is_disabled: Option<bool>
Whether the link is disabled or not.
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
impl StructuralPartialEq for Link
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