Struct sep2_common::packages::messaging::MessagingProgram
source · pub struct MessagingProgram {
pub active_text_message_list_link: Option<ActiveTextMessageListLink>,
pub locale: LocaleType,
pub primacy: PrimacyType,
pub text_message_list_link: Option<TextMessageListLink>,
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub subscribable: Option<SubscribableType>,
pub href: Option<String>,
}
Available on crate feature
messaging
only.Expand description
Provides a container for collections of text messages.
Fields§
§active_text_message_list_link: Option<ActiveTextMessageListLink>
§locale: LocaleType
Indicates the language and region of the messages in this collection.
primacy: PrimacyType
Indicates the relative primacy of the provider of this program.
text_message_list_link: Option<TextMessageListLink>
§mrid: MRIDType
The global identifier of the object.
description: Option<String32>
The description is a human readable text describing or naming the object.
version: Option<VersionType>
Contains the version number of the object. See the type definition for details.
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 MessagingProgram
impl Clone for MessagingProgram
source§fn clone(&self) -> MessagingProgram
fn clone(&self) -> MessagingProgram
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 MessagingProgram
impl Debug for MessagingProgram
source§impl Default for MessagingProgram
impl Default for MessagingProgram
source§fn default() -> MessagingProgram
fn default() -> MessagingProgram
Returns the “default value” for a type. Read more
source§impl Ord for MessagingProgram
impl Ord for MessagingProgram
source§impl PartialEq<MessagingProgram> for MessagingProgram
impl PartialEq<MessagingProgram> for MessagingProgram
source§fn eq(&self, other: &MessagingProgram) -> bool
fn eq(&self, other: &MessagingProgram) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MessagingProgram> for MessagingProgram
impl PartialOrd<MessagingProgram> for MessagingProgram
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl SEResource for MessagingProgram
impl SEResource for MessagingProgram
source§impl SESubscribableResource for MessagingProgram
impl SESubscribableResource for MessagingProgram
fn subscribable(&self) -> Option<SubscribableType>
source§impl YaDeserialize for MessagingProgram
impl YaDeserialize for MessagingProgram
source§impl YaSerialize for MessagingProgram
impl YaSerialize for MessagingProgram
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 MessagingProgram
impl SESubscribableIdentifiedObject for MessagingProgram
impl StructuralEq for MessagingProgram
impl StructuralPartialEq for MessagingProgram
Auto Trait Implementations§
impl RefUnwindSafe for MessagingProgram
impl Send for MessagingProgram
impl Sync for MessagingProgram
impl Unpin for MessagingProgram
impl UnwindSafe for MessagingProgram
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