pub struct FeedPost {Show 16 fields
pub _id: String,
pub tenant_id: String,
pub title: Option<String>,
pub from_user_id: Option<String>,
pub from_user_display_name: Option<Option<String>>,
pub from_user_avatar: Option<Option<String>>,
pub from_ip_hash: Option<String>,
pub tags: Option<Vec<String>>,
pub weight: Option<f64>,
pub meta: Option<HashMap<String, String>>,
pub content_html: Option<String>,
pub media: Option<Vec<FeedPostMediaItem>>,
pub links: Option<Vec<FeedPostLink>>,
pub created_at: String,
pub reacts: Option<HashMap<String, i32>>,
pub comment_count: Option<Option<i32>>,
}Fields§
§_id: String§tenant_id: String§title: Option<String>§from_user_id: Option<String>§from_user_display_name: Option<Option<String>>§from_user_avatar: Option<Option<String>>§from_ip_hash: Option<String>§weight: Option<f64>§meta: Option<HashMap<String, String>>Construct a type with a set of properties K of type T
content_html: Option<String>§media: Option<Vec<FeedPostMediaItem>>§links: Option<Vec<FeedPostLink>>§created_at: String§reacts: Option<HashMap<String, i32>>§comment_count: Option<Option<i32>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeedPost
impl<'de> Deserialize<'de> for FeedPost
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
impl StructuralPartialEq for FeedPost
Auto Trait Implementations§
impl Freeze for FeedPost
impl RefUnwindSafe for FeedPost
impl Send for FeedPost
impl Sync for FeedPost
impl Unpin for FeedPost
impl UnwindSafe for FeedPost
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