pub struct SongSource {
pub id: i64,
pub meta: MetaDataEntityId,
pub name: String,
pub name_translated: String,
pub shorty: Option<String>,
pub sort_key: i64,
pub extra: Map<String, Value>,
}Expand description
Source associated with song arrangements, such as a hymnal or songbook.
Fields§
§id: i64§meta: MetaDataEntityId§name: StringStored, configurable name.
name_translated: StringDisplay name after translation, or the original name when no translation is available.
shorty: Option<String>§sort_key: i64Display 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 SongSource
impl Clone for SongSource
Source§impl Debug for SongSource
impl Debug for SongSource
Source§impl Default for SongSource
impl Default for SongSource
Source§impl<'de> Deserialize<'de> for SongSource
impl<'de> Deserialize<'de> for SongSource
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 SongSource
impl PartialEq for SongSource
Source§impl Serialize for SongSource
impl Serialize for SongSource
impl StructuralPartialEq for SongSource
Auto Trait Implementations§
impl Freeze for SongSource
impl RefUnwindSafe for SongSource
impl Send for SongSource
impl Sync for SongSource
impl Unpin for SongSource
impl UnsafeUnpin for SongSource
impl UnwindSafe for SongSource
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