pub struct WikiCategoryCreate {
pub campus_id: Option<Option<i64>>,
pub file_access_without_permission: bool,
pub in_menu: bool,
pub name: String,
pub sort_key: i64,
pub extra: Map<String, Value>,
}Fields§
§campus_id: Option<Option<i64>>Optional campus association. Omission/null clears it; an unknown ID currently also resolves to no campus.
None leaves the field out, Some(None) sends null.
file_access_without_permission: boolWhether files in this wiki category can be read without category-view permission. This flag does not make the wiki pages themselves public.
Whether the category should appear in navigation menus; it is still returned by the category catalog when false.
name: StringCategory name; unlike page titles it is not trimmed.
sort_key: i64Sort order; negative values are accepted.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for WikiCategoryCreate
impl Clone for WikiCategoryCreate
Source§impl Debug for WikiCategoryCreate
impl Debug for WikiCategoryCreate
Source§impl Default for WikiCategoryCreate
impl Default for WikiCategoryCreate
Source§impl<'de> Deserialize<'de> for WikiCategoryCreate
impl<'de> Deserialize<'de> for WikiCategoryCreate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WikiCategoryCreate
impl PartialEq for WikiCategoryCreate
Source§impl Serialize for WikiCategoryCreate
impl Serialize for WikiCategoryCreate
impl StructuralPartialEq for WikiCategoryCreate
Auto Trait Implementations§
impl Freeze for WikiCategoryCreate
impl RefUnwindSafe for WikiCategoryCreate
impl Send for WikiCategoryCreate
impl Sync for WikiCategoryCreate
impl Unpin for WikiCategoryCreate
impl UnsafeUnpin for WikiCategoryCreate
impl UnwindSafe for WikiCategoryCreate
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