pub struct MetadataMediaContainer {
Show 32 fields pub key: Option<String>, pub rating_key: Option<String>, pub augmentation_key: Option<String>, pub title: Option<String>, pub title1: Option<String>, pub title2: Option<String>, pub summary: Option<String>, pub duration: Option<u64>, pub allow_sync: Option<bool>, pub no_cache: Option<bool>, pub sort_asc: Option<bool>, pub smart: Option<bool>, pub thumb: Option<String>, pub art: Option<String>, pub theme: Option<String>, pub composite: Option<String>, pub banner: Option<String>, pub library_section_id: Option<u32>, pub library_section_title: Option<String>, pub library_section_uuid: Option<String>, pub parent: ParentMetadata, pub grand_parent: GrandParentMetadata, pub media_container: MediaContainer, pub media_tag_prefix: Option<String>, pub media_tag_version: Option<OffsetDateTime>, pub mixed_parents: Option<bool>, pub view_group: Option<String>, pub view_mode: Option<u32>, pub leaf_count: Option<u32>, pub playlist_type: Option<PlaylistMetadataType>, pub directories: Vec<Value>, pub metadata: Vec<Metadata>,
}

Fields§

§key: Option<String>§rating_key: Option<String>§augmentation_key: Option<String>§title: Option<String>§title1: Option<String>§title2: Option<String>§summary: Option<String>§duration: Option<u64>§allow_sync: Option<bool>§no_cache: Option<bool>§sort_asc: Option<bool>§smart: Option<bool>§thumb: Option<String>§art: Option<String>§theme: Option<String>§composite: Option<String>§banner: Option<String>§library_section_id: Option<u32>§library_section_title: Option<String>§library_section_uuid: Option<String>§parent: ParentMetadata§grand_parent: GrandParentMetadata§media_container: MediaContainer§media_tag_prefix: Option<String>§media_tag_version: Option<OffsetDateTime>§mixed_parents: Option<bool>§view_group: Option<String>§view_mode: Option<u32>§leaf_count: Option<u32>§playlist_type: Option<PlaylistMetadataType>§directories: Vec<Value>§metadata: Vec<Metadata>

Trait Implementations§

source§

impl Clone for MetadataMediaContainer

source§

fn clone(&self) -> MetadataMediaContainer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MetadataMediaContainer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MetadataMediaContainer

source§

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§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,