pub struct SongSourceCreate {
pub name: String,
pub shorty: Option<Option<String>>,
pub sort_key: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Input for a song source, such as a hymnal or songbook.
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 SongSourceCreate
impl Clone for SongSourceCreate
Source§impl Debug for SongSourceCreate
impl Debug for SongSourceCreate
Source§impl Default for SongSourceCreate
impl Default for SongSourceCreate
Source§impl<'de> Deserialize<'de> for SongSourceCreate
impl<'de> Deserialize<'de> for SongSourceCreate
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 SongSourceCreate
impl PartialEq for SongSourceCreate
Source§impl Serialize for SongSourceCreate
impl Serialize for SongSourceCreate
impl StructuralPartialEq for SongSourceCreate
Auto Trait Implementations§
impl Freeze for SongSourceCreate
impl RefUnwindSafe for SongSourceCreate
impl Send for SongSourceCreate
impl Sync for SongSourceCreate
impl Unpin for SongSourceCreate
impl UnsafeUnpin for SongSourceCreate
impl UnwindSafe for SongSourceCreate
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