pub struct SubscriptionChannel {
pub name: String,
pub product_ids: Vec<String>,
}Expand description
Coinbase WebSocket subscription channel
Fields§
§name: StringChannel name (ticker, level2, matches, heartbeat, status)
product_ids: Vec<String>List of product IDs to subscribe to
Trait Implementations§
Source§impl Clone for SubscriptionChannel
impl Clone for SubscriptionChannel
Source§fn clone(&self) -> SubscriptionChannel
fn clone(&self) -> SubscriptionChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubscriptionChannel
impl Debug for SubscriptionChannel
Source§impl<'de> Deserialize<'de> for SubscriptionChannel
impl<'de> Deserialize<'de> for SubscriptionChannel
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
Auto Trait Implementations§
impl Freeze for SubscriptionChannel
impl RefUnwindSafe for SubscriptionChannel
impl Send for SubscriptionChannel
impl Sync for SubscriptionChannel
impl Unpin for SubscriptionChannel
impl UnwindSafe for SubscriptionChannel
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