Struct sep2_common::packages::pubsub::NotificationList
source · pub struct NotificationList<T: SEResource + Eq> {
pub notification: Vec<Notification<T>>,
pub all: Uint32,
pub results: Uint32,
pub href: Option<String>,
}
Available on crate feature
pubsub
only.Fields§
§notification: Vec<Notification<T>>
§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<T: Clone + SEResource + Eq> Clone for NotificationList<T>
impl<T: Clone + SEResource + Eq> Clone for NotificationList<T>
source§fn clone(&self) -> NotificationList<T>
fn clone(&self) -> NotificationList<T>
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<T: Debug + SEResource + Eq> Debug for NotificationList<T>
impl<T: Debug + SEResource + Eq> Debug for NotificationList<T>
source§impl<T: Default + SEResource + Eq> Default for NotificationList<T>
impl<T: Default + SEResource + Eq> Default for NotificationList<T>
source§fn default() -> NotificationList<T>
fn default() -> NotificationList<T>
Returns the “default value” for a type. Read more
source§impl<T: PartialEq + SEResource + Eq> PartialEq<NotificationList<T>> for NotificationList<T>
impl<T: PartialEq + SEResource + Eq> PartialEq<NotificationList<T>> for NotificationList<T>
source§fn eq(&self, other: &NotificationList<T>) -> bool
fn eq(&self, other: &NotificationList<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: SEResource + Eq> SEList for NotificationList<T>
impl<T: SEResource + Eq> SEList for NotificationList<T>
type Inner = Notification<T>
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<T: SEResource + Eq> SEResource for NotificationList<T>
impl<T: SEResource + Eq> SEResource for NotificationList<T>
source§impl<T: SEResource + Eq> Validate for NotificationList<T>
impl<T: SEResource + Eq> Validate for NotificationList<T>
source§impl<T: SEResource + Eq> YaDeserialize for NotificationList<T>
impl<T: SEResource + Eq> YaDeserialize for NotificationList<T>
source§impl<T: SEResource + Eq> YaSerialize for NotificationList<T>
impl<T: SEResource + Eq> YaSerialize for NotificationList<T>
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<T: Eq + SEResource + Eq> Eq for NotificationList<T>
impl<T: SEResource + Eq> StructuralEq for NotificationList<T>
impl<T: SEResource + Eq> StructuralPartialEq for NotificationList<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for NotificationList<T>
impl<T> Send for NotificationList<T>
impl<T> Sync for NotificationList<T>
impl<T> Unpin for NotificationList<T>where T: Unpin,
impl<T> UnwindSafe for NotificationList<T>where T: UnwindSafe,
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