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

pub struct RequestResourceLimit { /* fields omitted */ }

The scope of resources that a child CA wants to have certified. By default there are no limits, i.e. all the child wants all resources the parent is willing to give. Only if some values are specified for certain resource types will the scope be limited for that type only. Note that asking for more than you are entitled to as a child, will anger a parent. In this case the IssuanceRequest will be rejected.

See: https://tools.ietf.org/html/rfc6492#section-3.4.1

Implementations

impl RequestResourceLimit[src]

pub fn new() -> RequestResourceLimit[src]

pub fn is_empty(&self) -> bool[src]

pub fn with_asn(&mut self, asn: AsBlocks)[src]

pub fn with_ipv4(&mut self, ipv4: IpBlocks)[src]

pub fn with_ipv6(&mut self, ipv6: IpBlocks)[src]

pub fn asn(&self) -> Option<&AsBlocks>[src]

pub fn v4(&self) -> Option<&IpBlocks>[src]

pub fn v6(&self) -> Option<&IpBlocks>[src]

Trait Implementations

impl Clone for RequestResourceLimit[src]

impl Debug for RequestResourceLimit[src]

impl Default for RequestResourceLimit[src]

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

impl Display for RequestResourceLimit[src]

impl Eq for RequestResourceLimit[src]

impl FromStr for RequestResourceLimit[src]

type Err = ()

The associated error which can be returned from parsing.

impl PartialEq<RequestResourceLimit> for RequestResourceLimit[src]

impl Serialize for RequestResourceLimit[src]

impl StructuralEq for RequestResourceLimit[src]

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