pub struct Dependency {
pub fmt: String,
pub typ: DependencyType,
pub on: Option<(String, Vec<String>)>,
}Expand description
One dependent-fmt SP dependency-tag of a=depend (RFC 5583 section 5.2.2): the format
of this media description, its dependency type, and at most one identification tag with
the formats of that media description it depends on (any of them suffices).
Fields§
§fmt: Stringdependent-fmt.
typ: DependencyTypedependency-type.
on: Option<(String, Vec<String>)>identification-tag ":" fmt-dependency *("," fmt-dependency), when present.
Trait Implementations§
Source§impl Clone for Dependency
impl Clone for Dependency
Source§impl Debug for Dependency
impl Debug for Dependency
impl Eq for Dependency
Source§impl PartialEq for Dependency
impl PartialEq for Dependency
impl StructuralPartialEq for Dependency
Auto Trait Implementations§
impl Forget for Dependency
impl Freeze for Dependency
impl Move for Dependency
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnsafeUnpin for Dependency
impl UnwindSafe for Dependency
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