pub struct E621Post {Show 30 fields
pub id: i64,
pub tags: String,
pub description: String,
pub created_at: CreatedAt,
pub creator_id: i64,
pub author: String,
pub change: i64,
pub source: String,
pub score: i64,
pub fav_count: i64,
pub md5: String,
pub file_size: i64,
pub file_url: String,
pub file_ext: String,
pub preview_url: String,
pub preview_width: i64,
pub preview_height: i64,
pub sample_url: String,
pub sample_width: i64,
pub sample_height: i64,
pub rating: String,
pub status: String,
pub width: i64,
pub height: i64,
pub has_comments: bool,
pub has_notes: bool,
pub has_children: bool,
pub children: String,
pub artist: Vec<String>,
pub sources: Vec<String>,
}
Fields§
§id: i64
§description: String
§created_at: CreatedAt
§creator_id: i64
§change: i64
§source: String
§score: i64
§fav_count: i64
§md5: String
§file_size: i64
§file_url: String
§file_ext: String
§preview_url: String
§preview_width: i64
§preview_height: i64
§sample_url: String
§sample_width: i64
§sample_height: i64
§rating: String
§status: String
§width: i64
§height: i64
§has_comments: bool
§has_notes: bool
§has_children: bool
§children: String
§artist: Vec<String>
§sources: Vec<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for E621Post
impl<'de> Deserialize<'de> for E621Post
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 E621Post
impl RefUnwindSafe for E621Post
impl Send for E621Post
impl Sync for E621Post
impl Unpin for E621Post
impl UnwindSafe for E621Post
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more