pub enum NetworkPolicyMetricDimensionHttpStatus {
Neither = 1,
HttpOnly = 2,
HttpsOnly = 3,
Both = 4,
}
Variants§
Trait Implementations§
Source§impl AsEventCode for NetworkPolicyMetricDimensionHttpStatus
impl AsEventCode for NetworkPolicyMetricDimensionHttpStatus
fn as_event_code(&self) -> u32
Source§impl Clone for NetworkPolicyMetricDimensionHttpStatus
impl Clone for NetworkPolicyMetricDimensionHttpStatus
Source§fn clone(&self) -> NetworkPolicyMetricDimensionHttpStatus
fn clone(&self) -> NetworkPolicyMetricDimensionHttpStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Ord for NetworkPolicyMetricDimensionHttpStatus
impl Ord for NetworkPolicyMetricDimensionHttpStatus
Source§fn cmp(&self, other: &NetworkPolicyMetricDimensionHttpStatus) -> Ordering
fn cmp(&self, other: &NetworkPolicyMetricDimensionHttpStatus) -> 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 NetworkPolicyMetricDimensionHttpStatus
impl PartialEq for NetworkPolicyMetricDimensionHttpStatus
Source§fn eq(&self, other: &NetworkPolicyMetricDimensionHttpStatus) -> bool
fn eq(&self, other: &NetworkPolicyMetricDimensionHttpStatus) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for NetworkPolicyMetricDimensionHttpStatus
impl PartialOrd for NetworkPolicyMetricDimensionHttpStatus
impl Copy for NetworkPolicyMetricDimensionHttpStatus
impl Eq for NetworkPolicyMetricDimensionHttpStatus
impl StructuralPartialEq for NetworkPolicyMetricDimensionHttpStatus
Auto Trait Implementations§
impl Freeze for NetworkPolicyMetricDimensionHttpStatus
impl RefUnwindSafe for NetworkPolicyMetricDimensionHttpStatus
impl Send for NetworkPolicyMetricDimensionHttpStatus
impl Sync for NetworkPolicyMetricDimensionHttpStatus
impl Unpin for NetworkPolicyMetricDimensionHttpStatus
impl UnwindSafe for NetworkPolicyMetricDimensionHttpStatus
Blanket Implementations§
§impl<A> AsEventCodes for Awhere
A: AsEventCode,
impl<A> AsEventCodes for Awhere
A: AsEventCode,
§fn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a
Vec<u32>
of event codes.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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)