pub enum EventType {
StatusChange,
ResourceUpdated,
ResourceAdded,
ResourceRemoved,
Alert,
MetricReport,
Other,
UnsupportedValue,
}Variants§
StatusChange
The status of a resource has changed.
ResourceUpdated
A resource has been updated.
ResourceAdded
A resource has been added.
ResourceRemoved
A resource has been removed.
Alert
A condition requires attention.
MetricReport
The telemetry service is sending a metric report.
Events of type MetricReport shall be sent to a client in accordance with the MetricReport
schema definition.
Other
Because EventType is deprecated as of Redfish Specification v1.6, the event is based on a
registry or resource but not an EventType.
Events of type Other shall be sent to a client in accordance with subscriptions to
RegistryPrefixes or ResourceTypes.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventType
impl<'de> Deserialize<'de> for EventType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ToSnakeCase for EventType
impl ToSnakeCase for EventType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin for EventType
impl UnwindSafe for EventType
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