pub struct PunchPolicySet { /* private fields */ }
Expand description
This is middle representation for inner
Implementations§
Source§impl PunchPolicySet
impl PunchPolicySet
pub fn all() -> PunchPolicySet
pub fn ipv4() -> PunchPolicySet
pub fn ipv6() -> PunchPolicySet
pub fn empty() -> PunchPolicySet
pub fn or(&mut self, punch_model: PunchPolicy)
pub fn is_match(&self, punch_model: PunchPolicy) -> bool
Trait Implementations§
Source§impl BitAnd for PunchPolicySet
impl BitAnd for PunchPolicySet
Source§type Output = PunchModel
type Output = PunchModel
The resulting type after applying the
&
operator.Source§fn bitand(self, rhs: PunchPolicySet) -> <PunchPolicySet as BitAnd>::Output
fn bitand(self, rhs: PunchPolicySet) -> <PunchPolicySet as BitAnd>::Output
Performs the
&
operation. Read moreSource§impl BitOr<PunchPolicy> for PunchPolicySet
impl BitOr<PunchPolicy> for PunchPolicySet
Source§type Output = PunchPolicySet
type Output = PunchPolicySet
The resulting type after applying the
|
operator.Source§fn bitor(
self,
rhs: PunchPolicy,
) -> <PunchPolicySet as BitOr<PunchPolicy>>::Output
fn bitor( self, rhs: PunchPolicy, ) -> <PunchPolicySet as BitOr<PunchPolicy>>::Output
Performs the
|
operation. Read moreSource§impl Clone for PunchPolicySet
impl Clone for PunchPolicySet
Source§fn clone(&self) -> PunchPolicySet
fn clone(&self) -> PunchPolicySet
Returns a duplicate 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 Debug for PunchPolicySet
impl Debug for PunchPolicySet
Source§impl Default for PunchPolicySet
impl Default for PunchPolicySet
Source§fn default() -> PunchPolicySet
fn default() -> PunchPolicySet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PunchPolicySet
impl<'de> Deserialize<'de> for PunchPolicySet
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PunchPolicySet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PunchPolicySet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PunchPolicySet
impl Serialize for PunchPolicySet
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PunchPolicySet
impl RefUnwindSafe for PunchPolicySet
impl Send for PunchPolicySet
impl Sync for PunchPolicySet
impl Unpin for PunchPolicySet
impl UnwindSafe for PunchPolicySet
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