Struct binance_spot_connector_rust::isolated_margin_stream::renew_listen_key::RenewListenKey
source · pub struct RenewListenKey { /* private fields */ }
Expand description
PUT /sapi/v1/userDataStream/isolated
Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It’s recommended to send a ping about every 30 minutes.
Weight: 1
Example
use binance_spot_connector_rust::isolated_margin_stream;
let request = isolated_margin_stream::renew_listen_key("BTCUSDT", "listen-key");
Implementations§
source§impl RenewListenKey
impl RenewListenKey
pub fn new(symbol: &str, listen_key: &str) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<RenewListenKey> for Request
impl From<RenewListenKey> for Request
source§fn from(request: RenewListenKey) -> Request
fn from(request: RenewListenKey) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RenewListenKey
impl Send for RenewListenKey
impl Sync for RenewListenKey
impl Unpin for RenewListenKey
impl UnwindSafe for RenewListenKey
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