pub enum UlimitValue {
Single(Located<LimitValue>),
Range(UlimitRange),
}Expand description
The authored form of one service limit.
Variants§
Single(Located<LimitValue>)
One scalar applies to both limits.
Range(UlimitRange)
Separate soft and hard limits.
Trait Implementations§
Source§impl Clone for UlimitValue
impl Clone for UlimitValue
Source§fn clone(&self) -> UlimitValue
fn clone(&self) -> UlimitValue
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 UlimitValue
impl Debug for UlimitValue
impl Eq for UlimitValue
Source§impl PartialEq for UlimitValue
impl PartialEq for UlimitValue
impl StructuralPartialEq for UlimitValue
Auto Trait Implementations§
impl Freeze for UlimitValue
impl RefUnwindSafe for UlimitValue
impl Send for UlimitValue
impl Sync for UlimitValue
impl Unpin for UlimitValue
impl UnsafeUnpin for UlimitValue
impl UnwindSafe for UlimitValue
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