#[non_exhaustive]pub enum ServiceInteger {
Valid(String),
OutOfRange(String),
Other(String),
}Expand description
The raw spelling of a service integer setting, with a conservative validity classification.
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.
Valid(String)
An integral YAML scalar in the documented range for its field.
OutOfRange(String)
An integral YAML scalar retained outside the field’s documented range.
Other(String)
A string or scalar expression retained without numeric coercion.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceInteger
impl Clone for ServiceInteger
Source§fn clone(&self) -> ServiceInteger
fn clone(&self) -> ServiceInteger
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceInteger
impl Debug for ServiceInteger
impl Eq for ServiceInteger
Source§impl PartialEq for ServiceInteger
impl PartialEq for ServiceInteger
impl StructuralPartialEq for ServiceInteger
Auto Trait Implementations§
impl Freeze for ServiceInteger
impl RefUnwindSafe for ServiceInteger
impl Send for ServiceInteger
impl Sync for ServiceInteger
impl Unpin for ServiceInteger
impl UnsafeUnpin for ServiceInteger
impl UnwindSafe for ServiceInteger
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