Struct sep2_common::packages::pubsub::SubscriptionList
source · pub struct SubscriptionList {
pub subscription: Vec<Subscription>,
pub poll_rate: Option<Uint32>,
pub all: Uint32,
pub results: Uint32,
pub href: Option<String>,
}
Available on crate feature
pubsub
only.Fields§
§subscription: Vec<Subscription>
§poll_rate: Option<Uint32>
The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.
all: Uint32
The number specifying “all” of the items in the list. Required on a response to a GET, ignored otherwise.
results: Uint32
Indicates the number of items in this page of results.
href: Option<String>
A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.
Trait Implementations§
source§impl Clone for SubscriptionList
impl Clone for SubscriptionList
source§fn clone(&self) -> SubscriptionList
fn clone(&self) -> SubscriptionList
Returns a copy 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 SubscriptionList
impl Debug for SubscriptionList
source§impl Default for SubscriptionList
impl Default for SubscriptionList
source§fn default() -> SubscriptionList
fn default() -> SubscriptionList
Returns the “default value” for a type. Read more
source§impl PartialEq<SubscriptionList> for SubscriptionList
impl PartialEq<SubscriptionList> for SubscriptionList
source§fn eq(&self, other: &SubscriptionList) -> bool
fn eq(&self, other: &SubscriptionList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for SubscriptionList
impl SEList for SubscriptionList
type Inner = Subscription
fn all(&self) -> Uint32
fn all_mut(&mut self) -> &mut Uint32
fn results(&self) -> Uint32
fn results_mut(&mut self) -> &mut Uint32
fn list_as_slice(&self) -> &[Self::Inner]
fn list_mut(&mut self) -> &mut Vec<Self::Inner>
source§impl SEResource for SubscriptionList
impl SEResource for SubscriptionList
source§impl YaDeserialize for SubscriptionList
impl YaDeserialize for SubscriptionList
source§impl YaSerialize for SubscriptionList
impl YaSerialize for SubscriptionList
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for SubscriptionList
impl StructuralEq for SubscriptionList
impl StructuralPartialEq for SubscriptionList
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionList
impl Send for SubscriptionList
impl Sync for SubscriptionList
impl Unpin for SubscriptionList
impl UnwindSafe for SubscriptionList
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