pub struct SubscriptionsResp {
pub data: Option<SubData>,
}Fields§
§data: Option<SubData>Implementations§
Source§impl SubscriptionsResp
impl SubscriptionsResp
Sourcepub fn data_or_free(self) -> SubData
pub fn data_or_free(self) -> SubData
The subscription data, or a “none/free” placeholder when the API
returns no data block.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubscriptionsResp
impl<'de> Deserialize<'de> for SubscriptionsResp
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 SubscriptionsResp
impl RefUnwindSafe for SubscriptionsResp
impl Send for SubscriptionsResp
impl Sync for SubscriptionsResp
impl Unpin for SubscriptionsResp
impl UnsafeUnpin for SubscriptionsResp
impl UnwindSafe for SubscriptionsResp
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