[−][src]Struct krill::commons::remote::rfc8183::RepositoryResponse
Type representing a <repository_response/>
This is the response sent to a CA by the publication server. It contains the details needed by the CA to send publication messages to the server.
See https://tools.ietf.org/html/rfc8183#section-5.2.4
Implementations
impl RepositoryResponse
[src]
pub fn new(
tag: Option<String>,
publisher_handle: Handle,
id_cert: IdCert,
service_uri: ServiceUri,
repo_info: RepoInfo
) -> Self
[src]
tag: Option<String>,
publisher_handle: Handle,
id_cert: IdCert,
service_uri: ServiceUri,
repo_info: RepoInfo
) -> Self
Creates a new response.
pub fn tag(&self) -> &Option<String>
[src]
pub fn publisher_handle(&self) -> &Handle
[src]
pub fn id_cert(&self) -> &IdCert
[src]
pub fn service_uri(&self) -> &ServiceUri
[src]
pub fn repo_info(&self) -> &RepoInfo
[src]
impl RepositoryResponse
[src]
pub fn validate<R>(reader: R) -> Result<Self, Error> where
R: Read,
[src]
R: Read,
Parses a <repository_response /> message.
impl RepositoryResponse
[src]
pub fn encode_vec(&self) -> Vec<u8>
[src]
Encodes the <repository_response/> to a Vec
pub fn save(&self, full_path: &PathBuf) -> Result<(), Error>
[src]
Saves this as an XML file
Trait Implementations
impl Clone for RepositoryResponse
[src]
fn clone(&self) -> RepositoryResponse
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RepositoryResponse
[src]
impl<'de> Deserialize<'de> for RepositoryResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for RepositoryResponse
[src]
impl PartialEq<RepositoryResponse> for RepositoryResponse
[src]
fn eq(&self, other: &RepositoryResponse) -> bool
[src]
fn ne(&self, other: &RepositoryResponse) -> bool
[src]
impl Serialize for RepositoryResponse
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for RepositoryResponse
[src]
impl StructuralPartialEq for RepositoryResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for RepositoryResponse
impl Send for RepositoryResponse
impl Sync for RepositoryResponse
impl Unpin for RepositoryResponse
impl UnwindSafe for RepositoryResponse
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, 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>,