pub enum WarningKind {
Decimal(&'static str),
DurationBelowMinimum,
Price(WarningKind),
StartDateTimeIsAfterEndDateTime,
Tariff(WarningKind),
}Variants§
Decimal(&'static str)
A Decimal operation failed.
DurationBelowMinimum
The duration of the chargesession is below the minimum allowed.
Price(WarningKind)
StartDateTimeIsAfterEndDateTime
The start_date_time is after the end_date_time.
Tariff(WarningKind)
Trait Implementations§
Source§impl Debug for WarningKind
impl Debug for WarningKind
Source§impl Display for WarningKind
impl Display for WarningKind
Source§impl From<WarningKind> for WarningKind
Convert from WarningKind A to B
impl From<WarningKind> for WarningKind
Convert from WarningKind A to B
Source§fn from(warn_kind: WarningKind) -> Self
fn from(warn_kind: WarningKind) -> Self
Converts to this type from the input type.
Source§impl From<WarningKind> for WarningKind
Convert from WarningKind A to B
impl From<WarningKind> for WarningKind
Convert from WarningKind A to B
Source§fn from(warn_kind: WarningKind) -> Self
fn from(warn_kind: WarningKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WarningKind
impl !RefUnwindSafe for WarningKind
impl Send for WarningKind
impl Sync for WarningKind
impl Unpin for WarningKind
impl !UnwindSafe for WarningKind
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