Struct crypto_botters::coincheck::CoincheckOptions
source · pub struct CoincheckOptions {
pub key: Option<String>,
pub secret: Option<String>,
pub http_url: CoincheckHttpUrl,
pub http_auth: bool,
pub request_config: RequestConfig,
pub websocket_url: CoincheckWebSocketUrl,
pub websocket_channels: Vec<String>,
pub websocket_config: WebSocketConfig,
}
Available on crate feature
coincheck
only.Expand description
A struct
that represents a set of CoincheckOption s.
Fields§
§key: Option<String>
§secret: Option<String>
§http_url: CoincheckHttpUrl
§http_auth: bool
§request_config: RequestConfig
§websocket_url: CoincheckWebSocketUrl
§websocket_channels: Vec<String>
§websocket_config: WebSocketConfig
Trait Implementations§
source§impl Clone for CoincheckOptions
impl Clone for CoincheckOptions
source§fn clone(&self) -> CoincheckOptions
fn clone(&self) -> CoincheckOptions
Returns a copy 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 CoincheckOptions
impl Debug for CoincheckOptions
source§impl Default for CoincheckOptions
impl Default for CoincheckOptions
source§impl GetOptions<CoincheckOptions> for Client
impl GetOptions<CoincheckOptions> for Client
fn default_options(&self) -> &CoincheckOptions
fn default_options_mut(&mut self) -> &mut CoincheckOptions
source§impl HandlerOptions for CoincheckOptions
impl HandlerOptions for CoincheckOptions
§type OptionItem = CoincheckOption
type OptionItem = CoincheckOption
The element of this set
fn update(&mut self, option: Self::OptionItem)
Auto Trait Implementations§
impl RefUnwindSafe for CoincheckOptions
impl Send for CoincheckOptions
impl Sync for CoincheckOptions
impl Unpin for CoincheckOptions
impl UnwindSafe for CoincheckOptions
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