pub struct CoinbaseWsSubscription {
pub message_type: SmartString,
pub channels: Vec<SmartString>,
pub jwt: Option<SmartString>,
pub api_key: Option<SmartString>,
pub timestamp: Option<SmartString>,
pub signature: Option<SmartString>,
}Expand description
WebSocket subscription message for Coinbase
Fields§
§message_type: SmartStringThe type of the message, e.g., subscribe.
channels: Vec<SmartString>The channels to subscribe to.
jwt: Option<SmartString>The JWT for authentication.
api_key: Option<SmartString>The API key for authentication.
timestamp: Option<SmartString>The timestamp for the request.
signature: Option<SmartString>The signature for the request.
Trait Implementations§
Source§impl Clone for CoinbaseWsSubscription
impl Clone for CoinbaseWsSubscription
Source§fn clone(&self) -> CoinbaseWsSubscription
fn clone(&self) -> CoinbaseWsSubscription
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 CoinbaseWsSubscription
impl Debug for CoinbaseWsSubscription
Auto Trait Implementations§
impl Freeze for CoinbaseWsSubscription
impl RefUnwindSafe for CoinbaseWsSubscription
impl Send for CoinbaseWsSubscription
impl Sync for CoinbaseWsSubscription
impl Unpin for CoinbaseWsSubscription
impl UnwindSafe for CoinbaseWsSubscription
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