pub struct ListenKey {
pub listen_key: String,
}Expand description
Response from POST /sapi/v1/userDataStream{,/isolated}.
Use the returned listen_key to connect to
wss://stream.binance.com:9443/ws/<listen_key> and consume margin user
data events. Keys live for 60 minutes from creation/keepalive — call
keepalive_listen_key every 30 minutes to extend.
Fields§
§listen_key: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ListenKey
impl<'de> Deserialize<'de> for ListenKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ListenKey
Auto Trait Implementations§
impl Freeze for ListenKey
impl RefUnwindSafe for ListenKey
impl Send for ListenKey
impl Sync for ListenKey
impl Unpin for ListenKey
impl UnsafeUnpin for ListenKey
impl UnwindSafe for ListenKey
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