pub struct AuthMethodInfo {
pub exchange_name: SmartString,
pub method_type: SmartString,
pub supports_websocket_trading: bool,
pub requires_refresh: bool,
pub refresh_interval: Option<Duration>,
}Expand description
Information about authentication method
Fields§
§exchange_name: SmartStringName of the exchange
method_type: SmartStringType of authentication method used
supports_websocket_trading: boolWhether WebSocket trading is supported
requires_refresh: boolWhether authentication requires periodic refresh
refresh_interval: Option<Duration>Interval for refreshing authentication
Trait Implementations§
Source§impl Clone for AuthMethodInfo
impl Clone for AuthMethodInfo
Source§fn clone(&self) -> AuthMethodInfo
fn clone(&self) -> AuthMethodInfo
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 moreAuto Trait Implementations§
impl Freeze for AuthMethodInfo
impl RefUnwindSafe for AuthMethodInfo
impl Send for AuthMethodInfo
impl Sync for AuthMethodInfo
impl Unpin for AuthMethodInfo
impl UnwindSafe for AuthMethodInfo
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