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