pub enum RangeDomain {
CollectionOnly,
CollectionOrIntegerCount,
}Expand description
Runtime input kinds accepted by a range header in one conditional branch.
Variants§
CollectionOnly
Arrays, objects, and null; integer counts are not accepted.
CollectionOrIntegerCount
Arrays, objects, null, and Helm’s integer-count input channel.
Implementations§
Source§impl RangeDomain
impl RangeDomain
Sourcepub const fn allows_integer(self) -> bool
pub const fn allows_integer(self) -> bool
Whether this branch retains Helm’s integer-count input channel.
Trait Implementations§
Source§impl Clone for RangeDomain
impl Clone for RangeDomain
Source§fn clone(&self) -> RangeDomain
fn clone(&self) -> RangeDomain
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 moreimpl Copy for RangeDomain
Source§impl Debug for RangeDomain
impl Debug for RangeDomain
impl Eq for RangeDomain
Source§impl Hash for RangeDomain
impl Hash for RangeDomain
Source§impl Ord for RangeDomain
impl Ord for RangeDomain
Source§fn cmp(&self, other: &RangeDomain) -> Ordering
fn cmp(&self, other: &RangeDomain) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RangeDomain
impl PartialEq for RangeDomain
Source§impl PartialOrd for RangeDomain
impl PartialOrd for RangeDomain
impl StructuralPartialEq for RangeDomain
Auto Trait Implementations§
impl Freeze for RangeDomain
impl RefUnwindSafe for RangeDomain
impl Send for RangeDomain
impl Sync for RangeDomain
impl Unpin for RangeDomain
impl UnsafeUnpin for RangeDomain
impl UnwindSafe for RangeDomain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.