Credit

Struct Credit 

Source
pub struct Credit {
    pub role: Role,
    pub order: Option<i16>,
    pub name: Vec<Name>,
    pub credited_person_info: Option<CreditedPersonInfo>,
    pub character: Option<Vec<Character>>,
}

Fields§

§role: Role

Attribute role will be used to define the credited role, see Credited Role for values. It is highly recommended to include at least one director and/or major actor.

§order: Option<i16>

Attribute order will be used to sequence the credits for this item. If order is not provided, credits will be sequenced based on order of appearance in the feed. Typically credits are provided in billing order.

§name: Vec<Name>

Specifies the official name of the credited entity.

1 to 255 characters in length.

§credited_person_info: Option<CreditedPersonInfo>§character: Option<Vec<Character>>

Auto Trait Implementations§

§

impl Freeze for Credit

§

impl RefUnwindSafe for Credit

§

impl Send for Credit

§

impl Sync for Credit

§

impl Unpin for Credit

§

impl UnwindSafe for Credit

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.