#[non_exhaustive]pub enum SourcePayload {
Scte35 {
raw: Vec<u8>,
},
Emsg {
scheme_id_uri: String,
value: String,
raw: Vec<u8>,
},
}Expand description
The lossless original payload, carried verbatim.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Scte35
A SCTE-35 splice_info_section, verbatim.
Emsg
A DASH emsg: its scheme/value plus the verbatim message_data.
Trait Implementations§
Source§impl Clone for SourcePayload
impl Clone for SourcePayload
Source§fn clone(&self) -> SourcePayload
fn clone(&self) -> SourcePayload
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 SourcePayload
impl Debug for SourcePayload
Source§impl<'de> Deserialize<'de> for SourcePayload
impl<'de> Deserialize<'de> for SourcePayload
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
impl Eq for SourcePayload
Source§impl PartialEq for SourcePayload
impl PartialEq for SourcePayload
Source§fn eq(&self, other: &SourcePayload) -> bool
fn eq(&self, other: &SourcePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourcePayload
impl Serialize for SourcePayload
impl StructuralPartialEq for SourcePayload
Auto Trait Implementations§
impl Freeze for SourcePayload
impl RefUnwindSafe for SourcePayload
impl Send for SourcePayload
impl Sync for SourcePayload
impl Unpin for SourcePayload
impl UnsafeUnpin for SourcePayload
impl UnwindSafe for SourcePayload
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