pub struct ReplaceCertificateResponse {
pub certificate: Box<Certificate>,
}
Expand description
ReplaceCertificateResponse : Response to PUT https://api.hetzner.cloud/v1/certificates/{id}
Fields§
§certificate: Box<Certificate>
Implementations§
source§impl ReplaceCertificateResponse
impl ReplaceCertificateResponse
sourcepub fn new(certificate: Certificate) -> ReplaceCertificateResponse
pub fn new(certificate: Certificate) -> ReplaceCertificateResponse
Response to PUT https://api.hetzner.cloud/v1/certificates/{id}
Trait Implementations§
source§impl Clone for ReplaceCertificateResponse
impl Clone for ReplaceCertificateResponse
source§fn clone(&self) -> ReplaceCertificateResponse
fn clone(&self) -> ReplaceCertificateResponse
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 ReplaceCertificateResponse
impl Debug for ReplaceCertificateResponse
source§impl Default for ReplaceCertificateResponse
impl Default for ReplaceCertificateResponse
source§fn default() -> ReplaceCertificateResponse
fn default() -> ReplaceCertificateResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReplaceCertificateResponse
impl<'de> Deserialize<'de> for ReplaceCertificateResponse
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 PartialEq for ReplaceCertificateResponse
impl PartialEq for ReplaceCertificateResponse
source§fn eq(&self, other: &ReplaceCertificateResponse) -> bool
fn eq(&self, other: &ReplaceCertificateResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplaceCertificateResponse
Auto Trait Implementations§
impl RefUnwindSafe for ReplaceCertificateResponse
impl Send for ReplaceCertificateResponse
impl Sync for ReplaceCertificateResponse
impl Unpin for ReplaceCertificateResponse
impl UnwindSafe for ReplaceCertificateResponse
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