pub struct KbAnswer {
pub id: u64,
pub title: Option<String>,
pub category_id: Option<u64>,
pub category: Option<String>,
pub published: bool,
pub body: Option<String>,
}Expand description
A single Knowledge Base answer, flattened from Zammad’s assets bundle.
Fields§
§id: u64Numeric answer id (stable; accepted by KnowledgeBaseApi::get).
title: Option<String>Answer title, in the Knowledge Base’s primary locale.
category_id: Option<u64>Id of the category the answer belongs to.
category: Option<String>Title of that category, in the primary locale.
published: boolWhether the answer has been published.
body: Option<String>The answer body (HTML). Only populated by KnowledgeBaseApi::get;
always None for KnowledgeBaseApi::list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KbAnswer
impl RefUnwindSafe for KbAnswer
impl Send for KbAnswer
impl Sync for KbAnswer
impl Unpin for KbAnswer
impl UnsafeUnpin for KbAnswer
impl UnwindSafe for KbAnswer
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