Enum sep2_common::packages::objects::EventStatusType
source · #[repr(u8)]pub enum EventStatusType {
Scheduled = 0,
Active = 1,
Cancelled = 2,
CancelledRandom = 3,
Superseded = 4,
}
Variants§
Trait Implementations§
source§impl Clone for EventStatusType
impl Clone for EventStatusType
source§fn clone(&self) -> EventStatusType
fn clone(&self) -> EventStatusType
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 EventStatusType
impl Debug for EventStatusType
source§impl Default for EventStatusType
impl Default for EventStatusType
source§fn default() -> EventStatusType
fn default() -> EventStatusType
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<EventStatusType> for EventStatusType
impl PartialEq<EventStatusType> for EventStatusType
source§fn eq(&self, other: &EventStatusType) -> bool
fn eq(&self, other: &EventStatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for EventStatusType
impl YaDeserialize for EventStatusType
source§impl YaSerialize for EventStatusType
impl YaSerialize for EventStatusType
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 EventStatusType
impl Eq for EventStatusType
impl StructuralEq for EventStatusType
impl StructuralPartialEq for EventStatusType
Auto Trait Implementations§
impl RefUnwindSafe for EventStatusType
impl Send for EventStatusType
impl Sync for EventStatusType
impl Unpin for EventStatusType
impl UnwindSafe for EventStatusType
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