pub enum StreamDataPayload {
SwapQuotes(SwapQuotes),
Other(Value),
}Expand description
Payload for a StreamData message.
Variants§
SwapQuotes(SwapQuotes)
Payload contains a set of quotes for a swap request.
Other(Value)
Other type of un-handled message type.
Trait Implementations§
Source§impl Clone for StreamDataPayload
impl Clone for StreamDataPayload
Source§impl Debug for StreamDataPayload
impl Debug for StreamDataPayload
Source§impl<'de> Deserialize<'de> for StreamDataPayload
impl<'de> Deserialize<'de> for StreamDataPayload
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 StreamDataPayload
impl PartialEq for StreamDataPayload
Source§impl Serialize for StreamDataPayload
impl Serialize for StreamDataPayload
impl StructuralPartialEq for StreamDataPayload
Auto Trait Implementations§
impl Freeze for StreamDataPayload
impl RefUnwindSafe for StreamDataPayload
impl Send for StreamDataPayload
impl Sync for StreamDataPayload
impl Unpin for StreamDataPayload
impl UnsafeUnpin for StreamDataPayload
impl UnwindSafe for StreamDataPayload
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