[][src]Struct krill::commons::remote::rfc8183::ParentResponse

pub struct ParentResponse { /* fields omitted */ }

Type representing a <parent_response /> defined in section 5.2.2 of RFC8183.

Implementations

impl ParentResponse[src]

pub fn new(
    tag: Option<String>,
    id_cert: IdCert,
    parent_handle: Handle,
    child_handle: Handle,
    service_uri: ServiceUri
) -> Self
[src]

pub fn tag(&self) -> Option<&String>[src]

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

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

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

pub fn service_uri(&self) -> &ServiceUri[src]

impl ParentResponse[src]

pub fn validate<R>(reader: R) -> Result<Self, Error> where
    R: Read
[src]

impl ParentResponse[src]

pub fn encode_vec(&self) -> Vec<u8>[src]

Encodes the <parent_response/> to a Vec

Trait Implementations

impl Clone for ParentResponse[src]

impl Debug for ParentResponse[src]

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

impl Eq for ParentResponse[src]

impl PartialEq<ParentResponse> for ParentResponse[src]

impl Serialize for ParentResponse[src]

impl StructuralEq for ParentResponse[src]

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