pub struct NewKbCategory {
pub title: String,
pub icon: Option<String>,
pub parent_id: Option<u64>,
}Expand description
Fields for creating a Knowledge Base category via
KnowledgeBaseApi::create_category.
icon: None → "f115" (the docs’ example icon; Zammad requires an
icon). parent_id: None → top-level category.
Fields§
§title: StringCategory title (primary locale).
icon: Option<String>FontAwesome icon code; None falls back to "f115".
parent_id: Option<u64>Parent category id; None creates a top-level category.
Trait Implementations§
Source§impl Clone for NewKbCategory
impl Clone for NewKbCategory
Auto Trait Implementations§
impl Freeze for NewKbCategory
impl RefUnwindSafe for NewKbCategory
impl Send for NewKbCategory
impl Sync for NewKbCategory
impl Unpin for NewKbCategory
impl UnsafeUnpin for NewKbCategory
impl UnwindSafe for NewKbCategory
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