pub enum DateTimeSource {
Rtc,
Firmware,
Host,
Ntp,
Ptp,
UnsupportedValue,
}Variants§
Rtc
The date and time is retrieved from the manager’s real time clock (RTC).
Firmware
The date and time is set and held by firmware.
Host
The date and time is retrieved from the host.
Ntp
The date and time source is a Network Time Protocol (NTP) server.
Ptp
The date and time source is a Precision Time Protocol (PTP) server.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for DateTimeSource
impl Clone for DateTimeSource
Source§fn clone(&self) -> DateTimeSource
fn clone(&self) -> DateTimeSource
Returns a duplicate 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 DateTimeSource
impl Debug for DateTimeSource
Source§impl<'de> Deserialize<'de> for DateTimeSource
impl<'de> Deserialize<'de> for DateTimeSource
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 PartialEq for DateTimeSource
impl PartialEq for DateTimeSource
Source§impl Serialize for DateTimeSource
impl Serialize for DateTimeSource
Source§impl ToSnakeCase for DateTimeSource
impl ToSnakeCase for DateTimeSource
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 DateTimeSource
impl Eq for DateTimeSource
impl StructuralPartialEq for DateTimeSource
Auto Trait Implementations§
impl Freeze for DateTimeSource
impl RefUnwindSafe for DateTimeSource
impl Send for DateTimeSource
impl Sync for DateTimeSource
impl Unpin for DateTimeSource
impl UnsafeUnpin for DateTimeSource
impl UnwindSafe for DateTimeSource
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