pub struct ExchangeCapabilitiesBuilder { /* private fields */ }Expand description
Builder for ExchangeCapabilities
Implementations§
Source§impl ExchangeCapabilitiesBuilder
impl ExchangeCapabilitiesBuilder
pub fn new() -> Self
pub fn market_data(self) -> Self
pub fn trading(self) -> Self
pub fn account(self) -> Self
pub fn funding(self) -> Self
pub fn margin(self) -> Self
pub fn websocket_all(self) -> Self
pub fn websocket(self) -> Self
pub fn rest_all(self) -> Self
pub fn all(self) -> Self
pub fn capability(self, cap: Capability) -> Self
pub fn capabilities<I: IntoIterator<Item = Capability>>(self, caps: I) -> Self
pub fn raw(self, caps: Capabilities) -> Self
pub fn without_capability(self, cap: Capability) -> Self
pub fn without(self, caps: Capabilities) -> Self
pub fn build(self) -> ExchangeCapabilities
Trait Implementations§
Source§impl Clone for ExchangeCapabilitiesBuilder
impl Clone for ExchangeCapabilitiesBuilder
Source§fn clone(&self) -> ExchangeCapabilitiesBuilder
fn clone(&self) -> ExchangeCapabilitiesBuilder
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 ExchangeCapabilitiesBuilder
impl Debug for ExchangeCapabilitiesBuilder
Source§impl Default for ExchangeCapabilitiesBuilder
impl Default for ExchangeCapabilitiesBuilder
Source§fn default() -> ExchangeCapabilitiesBuilder
fn default() -> ExchangeCapabilitiesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExchangeCapabilitiesBuilder
impl RefUnwindSafe for ExchangeCapabilitiesBuilder
impl Send for ExchangeCapabilitiesBuilder
impl Sync for ExchangeCapabilitiesBuilder
impl Unpin for ExchangeCapabilitiesBuilder
impl UnwindSafe for ExchangeCapabilitiesBuilder
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