#[repr(u8)]pub enum ResponseStatus {
Show 17 variants
EventReceived = 1,
EventStarted = 2,
EventCompleted = 3,
EventOptOut = 4,
EventOptIn = 5,
EventCancelled = 6,
EventSuperseded = 7,
EventPartialOptOut = 8,
EventPartialOptIn = 9,
EventCompletedNoUserParticipation = 10,
EventAcknowledge = 11,
EventNoDisplay = 12,
EventAbortedServer = 13,
EventAbortedProgram = 14,
EventNotApplicable = 252,
EventInvalid = 253,
EventExpired = 254,
}
Expand description
Defined in Table 27: Response Types by Function Set
Can be created from a EventStatusType
for the purpose of reading Event resources
Variants§
EventReceived = 1
EventStarted = 2
EventCompleted = 3
EventOptOut = 4
EventOptIn = 5
EventCancelled = 6
EventSuperseded = 7
EventPartialOptOut = 8
EventPartialOptIn = 9
EventCompletedNoUserParticipation = 10
EventAcknowledge = 11
EventNoDisplay = 12
EventAbortedServer = 13
EventAbortedProgram = 14
EventNotApplicable = 252
EventInvalid = 253
EventExpired = 254
Trait Implementations§
source§impl Clone for ResponseStatus
impl Clone for ResponseStatus
source§fn clone(&self) -> ResponseStatus
fn clone(&self) -> ResponseStatus
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 ResponseStatus
impl Debug for ResponseStatus
source§impl Default for ResponseStatus
impl Default for ResponseStatus
source§fn default() -> ResponseStatus
fn default() -> ResponseStatus
Returns the “default value” for a type. Read more
source§impl From<EventStatusType> for ResponseStatus
impl From<EventStatusType> for ResponseStatus
source§fn from(value: EventStatusType) -> Self
fn from(value: EventStatusType) -> Self
Converts to this type from the input type.
source§impl PartialEq<ResponseStatus> for ResponseStatus
impl PartialEq<ResponseStatus> for ResponseStatus
source§fn eq(&self, other: &ResponseStatus) -> bool
fn eq(&self, other: &ResponseStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ResponseStatus
impl YaDeserialize for ResponseStatus
source§impl YaSerialize for ResponseStatus
impl YaSerialize for ResponseStatus
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 ResponseStatus
impl Eq for ResponseStatus
impl StructuralEq for ResponseStatus
impl StructuralPartialEq for ResponseStatus
Auto Trait Implementations§
impl RefUnwindSafe for ResponseStatus
impl Send for ResponseStatus
impl Sync for ResponseStatus
impl Unpin for ResponseStatus
impl UnwindSafe for ResponseStatus
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