#[repr(u8)]pub enum PrechargeTimeoutValue {
Min30 = 0,
Min40 = 1,
Min50 = 2,
Min60 = 3,
}Variants§
Min30 = 0
30 minutes timeout.
Min40 = 1
40 minutes timeout.
Min50 = 2
50 minutes timeout.
Min60 = 3
60 minutes timeout.
Trait Implementations§
Source§impl Clone for PrechargeTimeoutValue
impl Clone for PrechargeTimeoutValue
Source§fn clone(&self) -> PrechargeTimeoutValue
fn clone(&self) -> PrechargeTimeoutValue
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 PrechargeTimeoutValue
impl Debug for PrechargeTimeoutValue
Source§impl From<PrechargeTimeoutValue> for u8
impl From<PrechargeTimeoutValue> for u8
Source§fn from(val: PrechargeTimeoutValue) -> Self
fn from(val: PrechargeTimeoutValue) -> Self
Converts to this type from the input type.
Source§impl Hash for PrechargeTimeoutValue
impl Hash for PrechargeTimeoutValue
Source§impl PartialEq for PrechargeTimeoutValue
impl PartialEq for PrechargeTimeoutValue
Source§impl TryFrom<u8> for PrechargeTimeoutValue
impl TryFrom<u8> for PrechargeTimeoutValue
impl Copy for PrechargeTimeoutValue
impl Eq for PrechargeTimeoutValue
impl StructuralPartialEq for PrechargeTimeoutValue
Auto Trait Implementations§
impl Freeze for PrechargeTimeoutValue
impl RefUnwindSafe for PrechargeTimeoutValue
impl Send for PrechargeTimeoutValue
impl Sync for PrechargeTimeoutValue
impl Unpin for PrechargeTimeoutValue
impl UnwindSafe for PrechargeTimeoutValue
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