[][src]Struct digitalocean::prelude::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.

Digital Ocean Documentation.

Implementations

impl Certificate[src]

pub fn id(&self) -> &String[src]

A unique ID that can be used to identify and reference a certificate.

pub fn name(&self) -> &String[src]

A unique human-readable name referring to a certificate.

pub fn not_after(&self) -> &DateTime<Utc>[src]

A time value given in ISO8601 combined date and time format that represents the certificate's expiration date.

pub fn sha1_fingerprint(&self) -> &String[src]

A unique identifier generated from the SHA-1 fingerprint of the certificate.

pub fn created_at(&self) -> &DateTime<Utc>[src]

A time value given in ISO8601 combined date and time format that represents when the certificate was created.

impl Certificate[src]

Trait Implementations

impl Clone for Certificate[src]

impl Debug for Certificate[src]

impl<'de> Deserialize<'de> for Certificate[src]

impl HasResponse for Certificate[src]

type Response = CertificateResponse

impl Serialize for Certificate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,