#[non_exhaustive]pub struct MediaCredit {
pub role: Option<String>,
pub scheme: Option<String>,
pub content: String,
}Expand description
Media RSS credit element (media:credit)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.role: Option<String>Credit role (e.g., “author”, “producer”)
scheme: Option<String>Credit scheme URI (default: “urn:ebu”)
content: StringCredit text content (person/entity name)
Trait Implementations§
Source§impl Clone for MediaCredit
impl Clone for MediaCredit
Source§impl Debug for MediaCredit
impl Debug for MediaCredit
Auto Trait Implementations§
impl Forget for MediaCredit
impl Freeze for MediaCredit
impl Move for MediaCredit
impl RefUnwindSafe for MediaCredit
impl Send for MediaCreditwhere
RawVecInner: Send,
impl Sync for MediaCreditwhere
RawVecInner: Sync,
impl Unpin for MediaCredit
impl UnsafeUnpin for MediaCredit
impl UnwindSafe for MediaCreditwhere
RawVecInner: UnwindSafe,
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