pub struct CreateFeedPostParams {
pub title: Option<String>,
pub content_html: Option<String>,
pub media: Option<Vec<FeedPostMediaItem>>,
pub links: Option<Vec<FeedPostLink>>,
pub from_user_id: Option<String>,
pub from_user_display_name: Option<String>,
pub tags: Option<Vec<String>>,
pub meta: Option<HashMap<String, String>>,
}Fields§
§title: Option<String>§content_html: Option<String>§media: Option<Vec<FeedPostMediaItem>>§links: Option<Vec<FeedPostLink>>§from_user_id: Option<String>§from_user_display_name: Option<String>§meta: Option<HashMap<String, String>>Construct a type with a set of properties K of type T
Implementations§
Source§impl CreateFeedPostParams
impl CreateFeedPostParams
pub fn new() -> CreateFeedPostParams
Trait Implementations§
Source§impl Clone for CreateFeedPostParams
impl Clone for CreateFeedPostParams
Source§fn clone(&self) -> CreateFeedPostParams
fn clone(&self) -> CreateFeedPostParams
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 CreateFeedPostParams
impl Debug for CreateFeedPostParams
Source§impl Default for CreateFeedPostParams
impl Default for CreateFeedPostParams
Source§fn default() -> CreateFeedPostParams
fn default() -> CreateFeedPostParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateFeedPostParams
impl<'de> Deserialize<'de> for CreateFeedPostParams
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 CreateFeedPostParams
impl PartialEq for CreateFeedPostParams
Source§impl Serialize for CreateFeedPostParams
impl Serialize for CreateFeedPostParams
impl StructuralPartialEq for CreateFeedPostParams
Auto Trait Implementations§
impl Freeze for CreateFeedPostParams
impl RefUnwindSafe for CreateFeedPostParams
impl Send for CreateFeedPostParams
impl Sync for CreateFeedPostParams
impl Unpin for CreateFeedPostParams
impl UnwindSafe for CreateFeedPostParams
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