pub struct StreamStateUpdated {
pub stream_id: u64,
pub stream_type: Option<StreamType>,
pub old: Option<StreamState>,
pub new: StreamState,
pub stream_side: Option<StreamSide>,
}
Fields§
§stream_id: u64
§stream_type: Option<StreamType>
§old: Option<StreamState>
§new: StreamState
§stream_side: Option<StreamSide>
Trait Implementations§
Source§impl Clone for StreamStateUpdated
impl Clone for StreamStateUpdated
Source§fn clone(&self) -> StreamStateUpdated
fn clone(&self) -> StreamStateUpdated
Returns a copy 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 StreamStateUpdated
impl Debug for StreamStateUpdated
Source§impl<'de> Deserialize<'de> for StreamStateUpdated
impl<'de> Deserialize<'de> for StreamStateUpdated
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 StreamStateUpdated
impl PartialEq for StreamStateUpdated
Source§impl Serialize for StreamStateUpdated
impl Serialize for StreamStateUpdated
impl Eq for StreamStateUpdated
impl StructuralPartialEq for StreamStateUpdated
Auto Trait Implementations§
impl Freeze for StreamStateUpdated
impl RefUnwindSafe for StreamStateUpdated
impl Send for StreamStateUpdated
impl Sync for StreamStateUpdated
impl Unpin for StreamStateUpdated
impl UnwindSafe for StreamStateUpdated
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.