pub struct StreamDependencyParams {
pub dependency_id: StreamId,
pub weight: u8,
pub is_exclusive: bool,
}Fields§
§dependency_id: StreamIdThe ID of the stream dependency target
weight: u8The weight for the stream. The value exposed (and set) here is always in
the range [0, 255], instead of [1, 256] (as defined in section 5.3.2.)
so that the value fits into a u8.
is_exclusive: boolTrue if the stream dependency is exclusive.
Trait Implementations§
Source§impl Clone for StreamDependencyParams
impl Clone for StreamDependencyParams
Source§fn clone(&self) -> StreamDependencyParams
fn clone(&self) -> StreamDependencyParams
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamDependencyParams
impl Debug for StreamDependencyParams
Source§impl<'de> Deserialize<'de> for StreamDependencyParams
impl<'de> Deserialize<'de> for StreamDependencyParams
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 PartialEq for StreamDependencyParams
impl PartialEq for StreamDependencyParams
Source§impl Serialize for StreamDependencyParams
impl Serialize for StreamDependencyParams
impl Eq for StreamDependencyParams
impl StructuralPartialEq for StreamDependencyParams
Auto Trait Implementations§
impl Freeze for StreamDependencyParams
impl RefUnwindSafe for StreamDependencyParams
impl Send for StreamDependencyParams
impl Sync for StreamDependencyParams
impl Unpin for StreamDependencyParams
impl UnwindSafe for StreamDependencyParams
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