pub struct OvervoltLimit {
pub domain: VoltageDomain,
pub voltage: Microvolts,
pub range: Option<Range<MicrovoltsDelta>>,
}Fields§
§domain: VoltageDomain§voltage: Microvolts§range: Option<Range<MicrovoltsDelta>>Trait Implementations§
Source§impl Clone for OvervoltLimit
impl Clone for OvervoltLimit
Source§fn clone(&self) -> OvervoltLimit
fn clone(&self) -> OvervoltLimit
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 OvervoltLimit
impl Debug for OvervoltLimit
Source§impl<'de> Deserialize<'de> for OvervoltLimit
impl<'de> Deserialize<'de> for OvervoltLimit
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<BaseVoltage> for OvervoltLimit
impl From<BaseVoltage> for OvervoltLimit
Source§fn from(v: BaseVoltage) -> Self
fn from(v: BaseVoltage) -> Self
Converts to this type from the input type.
Source§impl Hash for OvervoltLimit
impl Hash for OvervoltLimit
Source§impl Ord for OvervoltLimit
impl Ord for OvervoltLimit
Source§fn cmp(&self, other: &OvervoltLimit) -> Ordering
fn cmp(&self, other: &OvervoltLimit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OvervoltLimit
impl PartialEq for OvervoltLimit
Source§impl PartialOrd for OvervoltLimit
impl PartialOrd for OvervoltLimit
Source§impl Serialize for OvervoltLimit
impl Serialize for OvervoltLimit
impl Eq for OvervoltLimit
impl StructuralPartialEq for OvervoltLimit
Auto Trait Implementations§
impl Freeze for OvervoltLimit
impl RefUnwindSafe for OvervoltLimit
impl Send for OvervoltLimit
impl Sync for OvervoltLimit
impl Unpin for OvervoltLimit
impl UnwindSafe for OvervoltLimit
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