pub struct CreditAttribute {
pub id: Option<String>,
pub name: String,
pub value: Option<String>,
pub credited_as: Option<String>,
}Expand description
One attribute modifying a credit relationship.
Fields§
§id: Option<String>Stable source identifier of the attribute type, when one exists.
name: StringStable attribute name, such as guitar, additional or guest.
value: Option<String>Structured value when the attribute type accepts one.
credited_as: Option<String>Exact wording printed in the original credit.
Trait Implementations§
Source§impl Clone for CreditAttribute
impl Clone for CreditAttribute
Source§fn clone(&self) -> CreditAttribute
fn clone(&self) -> CreditAttribute
Returns a duplicate of the value. Read more
1.0.0 · 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 CreditAttribute
impl Debug for CreditAttribute
Source§impl PartialEq for CreditAttribute
impl PartialEq for CreditAttribute
impl Eq for CreditAttribute
impl StructuralPartialEq for CreditAttribute
Auto Trait Implementations§
impl Freeze for CreditAttribute
impl RefUnwindSafe for CreditAttribute
impl Send for CreditAttribute
impl Sync for CreditAttribute
impl Unpin for CreditAttribute
impl UnwindSafe for CreditAttribute
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