Enum sep2_common::packages::types::SubscribableType
source · #[repr(u8)]pub enum SubscribableType {
NoSubscriptionsSupported = 0,
NonConditionalSubscriptions = 1,
ConditionalSubscriptions = 2,
AllSubscriptions = 3,
}
Expand description
The subscribable values. 0 - Resource does not support subscriptions 1 - Resource supports non-conditional subscriptions 2 - Resource supports conditional subscriptions 3 - Resource supports both conditional and non-conditional subscriptions All other values reserved.
Variants§
NoSubscriptionsSupported = 0
NonConditionalSubscriptions = 1
ConditionalSubscriptions = 2
AllSubscriptions = 3
Trait Implementations§
source§impl Clone for SubscribableType
impl Clone for SubscribableType
source§fn clone(&self) -> SubscribableType
fn clone(&self) -> SubscribableType
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 SubscribableType
impl Debug for SubscribableType
source§impl Default for SubscribableType
impl Default for SubscribableType
source§fn default() -> SubscribableType
fn default() -> SubscribableType
Returns the “default value” for a type. Read more
source§impl PartialEq<SubscribableType> for SubscribableType
impl PartialEq<SubscribableType> for SubscribableType
source§fn eq(&self, other: &SubscribableType) -> bool
fn eq(&self, other: &SubscribableType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for SubscribableType
impl YaDeserialize for SubscribableType
source§impl YaSerialize for SubscribableType
impl YaSerialize for SubscribableType
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 Copy for SubscribableType
impl Eq for SubscribableType
impl StructuralEq for SubscribableType
impl StructuralPartialEq for SubscribableType
Auto Trait Implementations§
impl RefUnwindSafe for SubscribableType
impl Send for SubscribableType
impl Sync for SubscribableType
impl Unpin for SubscribableType
impl UnwindSafe for SubscribableType
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