Struct digitalocean::api::Certificate
[−]
pub struct Certificate { /* fields omitted */ }
SSL certificates may be uploaded to DigitalOcean where they will be placed in a fully encrypted and isolated storage system. They may then be used to perform SSL termination on Load Balancers.
Methods
impl Certificate
fn id(&self) -> &String
A unique ID that can be used to identify and reference a certificate.
fn name(&self) -> &String
A unique human-readable name referring to a certificate.
fn not_after(&self) -> &DateTime<Utc>
A time value given in ISO8601 combined date and time format that represents the certificate's expiration date.
fn sha1_fingerprint(&self) -> &String
A unique identifier generated from the SHA-1 fingerprint of the certificate.
fn created_at(&self) -> &DateTime<Utc>
A time value given in ISO8601 combined date and time format that represents when the certificate was created.
impl Certificate
[src]
fn create<S>(
name: S,
private_key: S,
leaf_certificate: S
) -> CertificateRequest<Create, Certificate> where
S: AsRef<str> + Serialize + Display,
name: S,
private_key: S,
leaf_certificate: S
) -> CertificateRequest<Create, Certificate> where
S: AsRef<str> + Serialize + Display,
fn list() -> CertificateRequest<List, Vec<Certificate>>
fn get<N>(id: N) -> CertificateRequest<Get, Certificate> where
N: AsRef<str> + Display,
N: AsRef<str> + Display,
fn delete<N>(id: N) -> CertificateRequest<Delete, ()> where
N: AsRef<str> + Display,
N: AsRef<str> + Display,
Trait Implementations
impl Debug for Certificate
[src]
impl Clone for Certificate
[src]
fn clone(&self) -> Certificate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more