pub struct AccountSubscriptions {
pub account_id: Option<i32>,
pub subscriptions: Option<Vec<Subscription>>,
pub links: Option<Vec<HashMap<String, Value>>>,
pub extra: Value,
}
Expand description
RedisLabs list of subscriptions in current account
Response from GET /subscriptions
Fields§
§account_id: Option<i32>
Account ID
subscriptions: Option<Vec<Subscription>>
List of subscriptions (typically in extra as ‘subscriptions’ array)
links: Option<Vec<HashMap<String, Value>>>
HATEOAS links for API navigation
extra: Value
Only for truly unknown/future API fields
Trait Implementations§
Source§impl Clone for AccountSubscriptions
impl Clone for AccountSubscriptions
Source§fn clone(&self) -> AccountSubscriptions
fn clone(&self) -> AccountSubscriptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AccountSubscriptions
impl Debug for AccountSubscriptions
Source§impl<'de> Deserialize<'de> for AccountSubscriptions
impl<'de> Deserialize<'de> for AccountSubscriptions
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 AccountSubscriptions
impl RefUnwindSafe for AccountSubscriptions
impl Send for AccountSubscriptions
impl Sync for AccountSubscriptions
impl Unpin for AccountSubscriptions
impl UnwindSafe for AccountSubscriptions
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