pub struct CreditEntry {
pub group: CreditGroup,
pub title: String,
pub author: String,
pub license: String,
pub source: String,
}Expand description
One work as the credits screen shows it.
Fields§
§group: CreditGroupThe heading it goes under.
title: StringThe work’s title.
Its author.
license: StringIts license (an SPDX id, e.g. CC-BY-4.0).
source: StringThe page it came from.
Trait Implementations§
Source§impl Clone for CreditEntry
impl Clone for CreditEntry
Source§fn clone(&self) -> CreditEntry
fn clone(&self) -> CreditEntry
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 CreditEntry
impl Debug for CreditEntry
impl Eq for CreditEntry
Source§impl PartialEq for CreditEntry
impl PartialEq for CreditEntry
impl StructuralPartialEq for CreditEntry
Auto Trait Implementations§
impl Freeze for CreditEntry
impl RefUnwindSafe for CreditEntry
impl Send for CreditEntry
impl Sync for CreditEntry
impl Unpin for CreditEntry
impl UnsafeUnpin for CreditEntry
impl UnwindSafe for CreditEntry
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