pub struct ObserveEventFrameOptions {
pub stream: Option<String>,
}Expand description
ObserveEventFrameOptions data container.
Fields§
§stream: Option<String>stream field for stream.
Implementations§
Source§impl ObserveEventFrameOptions
impl ObserveEventFrameOptions
Sourcepub fn with_stream(self, stream: impl Into<String>) -> Self
pub fn with_stream(self, stream: impl Into<String>) -> Self
Updates or reads with_stream.
Trait Implementations§
Source§impl Clone for ObserveEventFrameOptions
impl Clone for ObserveEventFrameOptions
Source§fn clone(&self) -> ObserveEventFrameOptions
fn clone(&self) -> ObserveEventFrameOptions
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 ObserveEventFrameOptions
impl Debug for ObserveEventFrameOptions
Source§impl Default for ObserveEventFrameOptions
impl Default for ObserveEventFrameOptions
Source§fn default() -> ObserveEventFrameOptions
fn default() -> ObserveEventFrameOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ObserveEventFrameOptions
impl PartialEq for ObserveEventFrameOptions
impl Eq for ObserveEventFrameOptions
impl StructuralPartialEq for ObserveEventFrameOptions
Auto Trait Implementations§
impl Freeze for ObserveEventFrameOptions
impl RefUnwindSafe for ObserveEventFrameOptions
impl Send for ObserveEventFrameOptions
impl Sync for ObserveEventFrameOptions
impl Unpin for ObserveEventFrameOptions
impl UnsafeUnpin for ObserveEventFrameOptions
impl UnwindSafe for ObserveEventFrameOptions
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.