pub struct SongSourceUpdate {
pub name: String,
pub shorty: Option<Option<String>>,
pub sort_key: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Input for replacing a song source.
Fields§
§name: StringConfigurable source name.
shorty: Option<Option<String>>Display abbreviation.
None leaves the field out, Some(None) sends null.
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 SongSourceUpdate
impl Clone for SongSourceUpdate
Source§impl Debug for SongSourceUpdate
impl Debug for SongSourceUpdate
Source§impl Default for SongSourceUpdate
impl Default for SongSourceUpdate
Source§impl<'de> Deserialize<'de> for SongSourceUpdate
impl<'de> Deserialize<'de> for SongSourceUpdate
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 SongSourceUpdate
impl PartialEq for SongSourceUpdate
Source§impl Serialize for SongSourceUpdate
impl Serialize for SongSourceUpdate
impl StructuralPartialEq for SongSourceUpdate
Auto Trait Implementations§
impl Freeze for SongSourceUpdate
impl RefUnwindSafe for SongSourceUpdate
impl Send for SongSourceUpdate
impl Sync for SongSourceUpdate
impl Unpin for SongSourceUpdate
impl UnsafeUnpin for SongSourceUpdate
impl UnwindSafe for SongSourceUpdate
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