Struct sep2_common::packages::messaging::MessagingProgramList
source · pub struct MessagingProgramList {
pub messaging_program: Vec<MessagingProgram>,
pub poll_rate: Option<Uint32>,
pub all: Uint32,
pub results: Uint32,
pub subscribable: Option<SubscribableType>,
pub href: Option<String>,
}
Available on crate feature
messaging
only.Fields§
§messaging_program: Vec<MessagingProgram>
§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 GET, ignored otherwise.
results: Uint32
Indicates the number of items in this page of results.
subscribable: Option<SubscribableType>
Indicates whether or not subscriptions are supported for this resource, and whether or not conditional (thresholds) are supported. If not specified, is “not subscribable” (0).
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 MessagingProgramList
impl Clone for MessagingProgramList
source§fn clone(&self) -> MessagingProgramList
fn clone(&self) -> MessagingProgramList
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 MessagingProgramList
impl Debug for MessagingProgramList
source§impl Default for MessagingProgramList
impl Default for MessagingProgramList
source§fn default() -> MessagingProgramList
fn default() -> MessagingProgramList
Returns the “default value” for a type. Read more
source§impl PartialEq<MessagingProgramList> for MessagingProgramList
impl PartialEq<MessagingProgramList> for MessagingProgramList
source§fn eq(&self, other: &MessagingProgramList) -> bool
fn eq(&self, other: &MessagingProgramList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for MessagingProgramList
impl SEList for MessagingProgramList
type Inner = MessagingProgram
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 MessagingProgramList
impl SEResource for MessagingProgramList
source§impl SESubscribableResource for MessagingProgramList
impl SESubscribableResource for MessagingProgramList
fn subscribable(&self) -> Option<SubscribableType>
source§impl YaDeserialize for MessagingProgramList
impl YaDeserialize for MessagingProgramList
source§impl YaSerialize for MessagingProgramList
impl YaSerialize for MessagingProgramList
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 MessagingProgramList
impl SESubscribableList for MessagingProgramList
impl StructuralEq for MessagingProgramList
impl StructuralPartialEq for MessagingProgramList
Auto Trait Implementations§
impl RefUnwindSafe for MessagingProgramList
impl Send for MessagingProgramList
impl Sync for MessagingProgramList
impl Unpin for MessagingProgramList
impl UnwindSafe for MessagingProgramList
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