#[repr(u8)]pub enum PowerAdjustReason {
Noadjustment = 0,
Localoptimizationadjustment = 1,
Gridoptimizationadjustment = 2,
}Variants§
Noadjustment = 0
There is no Power Adjustment active
Localoptimizationadjustment = 1
There is PowerAdjustment active due to local EMS optimization
Gridoptimizationadjustment = 2
There is PowerAdjustment active due to grid optimization
Implementations§
Trait Implementations§
Source§impl Clone for PowerAdjustReason
impl Clone for PowerAdjustReason
Source§fn clone(&self) -> PowerAdjustReason
fn clone(&self) -> PowerAdjustReason
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 PowerAdjustReason
impl Debug for PowerAdjustReason
Source§impl<'de> Deserialize<'de> for PowerAdjustReason
impl<'de> Deserialize<'de> for PowerAdjustReason
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 From<PowerAdjustReason> for u8
impl From<PowerAdjustReason> for u8
Source§fn from(val: PowerAdjustReason) -> Self
fn from(val: PowerAdjustReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PowerAdjustReason
impl PartialEq for PowerAdjustReason
Source§impl Serialize for PowerAdjustReason
impl Serialize for PowerAdjustReason
impl Copy for PowerAdjustReason
impl Eq for PowerAdjustReason
impl StructuralPartialEq for PowerAdjustReason
Auto Trait Implementations§
impl Freeze for PowerAdjustReason
impl RefUnwindSafe for PowerAdjustReason
impl Send for PowerAdjustReason
impl Sync for PowerAdjustReason
impl Unpin for PowerAdjustReason
impl UnwindSafe for PowerAdjustReason
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