pub struct SubscriptionResult {
pub result: Option<OwnedValue>,
pub id: Option<u64>,
}Expand description
Represents the structure of a subscription confirmation message.
Fields§
§result: Option<OwnedValue>The result of the subscription, often null on success.
id: Option<u64>The identifier of the subscription request.
Trait Implementations§
Source§impl Debug for SubscriptionResult
impl Debug for SubscriptionResult
Source§impl<'de> Deserialize<'de> for SubscriptionResult
impl<'de> Deserialize<'de> for SubscriptionResult
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
Auto Trait Implementations§
impl Freeze for SubscriptionResult
impl RefUnwindSafe for SubscriptionResult
impl Send for SubscriptionResult
impl Sync for SubscriptionResult
impl Unpin for SubscriptionResult
impl UnwindSafe for SubscriptionResult
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