pub struct SubscriptionStatus {
pub channel_id: Option<i64>,
pub channel_name: String,
pub event: String,
pub pair: Option<String>,
pub req_id: i64,
pub status: String,
pub subscription: SubscriptionResponse,
pub one_of: Option<OneOf>,
}
Expand description
Status message returned after a subscription
Fields§
§channel_id: Option<i64>
§channel_name: String
§event: String
§pair: Option<String>
§req_id: i64
§status: String
§subscription: SubscriptionResponse
§one_of: Option<OneOf>
Trait Implementations§
Source§impl Debug for SubscriptionStatus
impl Debug for SubscriptionStatus
Source§impl<'de> Deserialize<'de> for SubscriptionStatus
impl<'de> Deserialize<'de> for SubscriptionStatus
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
Source§impl PartialEq for SubscriptionStatus
impl PartialEq for SubscriptionStatus
impl StructuralPartialEq for SubscriptionStatus
Auto Trait Implementations§
impl Freeze for SubscriptionStatus
impl RefUnwindSafe for SubscriptionStatus
impl Send for SubscriptionStatus
impl Sync for SubscriptionStatus
impl Unpin for SubscriptionStatus
impl UnwindSafe for SubscriptionStatus
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