pub struct CollaborationCredit {
pub role: String,
pub name: String,
pub timestamp_ms: Option<u64>,
}Expand description
Collaboration credit with role and optional timestamp
Fields§
§role: StringRole (e.g., “Lead Vocals”, “Bass Guitar”, “Mixing”)
name: StringPerson’s name
timestamp_ms: Option<u64>Optional timestamp for when they appear (e.g., guitar solo at 2:00)
Trait Implementations§
Source§impl Clone for CollaborationCredit
impl Clone for CollaborationCredit
Source§fn clone(&self) -> CollaborationCredit
fn clone(&self) -> CollaborationCredit
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 CollaborationCredit
impl Debug for CollaborationCredit
Source§impl<'de> Deserialize<'de> for CollaborationCredit
impl<'de> Deserialize<'de> for CollaborationCredit
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
Auto Trait Implementations§
impl Freeze for CollaborationCredit
impl RefUnwindSafe for CollaborationCredit
impl Send for CollaborationCredit
impl Sync for CollaborationCredit
impl Unpin for CollaborationCredit
impl UnwindSafe for CollaborationCredit
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