1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//! Binance exchange account information and balances. #![allow(dead_code)] use std::convert::From; #[derive(Deserialize)] pub struct BncUserDataStream { #[serde(rename = "listenKey")] listen_key: String, } impl From<BncUserDataStream> for String { #[inline] fn from(b: BncUserDataStream) -> String { b.listen_key } }