pub struct ContentDescriptor {
pub entries: Vec<ContentEntry>,
}Expand description
Content Descriptor.
Fields§
§entries: Vec<ContentEntry>Entries in wire order. EIT events can carry multiple genre entries.
Trait Implementations§
Source§impl Clone for ContentDescriptor
impl Clone for ContentDescriptor
Source§fn clone(&self) -> ContentDescriptor
fn clone(&self) -> ContentDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContentDescriptor
impl Debug for ContentDescriptor
Source§impl<'a> Descriptor<'a> for ContentDescriptor
impl<'a> Descriptor<'a> for ContentDescriptor
Source§impl<'a> DescriptorDef<'a> for ContentDescriptor
impl<'a> DescriptorDef<'a> for ContentDescriptor
impl Eq for ContentDescriptor
Source§impl<'a> From<ContentDescriptor> for AnyDescriptor<'a>
impl<'a> From<ContentDescriptor> for AnyDescriptor<'a>
Source§fn from(d: ContentDescriptor) -> Self
fn from(d: ContentDescriptor) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for ContentDescriptor
impl<'a> Parse<'a> for ContentDescriptor
Source§impl PartialEq for ContentDescriptor
impl PartialEq for ContentDescriptor
Source§fn eq(&self, other: &ContentDescriptor) -> bool
fn eq(&self, other: &ContentDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentDescriptor
impl Serialize for ContentDescriptor
Source§impl Serialize for ContentDescriptor
impl Serialize for ContentDescriptor
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for ContentDescriptor
Auto Trait Implementations§
impl Freeze for ContentDescriptor
impl RefUnwindSafe for ContentDescriptor
impl Send for ContentDescriptor
impl Sync for ContentDescriptor
impl Unpin for ContentDescriptor
impl UnsafeUnpin for ContentDescriptor
impl UnwindSafe for ContentDescriptor
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