pub enum CoreConstraintsNamespace {
Smpte2067_2_2013,
Smpte2067_2_2016,
Smpte2067_2_2020,
Unknown(String),
}Expand description
The detected SMPTE core constraints spec version, from inner xmlns declarations in CPLs.
CPL documents reference core constraints namespaces for elements defined in ST 2067-2. This is distinct from the CPL namespace (ST 2067-3) and determines which core constraint rules apply.
Variants§
Smpte2067_2_2013
SMPTE ST 2067-2:2013 — http://www.smpte-ra.org/schemas/2067-2/2013
Smpte2067_2_2016
SMPTE ST 2067-2:2016 — http://www.smpte-ra.org/schemas/2067-2/2016
Smpte2067_2_2020
SMPTE ST 2067-2:2020 — http://www.smpte-ra.org/ns/2067-2/2020
Unknown(String)
Unrecognised namespace; the original URI is preserved.
Implementations§
Trait Implementations§
Source§impl Clone for CoreConstraintsNamespace
impl Clone for CoreConstraintsNamespace
Source§fn clone(&self) -> CoreConstraintsNamespace
fn clone(&self) -> CoreConstraintsNamespace
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 CoreConstraintsNamespace
impl Debug for CoreConstraintsNamespace
Source§impl Default for CoreConstraintsNamespace
impl Default for CoreConstraintsNamespace
Source§fn default() -> CoreConstraintsNamespace
fn default() -> CoreConstraintsNamespace
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoreConstraintsNamespace
impl<'de> Deserialize<'de> for CoreConstraintsNamespace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CoreConstraintsNamespace
impl Display for CoreConstraintsNamespace
impl Eq for CoreConstraintsNamespace
Source§impl Hash for CoreConstraintsNamespace
impl Hash for CoreConstraintsNamespace
Source§impl PartialEq for CoreConstraintsNamespace
impl PartialEq for CoreConstraintsNamespace
Source§fn eq(&self, other: &CoreConstraintsNamespace) -> bool
fn eq(&self, other: &CoreConstraintsNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CoreConstraintsNamespace
impl Serialize for CoreConstraintsNamespace
impl StructuralPartialEq for CoreConstraintsNamespace
Auto Trait Implementations§
impl Freeze for CoreConstraintsNamespace
impl RefUnwindSafe for CoreConstraintsNamespace
impl Send for CoreConstraintsNamespace
impl Sync for CoreConstraintsNamespace
impl Unpin for CoreConstraintsNamespace
impl UnsafeUnpin for CoreConstraintsNamespace
impl UnwindSafe for CoreConstraintsNamespace
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