pub struct GroupCategoryCreate {
pub color: String,
pub description: Option<Option<String>>,
pub name: String,
pub sort_key: i64,
pub extra: Map<String, Value>,
}Fields§
§color: StringChurchTools color token used to display the category, such as blue.
Allowed values: accent, amber, basic, blue, constructive, critical, cyan, destructive, emerald, error, fuchsia, gray, green, indigo, info, lime, magic, orange, pink, purple, red, rose, sky, success, teal, violet, warning, yellow.
description: Option<Option<String>>Optional explanation of the category. Omitted, null or blank input is stored as null, including on update.
None leaves the field out, Some(None) sends null.
name: StringStored label configured in this installation. Use nameTranslated from the response for a localized display name.
sort_key: i64Display order. Lower values come first; list endpoints sort equal values by the stored name.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for GroupCategoryCreate
impl Clone for GroupCategoryCreate
Source§impl Debug for GroupCategoryCreate
impl Debug for GroupCategoryCreate
Source§impl Default for GroupCategoryCreate
impl Default for GroupCategoryCreate
Source§impl<'de> Deserialize<'de> for GroupCategoryCreate
impl<'de> Deserialize<'de> for GroupCategoryCreate
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 GroupCategoryCreate
impl PartialEq for GroupCategoryCreate
Source§impl Serialize for GroupCategoryCreate
impl Serialize for GroupCategoryCreate
impl StructuralPartialEq for GroupCategoryCreate
Auto Trait Implementations§
impl Freeze for GroupCategoryCreate
impl RefUnwindSafe for GroupCategoryCreate
impl Send for GroupCategoryCreate
impl Sync for GroupCategoryCreate
impl Unpin for GroupCategoryCreate
impl UnsafeUnpin for GroupCategoryCreate
impl UnwindSafe for GroupCategoryCreate
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