pub struct CloseListenKey { /* private fields */ }
Expand description
DELETE /sapi/v1/userDataStream
Close out a user data stream.
Weight: 1
Example
use binance_spot_connector_rust::margin_stream;
let request = margin_stream::close_listen_key("listen-key");
Implementations§
source§impl CloseListenKey
impl CloseListenKey
pub fn new(listen_key: &str) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<CloseListenKey> for Request
impl From<CloseListenKey> for Request
source§fn from(request: CloseListenKey) -> Request
fn from(request: CloseListenKey) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CloseListenKey
impl Send for CloseListenKey
impl Sync for CloseListenKey
impl Unpin for CloseListenKey
impl UnwindSafe for CloseListenKey
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