pub struct StreamStartedEvent {
pub id: Option<String>,
}Fields§
§id: Option<String>Implementations§
Source§impl StreamStartedEvent
impl StreamStartedEvent
pub fn new() -> StreamStartedEvent
Trait Implementations§
Source§impl Clone for StreamStartedEvent
impl Clone for StreamStartedEvent
Source§fn clone(&self) -> StreamStartedEvent
fn clone(&self) -> StreamStartedEvent
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 Debug for StreamStartedEvent
impl Debug for StreamStartedEvent
Source§impl Default for StreamStartedEvent
impl Default for StreamStartedEvent
Source§fn default() -> StreamStartedEvent
fn default() -> StreamStartedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamStartedEvent
impl<'de> Deserialize<'de> for StreamStartedEvent
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 StreamStartedEvent
impl PartialEq for StreamStartedEvent
Source§fn eq(&self, other: &StreamStartedEvent) -> bool
fn eq(&self, other: &StreamStartedEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamStartedEvent
impl Serialize for StreamStartedEvent
impl StructuralPartialEq for StreamStartedEvent
Source§impl TryFrom<StreamStartedEvent> for StreamStartedEvent
impl TryFrom<StreamStartedEvent> for StreamStartedEvent
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for StreamStartedEvent
impl RefUnwindSafe for StreamStartedEvent
impl Send for StreamStartedEvent
impl Sync for StreamStartedEvent
impl Unpin for StreamStartedEvent
impl UnsafeUnpin for StreamStartedEvent
impl UnwindSafe for StreamStartedEvent
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