[][src]Struct heroku_rs::endpoints::account::Key

pub struct Key {
    pub comment: String,
    pub created_at: DateTime<Utc>,
    pub email: String,
    pub fingerprint: String,
    pub id: String,
    pub public_key: String,
    pub updated_at: DateTime<Utc>,
}

Key

Stability: production

Keys represent public SSH keys associated with an account and are used to authorize accounts as they are performing git operations.

See Heroku documentation for more information about this endpoint

Fields

comment: String

comment on the key. Example: "username@host"

created_at: DateTime<Utc>

when key was created

email: String

deprecated. Please refer to ‘comment’ instead

fingerprint: String

a unique identifying string based on contents

id: String

unique identifier of this key

public_key: String

full public_key as uploaded

updated_at: DateTime<Utc>

when key was updated

Trait Implementations

impl ApiResult for Key[src]

impl Clone for Key[src]

impl Debug for Key[src]

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

impl<'a> HerokuEndpoint<Key, (), ()> for KeyDetails<'a>[src]

impl Serialize for Key[src]

Auto Trait Implementations

impl RefUnwindSafe for Key

impl Send for Key

impl Sync for Key

impl Unpin for Key

impl UnwindSafe for Key

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.