Struct eva_common::acl::OIDMaskList
source · pub struct OIDMaskList { /* private fields */ }Implementations§
source§impl OIDMaskList
impl OIDMaskList
pub fn new(oid_masks: HashSet<OIDMask>) -> Self
pub fn new0(oid_mask: OIDMask) -> Self
pub fn new_any() -> Self
pub fn from_str_list(s_masks: &[&str]) -> EResult<Self>
pub fn from_string_list(s_masks: &[String]) -> EResult<Self>
pub fn matches(&self, oid: &OID) -> bool
pub fn is_empty(&self) -> bool
pub fn oid_masks(&self) -> &HashSet<OIDMask>
pub fn as_string_vec(&self) -> Vec<String> ⓘ
Trait Implementations§
source§impl Clone for OIDMaskList
impl Clone for OIDMaskList
source§fn clone(&self) -> OIDMaskList
fn clone(&self) -> OIDMaskList
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 Debug for OIDMaskList
impl Debug for OIDMaskList
source§impl Default for OIDMaskList
impl Default for OIDMaskList
source§fn default() -> OIDMaskList
fn default() -> OIDMaskList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OIDMaskList
impl<'de> Deserialize<'de> for OIDMaskList
source§fn deserialize<D>(deserializer: D) -> Result<OIDMaskList, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<OIDMaskList, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<OID> for OIDMaskList
impl From<OID> for OIDMaskList
source§impl From<OIDMask> for OIDMaskList
impl From<OIDMask> for OIDMaskList
source§impl From<OIDMaskList> for Value
impl From<OIDMaskList> for Value
source§fn from(v: OIDMaskList) -> Value
fn from(v: OIDMaskList) -> Value
Converts to this type from the input type.