pub struct FileCredit {
pub id: String,
pub group: CreditGroup,
pub title: String,
pub author: String,
pub source: String,
pub license: String,
pub hidden: bool,
pub private: Vec<String>,
}Expand description
One entry of the credits file.
Fields§
§id: StringStable id, unique in the file.
group: CreditGroupWhat kind of work it is; not an audio group.
title: StringThe work’s title.
Its author, as they want to be credited.
source: StringThe page it came from: the link in its THIRD_PARTY_ASSETS.md row.
license: StringOne of LICENSES; for a bought work, Custom (<seller>).
Kept off the credits screen: plumbing the player never sees.
private: Vec<String>For a bought work: the files of the private folder it covers, each
a path there or the start of one (units/). Empty for any other
work.
Implementations§
Trait Implementations§
Source§impl Clone for FileCredit
impl Clone for FileCredit
Source§fn clone(&self) -> FileCredit
fn clone(&self) -> FileCredit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileCredit
impl Debug for FileCredit
Source§impl<'de> Deserialize<'de> for FileCredit
impl<'de> Deserialize<'de> for FileCredit
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 FileCredit
Source§impl PartialEq for FileCredit
impl PartialEq for FileCredit
Source§impl Serialize for FileCredit
impl Serialize for FileCredit
impl StructuralPartialEq for FileCredit
Auto Trait Implementations§
impl Freeze for FileCredit
impl RefUnwindSafe for FileCredit
impl Send for FileCredit
impl Sync for FileCredit
impl Unpin for FileCredit
impl UnsafeUnpin for FileCredit
impl UnwindSafe for FileCredit
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