pub enum SubTypeTrue {
Normal,
Overage,
}
Expand description
This is the sub type of the cost.
Variants§
Trait Implementations§
Source§impl Clone for SubTypeTrue
impl Clone for SubTypeTrue
Source§fn clone(&self) -> SubTypeTrue
fn clone(&self) -> SubTypeTrue
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubTypeTrue
impl Debug for SubTypeTrue
Source§impl Default for SubTypeTrue
impl Default for SubTypeTrue
Source§fn default() -> SubTypeTrue
fn default() -> SubTypeTrue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubTypeTrue
impl<'de> Deserialize<'de> for SubTypeTrue
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 Hash for SubTypeTrue
impl Hash for SubTypeTrue
Source§impl Ord for SubTypeTrue
impl Ord for SubTypeTrue
Source§fn cmp(&self, other: &SubTypeTrue) -> Ordering
fn cmp(&self, other: &SubTypeTrue) -> 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 SubTypeTrue
impl PartialEq for SubTypeTrue
Source§impl PartialOrd for SubTypeTrue
impl PartialOrd for SubTypeTrue
Source§impl Serialize for SubTypeTrue
impl Serialize for SubTypeTrue
impl Copy for SubTypeTrue
impl Eq for SubTypeTrue
impl StructuralPartialEq for SubTypeTrue
Auto Trait Implementations§
impl Freeze for SubTypeTrue
impl RefUnwindSafe for SubTypeTrue
impl Send for SubTypeTrue
impl Sync for SubTypeTrue
impl Unpin for SubTypeTrue
impl UnwindSafe for SubTypeTrue
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