[][src]Trait indy_utils::qualifiable::Qualifiable

pub trait Qualifiable: From<String> + Deref<Target = str> + Validatable {
    pub fn prefix() -> &'static str;

    pub fn combine(method: Option<&str>, entity: &str) -> Self { ... }
pub fn split<'a>(&'a self) -> (Option<&'a str>, &'a str) { ... }
pub fn get_method<'a>(&'a self) -> Option<&'a str> { ... }
pub fn default_method(&self, method: Option<&str>) -> Self { ... }
pub fn replace_method(&self, method: Option<&str>) -> Self { ... }
pub fn remove_method(&self, method: &str) -> Self { ... }
pub fn from_str(entity: &str) -> Result<Self, ValidationError> { ... }
pub fn is_fully_qualified(&self) -> bool { ... }
pub fn to_qualified(&self, method: &str) -> Result<Self, ValidationError> { ... }
pub fn to_unqualified(&self) -> Self { ... } }

An identifier which can be qualified with a prefix and method

Required methods

pub fn prefix() -> &'static str

Loading content...

Provided methods

pub fn combine(method: Option<&str>, entity: &str) -> Self

pub fn split<'a>(&'a self) -> (Option<&'a str>, &'a str)

pub fn get_method<'a>(&'a self) -> Option<&'a str>

pub fn default_method(&self, method: Option<&str>) -> Self

pub fn replace_method(&self, method: Option<&str>) -> Self

pub fn remove_method(&self, method: &str) -> Self

pub fn from_str(entity: &str) -> Result<Self, ValidationError>

pub fn is_fully_qualified(&self) -> bool

pub fn to_qualified(&self, method: &str) -> Result<Self, ValidationError>

pub fn to_unqualified(&self) -> Self

Loading content...

Implementors

impl Qualifiable for DidValue[src]

Loading content...