Struct meztide::api_models::PostListPost
source · pub struct PostListPost {
pub base: MinimalPostInfo,
pub content: Content,
pub href: Option<Box<str>>,
pub author: Option<MinimalAuthorInfo>,
pub created: DateTime<FixedOffset>,
pub community: MinimalCommunityInfo,
pub replies_count_total: Option<i64>,
pub relevance: Option<f32>,
pub score: i64,
pub sticky: bool,
pub your_vote: Option<Empty>,
}
Fields§
§base: MinimalPostInfo
§content: Content
§href: Option<Box<str>>
§created: DateTime<FixedOffset>
§community: MinimalCommunityInfo
§replies_count_total: Option<i64>
§relevance: Option<f32>
§score: i64
§sticky: bool
§your_vote: Option<Empty>
Implementations§
Trait Implementations§
source§impl Debug for PostListPost
impl Debug for PostListPost
source§impl<'de> Deserialize<'de> for PostListPost
impl<'de> Deserialize<'de> for PostListPost
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 RefUnwindSafe for PostListPost
impl Send for PostListPost
impl Sync for PostListPost
impl Unpin for PostListPost
impl UnwindSafe for PostListPost
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