pub struct SongCategoryCreate {
pub campus_id: Option<Option<i64>>,
pub name: String,
pub sort_key: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Input for a configurable song category.
Fields§
§campus_id: Option<Option<i64>>Existing campus ID associated with the category.
None leaves the field out, Some(None) sends null.
name: StringConfigurable category name.
sort_key: Option<i64>Display order; lower values come first.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for SongCategoryCreate
impl Clone for SongCategoryCreate
Source§impl Debug for SongCategoryCreate
impl Debug for SongCategoryCreate
Source§impl Default for SongCategoryCreate
impl Default for SongCategoryCreate
Source§impl<'de> Deserialize<'de> for SongCategoryCreate
impl<'de> Deserialize<'de> for SongCategoryCreate
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 SongCategoryCreate
impl PartialEq for SongCategoryCreate
Source§impl Serialize for SongCategoryCreate
impl Serialize for SongCategoryCreate
impl StructuralPartialEq for SongCategoryCreate
Auto Trait Implementations§
impl Freeze for SongCategoryCreate
impl RefUnwindSafe for SongCategoryCreate
impl Send for SongCategoryCreate
impl Sync for SongCategoryCreate
impl Unpin for SongCategoryCreate
impl UnsafeUnpin for SongCategoryCreate
impl UnwindSafe for SongCategoryCreate
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