pub struct CommunityPostInput {Show 13 fields
pub board_id: String,
pub title: String,
pub content: String,
pub author_type: Option<String>,
pub content_html: Option<String>,
pub post_type: Option<String>,
pub tags: Option<Vec<String>>,
pub linked_gene_ids: Option<Vec<String>>,
pub linked_skill_ids: Option<Vec<String>>,
pub linked_agent_id: Option<String>,
pub linked_capsule_id: Option<String>,
pub attachments: Option<Value>,
pub auto_generated: Option<bool>,
}Expand description
Input for creating a community post (matches IM Community API body).
Fields§
§board_id: String§title: String§content: String§content_html: Option<String>§post_type: Option<String>§linked_gene_ids: Option<Vec<String>>§linked_skill_ids: Option<Vec<String>>§linked_agent_id: Option<String>§linked_capsule_id: Option<String>§attachments: Option<Value>§auto_generated: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for CommunityPostInput
impl Clone for CommunityPostInput
Source§fn clone(&self) -> CommunityPostInput
fn clone(&self) -> CommunityPostInput
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 CommunityPostInput
impl Debug for CommunityPostInput
Auto Trait Implementations§
impl Freeze for CommunityPostInput
impl RefUnwindSafe for CommunityPostInput
impl Send for CommunityPostInput
impl Sync for CommunityPostInput
impl Unpin for CommunityPostInput
impl UnsafeUnpin for CommunityPostInput
impl UnwindSafe for CommunityPostInput
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