pub struct NewListenKey { /* private fields */ }
Expand description
POST /api/v3/userDataStream
Start a new user data stream.
The stream will close after 60 minutes unless a keepalive is sent. If the account has an active listenKey
, that listenKey
will be returned and its validity will be extended for 60 minutes.
Weight: 1
Example
use binance_spot_connector_rust::stream;
let request = stream::new_listen_key();
Implementations§
source§impl NewListenKey
impl NewListenKey
pub fn new() -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl Default for NewListenKey
impl Default for NewListenKey
source§impl From<NewListenKey> for Request
impl From<NewListenKey> for Request
source§fn from(_request: NewListenKey) -> Request
fn from(_request: NewListenKey) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for NewListenKey
impl Send for NewListenKey
impl Sync for NewListenKey
impl Unpin for NewListenKey
impl UnwindSafe for NewListenKey
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