pub struct BreakDuration {
pub auto_return: bool,
pub duration: u64,
}Expand description
break_duration() — §9.8.2, Table 15.
Fields§
§auto_return: boolauto_return: when true, the splicer uses duration to know when to
return to the network feed (§9.9.2.2).
duration: u6433-bit elapsed time of the break in 90 kHz ticks.
Implementations§
Source§impl BreakDuration
impl BreakDuration
Trait Implementations§
Source§impl Clone for BreakDuration
impl Clone for BreakDuration
Source§fn clone(&self) -> BreakDuration
fn clone(&self) -> BreakDuration
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 moreimpl Copy for BreakDuration
Source§impl Debug for BreakDuration
impl Debug for BreakDuration
Source§impl Default for BreakDuration
impl Default for BreakDuration
Source§fn default() -> BreakDuration
fn default() -> BreakDuration
Returns the “default value” for a type. Read more
impl Eq for BreakDuration
Source§impl<'a> Parse<'a> for BreakDuration
impl<'a> Parse<'a> for BreakDuration
Source§impl PartialEq for BreakDuration
impl PartialEq for BreakDuration
Source§fn eq(&self, other: &BreakDuration) -> bool
fn eq(&self, other: &BreakDuration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BreakDuration
impl Serialize for BreakDuration
Source§impl Serialize for BreakDuration
impl Serialize for BreakDuration
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 BreakDuration
Auto Trait Implementations§
impl Freeze for BreakDuration
impl RefUnwindSafe for BreakDuration
impl Send for BreakDuration
impl Sync for BreakDuration
impl Unpin for BreakDuration
impl UnsafeUnpin for BreakDuration
impl UnwindSafe for BreakDuration
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