Enum krill::commons::api::ParentCaContact
source · pub enum ParentCaContact {
Rfc6492(ParentServerInfo),
}
Expand description
This type contains the information needed to contact the parent ca for resource provisioning requests (RFC6492).
Variants§
Rfc6492(ParentServerInfo)
Implementations§
source§impl ParentCaContact
impl ParentCaContact
pub fn for_parent_server_info(server_info: ParentServerInfo) -> Self
pub fn for_rfc8183_parent_response( response: ParentResponse ) -> Result<Self, Error>
pub fn parent_server_info(&self) -> &ParentServerInfo
pub fn parent_uri(&self) -> &ServiceUri
Trait Implementations§
source§impl Clone for ParentCaContact
impl Clone for ParentCaContact
source§fn clone(&self) -> ParentCaContact
fn clone(&self) -> ParentCaContact
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParentCaContact
impl Debug for ParentCaContact
source§impl<'de> Deserialize<'de> for ParentCaContact
impl<'de> Deserialize<'de> for ParentCaContact
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ParentCaContact
impl Display for ParentCaContact
source§impl From<ParentCaContact> for StorableParentContact
impl From<ParentCaContact> for StorableParentContact
source§fn from(parent: ParentCaContact) -> Self
fn from(parent: ParentCaContact) -> Self
Converts to this type from the input type.
source§impl PartialEq for ParentCaContact
impl PartialEq for ParentCaContact
source§fn eq(&self, other: &ParentCaContact) -> bool
fn eq(&self, other: &ParentCaContact) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Report for ParentCaContact
impl Report for ParentCaContact
source§impl Serialize for ParentCaContact
impl Serialize for ParentCaContact
source§impl TryFrom<OldParentCaContact> for ParentCaContact
impl TryFrom<OldParentCaContact> for ParentCaContact
§type Error = UpgradeError
type Error = UpgradeError
The type returned in the event of a conversion error.
impl Eq for ParentCaContact
impl StructuralEq for ParentCaContact
impl StructuralPartialEq for ParentCaContact
Auto Trait Implementations§
impl RefUnwindSafe for ParentCaContact
impl Send for ParentCaContact
impl Sync for ParentCaContact
impl Unpin for ParentCaContact
impl UnwindSafe for ParentCaContact
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Text for Twhere
T: Display,
impl<T> Text for Twhere
T: Display,
source§fn write_escaped(
&self,
mode: TextEscape,
target: &mut impl Write
) -> Result<(), Error>
fn write_escaped( &self, mode: TextEscape, target: &mut impl Write ) -> Result<(), Error>
Write text escaped for the given mode to
target
.