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