pub struct CommentViewerCreate {
pub name: String,
pub sort_key: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Create a visibility category for person comments/notes. Creating the category does not grant anyone permission to read its content.
Fields§
§name: StringTrimmed display name or translation key, 1–50 characters. No uniqueness constraint is applied.
sort_key: Option<i64>Nonnegative display sort key; defaults to 0.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for CommentViewerCreate
impl Clone for CommentViewerCreate
Source§impl Debug for CommentViewerCreate
impl Debug for CommentViewerCreate
Source§impl Default for CommentViewerCreate
impl Default for CommentViewerCreate
Source§impl<'de> Deserialize<'de> for CommentViewerCreate
impl<'de> Deserialize<'de> for CommentViewerCreate
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 CommentViewerCreate
impl PartialEq for CommentViewerCreate
Source§impl Serialize for CommentViewerCreate
impl Serialize for CommentViewerCreate
impl StructuralPartialEq for CommentViewerCreate
Auto Trait Implementations§
impl Freeze for CommentViewerCreate
impl RefUnwindSafe for CommentViewerCreate
impl Send for CommentViewerCreate
impl Sync for CommentViewerCreate
impl Unpin for CommentViewerCreate
impl UnsafeUnpin for CommentViewerCreate
impl UnwindSafe for CommentViewerCreate
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