pub struct PrivateCommand<'a> {
pub identifier: u32,
pub private_bytes: &'a [u8],
}Expand description
private_command() — §9.7.6, Table 13.
Fields§
§identifier: u3232-bit registration identifier (SMPTE Registration Authority format).
private_bytes: &'a [u8]The remaining private_byte payload, verbatim.
Trait Implementations§
Source§impl<'a> Clone for PrivateCommand<'a>
impl<'a> Clone for PrivateCommand<'a>
Source§fn clone(&self) -> PrivateCommand<'a>
fn clone(&self) -> PrivateCommand<'a>
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<'a> CommandDef<'a> for PrivateCommand<'a>
impl<'a> CommandDef<'a> for PrivateCommand<'a>
impl<'a> Copy for PrivateCommand<'a>
Source§impl<'a> Debug for PrivateCommand<'a>
impl<'a> Debug for PrivateCommand<'a>
impl<'a> Eq for PrivateCommand<'a>
Source§impl<'a> From<PrivateCommand<'a>> for AnyCommand<'a>
impl<'a> From<PrivateCommand<'a>> for AnyCommand<'a>
Source§fn from(c: PrivateCommand<'a>) -> Self
fn from(c: PrivateCommand<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for PrivateCommand<'a>
impl<'a> Parse<'a> for PrivateCommand<'a>
Source§impl<'a> PartialEq for PrivateCommand<'a>
impl<'a> PartialEq for PrivateCommand<'a>
Source§fn eq(&self, other: &PrivateCommand<'a>) -> bool
fn eq(&self, other: &PrivateCommand<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for PrivateCommand<'a>
impl<'a> Serialize for PrivateCommand<'a>
Source§impl Serialize for PrivateCommand<'_>
impl Serialize for PrivateCommand<'_>
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<'a> StructuralPartialEq for PrivateCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for PrivateCommand<'a>
impl<'a> RefUnwindSafe for PrivateCommand<'a>
impl<'a> Send for PrivateCommand<'a>
impl<'a> Sync for PrivateCommand<'a>
impl<'a> Unpin for PrivateCommand<'a>
impl<'a> UnsafeUnpin for PrivateCommand<'a>
impl<'a> UnwindSafe for PrivateCommand<'a>
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