Struct threads_api::types::ThreadItem
source · pub struct ThreadItem {
pub likes: u32,
pub text: String,
pub published_at: u64,
pub images: Vec<Media>,
pub user: ProfileDetail,
}Expand description
A post in a thread.
Fields§
§likes: u32§text: String§published_at: u64§images: Vec<Media>§user: ProfileDetailAuto Trait Implementations§
impl RefUnwindSafe for ThreadItem
impl Send for ThreadItem
impl Sync for ThreadItem
impl Unpin for ThreadItem
impl UnwindSafe for ThreadItem
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