pub struct RecordingStateUpdate {
pub state: RecordingState,
pub stop_code: Option<StopCode>,
}Expand description
recording state update emitted to clients and observers
stop_code is present only when the update explains why a recording session
stopped
Fields§
§state: RecordingState§stop_code: Option<StopCode>present only when a recording became inactive
Trait Implementations§
Source§impl Clone for RecordingStateUpdate
impl Clone for RecordingStateUpdate
Source§fn clone(&self) -> RecordingStateUpdate
fn clone(&self) -> RecordingStateUpdate
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 RecordingStateUpdate
impl Debug for RecordingStateUpdate
Source§impl<'de> Deserialize<'de> for RecordingStateUpdate
impl<'de> Deserialize<'de> for RecordingStateUpdate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecordingStateUpdate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecordingStateUpdate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RecordingStateUpdate
impl PartialEq for RecordingStateUpdate
Source§impl Serialize for RecordingStateUpdate
impl Serialize for RecordingStateUpdate
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for RecordingStateUpdate
impl StructuralPartialEq for RecordingStateUpdate
Auto Trait Implementations§
impl Freeze for RecordingStateUpdate
impl RefUnwindSafe for RecordingStateUpdate
impl Send for RecordingStateUpdate
impl Sync for RecordingStateUpdate
impl Unpin for RecordingStateUpdate
impl UnsafeUnpin for RecordingStateUpdate
impl UnwindSafe for RecordingStateUpdate
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