pub enum StreamDataType {
SwapQuotes,
Other(String),
}Expand description
Types of data that can be streamed to the client.
Included in a StreamStart message so that the client may prepare for the incoming data.
Variants§
SwapQuotes
Stream contains SwapQuotes as the data values.
Other(String)
Other type added in a future version.
Trait Implementations§
Source§impl Clone for StreamDataType
impl Clone for StreamDataType
Source§impl Debug for StreamDataType
impl Debug for StreamDataType
Source§impl<'de> Deserialize<'de> for StreamDataType
impl<'de> Deserialize<'de> for StreamDataType
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
impl Eq for StreamDataType
Source§impl PartialEq for StreamDataType
impl PartialEq for StreamDataType
Source§impl Serialize for StreamDataType
impl Serialize for StreamDataType
impl StructuralPartialEq for StreamDataType
Auto Trait Implementations§
impl Freeze for StreamDataType
impl RefUnwindSafe for StreamDataType
impl Send for StreamDataType
impl Sync for StreamDataType
impl Unpin for StreamDataType
impl UnsafeUnpin for StreamDataType
impl UnwindSafe for StreamDataType
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