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

pub struct CertAuthInfo { /* fields omitted */ }

This type represents the details of a CertAuth that need to be exposed through the API/CLI/UI

Implementations

impl CertAuthInfo[src]

pub fn new(
    handle: Handle,
    id_cert: IdCertPem,
    repo_info: Option<RepoInfo>,
    parents: HashMap<ParentHandle, ParentCaContact>,
    resource_classes: HashMap<ResourceClassName, ResourceClassInfo>,
    children: Vec<ChildHandle>
) -> Self
[src]

pub fn handle(&self) -> &Handle[src]

pub fn id_cert(&self) -> &IdCertPem[src]

pub fn repo_info(&self) -> Option<&RepoInfo>[src]

pub fn parents(&self) -> &Vec<ParentInfo>[src]

pub fn resources(&self) -> &ResourceSet[src]

pub fn resource_classes(&self) -> &HashMap<ResourceClassName, ResourceClassInfo>[src]

pub fn children(&self) -> &Vec<ChildHandle>[src]

pub fn published_objects(&self) -> Vec<Publish>[src]

Trait Implementations

impl Clone for CertAuthInfo[src]

impl Debug for CertAuthInfo[src]

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

impl Eq for CertAuthInfo[src]

impl PartialEq<CertAuthInfo> for CertAuthInfo[src]

impl Serialize for CertAuthInfo[src]

impl StructuralEq for CertAuthInfo[src]

impl StructuralPartialEq for CertAuthInfo[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, 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.