pub struct Credit {
pub title: String,
pub author: String,
pub source: String,
pub license: String,
pub tags: Vec<String>,
pub note: String,
}Expand description
One third-party work, for the credits screen (audio.md rule 3).
Fields§
§title: StringThe work’s title.
Its author, as they want to be credited.
source: StringThe page it came from.
license: StringOne of LICENSES.
Free tags (music, sfx, the cue, a mood, a place …).
note: StringWhich file or version we use, e.g. “V2 file”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Credit
impl<'de> Deserialize<'de> for Credit
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
impl Eq for Credit
impl StructuralPartialEq for Credit
Auto Trait Implementations§
impl Freeze for Credit
impl RefUnwindSafe for Credit
impl Send for Credit
impl Sync for Credit
impl Unpin for Credit
impl UnsafeUnpin for Credit
impl UnwindSafe for Credit
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