[][src]Struct krill::commons::api::ResourceClassName

pub struct ResourceClassName { /* fields omitted */ }

This type represents a resource class name, as used in RFC6492. The protocol allows for any arbitrary set of utf8 characters to be used as the name, though in practice names can be expected to be short and plain ascii or even numbers.

We store the name in a Bytes for cheap cloning, as these names need to be passed around quite a bit and end up being stored as owned values in events.

Trait Implementations

impl Clone for ResourceClassName[src]

impl Debug for ResourceClassName[src]

impl Default for ResourceClassName[src]

impl<'de> Deserialize<'de> for ResourceClassName[src]

impl Display for ResourceClassName[src]

impl Eq for ResourceClassName[src]

impl<'_> From<&'_ str> for ResourceClassName[src]

impl From<String> for ResourceClassName[src]

impl From<u32> for ResourceClassName[src]

impl Hash for ResourceClassName[src]

impl Ord for ResourceClassName[src]

impl PartialEq<ResourceClassName> for ResourceClassName[src]

impl PartialOrd<ResourceClassName> for ResourceClassName[src]

impl Serialize for ResourceClassName[src]

impl StructuralEq for ResourceClassName[src]

impl StructuralPartialEq for ResourceClassName[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.