pub struct NewKbAnswer {
pub category_id: u64,
pub title: String,
pub body: String,
pub published: bool,
}Expand description
Fields for creating a Knowledge Base answer via
KnowledgeBaseApi::create_answer.
Fields§
§category_id: u64Category the answer belongs to. The knowledge base and locale are resolved from it.
title: StringAnswer title.
body: StringAnswer body (HTML or plain text).
published: boolPublish the answer immediately (true) or leave it a draft (false).
Trait Implementations§
Source§impl Clone for NewKbAnswer
impl Clone for NewKbAnswer
Auto Trait Implementations§
impl Freeze for NewKbAnswer
impl RefUnwindSafe for NewKbAnswer
impl Send for NewKbAnswer
impl Sync for NewKbAnswer
impl Unpin for NewKbAnswer
impl UnsafeUnpin for NewKbAnswer
impl UnwindSafe for NewKbAnswer
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