pub struct AlbumInfoData {Show 24 fields
pub id: String,
pub title: Option<String>,
pub description: Option<String>,
pub datetime: i64,
pub cover: String,
pub cover_edited: Option<String>,
pub cover_width: i64,
pub cover_height: i64,
pub account_url: Option<String>,
pub account_id: Option<AccountId>,
pub privacy: String,
pub layout: String,
pub views: i64,
pub link: String,
pub favorite: bool,
pub nsfw: bool,
pub section: Option<String>,
pub images_count: i64,
pub in_gallery: bool,
pub is_ad: bool,
pub include_album_ads: bool,
pub is_album: bool,
pub images: Vec<ImageInfoData>,
pub ad_config: AdConfig,
}Fields§
§id: StringAlbum ID
title: Option<String>Title of the album
description: Option<String>Description of the album
datetime: i64§cover: String§cover_edited: Option<String>§cover_width: i64§cover_height: i64§account_url: Option<String>§account_id: Option<AccountId>§privacy: String§layout: String§views: i64§link: StringAlbum link
favorite: bool§nsfw: bool§section: Option<String>§images_count: i64§in_gallery: bool§is_ad: bool§include_album_ads: bool§is_album: bool§images: Vec<ImageInfoData>§ad_config: AdConfigTrait Implementations§
Source§impl Clone for AlbumInfoData
impl Clone for AlbumInfoData
Source§fn clone(&self) -> AlbumInfoData
fn clone(&self) -> AlbumInfoData
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 AlbumInfoData
impl Debug for AlbumInfoData
Source§impl<'de> Deserialize<'de> for AlbumInfoData
impl<'de> Deserialize<'de> for AlbumInfoData
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 AlbumInfoData
impl PartialEq for AlbumInfoData
Source§impl Serialize for AlbumInfoData
impl Serialize for AlbumInfoData
impl Eq for AlbumInfoData
impl StructuralPartialEq for AlbumInfoData
Auto Trait Implementations§
impl Freeze for AlbumInfoData
impl RefUnwindSafe for AlbumInfoData
impl Send for AlbumInfoData
impl Sync for AlbumInfoData
impl Unpin for AlbumInfoData
impl UnwindSafe for AlbumInfoData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.