#[non_exhaustive]pub enum LimitSource {
Measured,
Operator,
Other,
}Expand description
How a LimitsRecord’s figures were found.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Measured
Read from the model’s files and the settings it was loaded with (measure).
Operator
Set by the node’s operator for this hardware.
Other
Something this version doesn’t know.
Trait Implementations§
Source§impl Clone for LimitSource
impl Clone for LimitSource
impl Copy for LimitSource
Source§impl Debug for LimitSource
impl Debug for LimitSource
Source§impl Default for LimitSource
impl Default for LimitSource
Source§impl<'de> Deserialize<'de> for LimitSource
impl<'de> Deserialize<'de> for LimitSource
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
impl Eq for LimitSource
Source§impl Hash for LimitSource
impl Hash for LimitSource
Source§impl PartialEq for LimitSource
impl PartialEq for LimitSource
Source§impl Serialize for LimitSource
impl Serialize for LimitSource
impl StructuralPartialEq for LimitSource
Auto Trait Implementations§
impl Forget for LimitSource
impl Freeze for LimitSource
impl Move for LimitSource
impl RefUnwindSafe for LimitSource
impl Send for LimitSource
impl Sync for LimitSource
impl Unpin for LimitSource
impl UnsafeUnpin for LimitSource
impl UnwindSafe for LimitSource
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