[−][src]Struct krill::commons::api::RequestResourceLimit
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]
fn clone(&self) -> RequestResourceLimit
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RequestResourceLimit
[src]
impl Default for RequestResourceLimit
[src]
impl<'de> Deserialize<'de> for RequestResourceLimit
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<RequestResourceLimit> for RequestResourceLimit
[src]
fn eq(&self, other: &RequestResourceLimit) -> bool
[src]
fn ne(&self, other: &RequestResourceLimit) -> bool
[src]
impl Serialize for RequestResourceLimit
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for RequestResourceLimit
[src]
impl StructuralPartialEq for RequestResourceLimit
[src]
Auto Trait Implementations
impl RefUnwindSafe for RequestResourceLimit
impl Send for RequestResourceLimit
impl Sync for RequestResourceLimit
impl Unpin for RequestResourceLimit
impl UnwindSafe for RequestResourceLimit
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,