pub struct LinkPreviewTypeTheme {
pub documents: Vec<Document>,
pub settings: Option<ThemeSettings>,
}Expand description
The link is a link to a cloud theme. TDLib has no theme support yet
Fields§
§documents: Vec<Document>The list of files with theme description
settings: Option<ThemeSettings>Settings for the cloud theme; may be null if unknown
Trait Implementations§
Source§impl Clone for LinkPreviewTypeTheme
impl Clone for LinkPreviewTypeTheme
Source§fn clone(&self) -> LinkPreviewTypeTheme
fn clone(&self) -> LinkPreviewTypeTheme
Returns a duplicate 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 Debug for LinkPreviewTypeTheme
impl Debug for LinkPreviewTypeTheme
Source§impl<'de> Deserialize<'de> for LinkPreviewTypeTheme
impl<'de> Deserialize<'de> for LinkPreviewTypeTheme
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
Source§impl PartialEq for LinkPreviewTypeTheme
impl PartialEq for LinkPreviewTypeTheme
Source§impl Serialize for LinkPreviewTypeTheme
impl Serialize for LinkPreviewTypeTheme
impl StructuralPartialEq for LinkPreviewTypeTheme
Auto Trait Implementations§
impl Freeze for LinkPreviewTypeTheme
impl RefUnwindSafe for LinkPreviewTypeTheme
impl Send for LinkPreviewTypeTheme
impl Sync for LinkPreviewTypeTheme
impl Unpin for LinkPreviewTypeTheme
impl UnsafeUnpin for LinkPreviewTypeTheme
impl UnwindSafe for LinkPreviewTypeTheme
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