pub struct SongCategoryUpdate {
pub campus_id: Option<Option<i64>>,
pub name: String,
pub sort_key: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Input for replacing a 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 SongCategoryUpdate
impl Clone for SongCategoryUpdate
Source§impl Debug for SongCategoryUpdate
impl Debug for SongCategoryUpdate
Source§impl Default for SongCategoryUpdate
impl Default for SongCategoryUpdate
Source§impl<'de> Deserialize<'de> for SongCategoryUpdate
impl<'de> Deserialize<'de> for SongCategoryUpdate
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 SongCategoryUpdate
impl PartialEq for SongCategoryUpdate
Source§impl Serialize for SongCategoryUpdate
impl Serialize for SongCategoryUpdate
impl StructuralPartialEq for SongCategoryUpdate
Auto Trait Implementations§
impl Forget for SongCategoryUpdate
impl Freeze for SongCategoryUpdate
impl Move for SongCategoryUpdate
impl RefUnwindSafe for SongCategoryUpdate
impl Send for SongCategoryUpdate
impl Sync for SongCategoryUpdate
impl Unpin for SongCategoryUpdate
impl UnsafeUnpin for SongCategoryUpdate
impl UnwindSafe for SongCategoryUpdate
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