pub struct KbCategoryPatch {
pub title: Option<String>,
pub icon: Option<String>,
pub parent_id: Option<Option<u64>>,
}Expand description
A partial update for KnowledgeBaseApi::update_category. Every field is
optional; None leaves the current value untouched.
Fields§
§title: Option<String>New title.
icon: Option<String>New FontAwesome icon code.
parent_id: Option<Option<u64>>Tri-state parent_id: None = unchanged, Some(None) = clear
parent, Some(Some(id)) = set parent.
Trait Implementations§
Source§impl Clone for KbCategoryPatch
impl Clone for KbCategoryPatch
Source§impl Debug for KbCategoryPatch
impl Debug for KbCategoryPatch
Auto Trait Implementations§
impl Freeze for KbCategoryPatch
impl RefUnwindSafe for KbCategoryPatch
impl Send for KbCategoryPatch
impl Sync for KbCategoryPatch
impl Unpin for KbCategoryPatch
impl UnsafeUnpin for KbCategoryPatch
impl UnwindSafe for KbCategoryPatch
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