pub struct BitFlyerOptions {
pub key: Option<String>,
pub secret: Option<String>,
pub http_url: BitFlyerHttpUrl,
pub http_auth: bool,
pub request_config: RequestConfig,
pub websocket_url: BitFlyerWebSocketUrl,
pub websocket_auth: bool,
pub websocket_channels: Vec<String>,
pub websocket_config: WebSocketConfig,
}Available on crate feature
bitflyer only.Expand description
A struct that represents a set of BitFlyerOption s.
Fields§
§key: Option<String>§secret: Option<String>§http_url: BitFlyerHttpUrl§http_auth: bool§request_config: RequestConfig§websocket_url: BitFlyerWebSocketUrl§websocket_auth: bool§websocket_channels: Vec<String>§websocket_config: WebSocketConfigTrait Implementations§
Source§impl Clone for BitFlyerOptions
impl Clone for BitFlyerOptions
Source§fn clone(&self) -> BitFlyerOptions
fn clone(&self) -> BitFlyerOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BitFlyerOptions
impl Debug for BitFlyerOptions
Source§impl Default for BitFlyerOptions
impl Default for BitFlyerOptions
Source§impl GetOptions<BitFlyerOptions> for Client
impl GetOptions<BitFlyerOptions> for Client
fn default_options(&self) -> &BitFlyerOptions
fn default_options_mut(&mut self) -> &mut BitFlyerOptions
Source§impl HandlerOptions for BitFlyerOptions
impl HandlerOptions for BitFlyerOptions
Source§type OptionItem = BitFlyerOption
type OptionItem = BitFlyerOption
The element of this set
fn update(&mut self, option: Self::OptionItem)
Auto Trait Implementations§
impl Freeze for BitFlyerOptions
impl RefUnwindSafe for BitFlyerOptions
impl Send for BitFlyerOptions
impl Sync for BitFlyerOptions
impl Unpin for BitFlyerOptions
impl UnsafeUnpin for BitFlyerOptions
impl UnwindSafe for BitFlyerOptions
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