[][src]Struct heroku_rs::endpoints::collaborators::Collaborator

pub struct Collaborator {
    pub app: App,
    pub created_at: String,
    pub id: String,
    pub permissions: Option<Vec<Permission>>,
    pub role: Option<String>,
    pub updated_at: String,
    pub user: User,
}

Collaborator

Stability: production

A collaborator represents an account that has been given access to an app on Heroku.

See Heroku documentation for more information about this endpoint

Fields

app: App

App struct

created_at: String

when collaborator was created

id: String

unique identifier of collaborator

permissions: Option<Vec<Permission>>

list of permissions this collaborator has.

role: Option<String>

role in the team. One of:"admin" or "collaborator" or "member" or "owner" or null

updated_at: String

when collaborator was updated

user: User

Account struct

Trait Implementations

impl ApiResult for Collaborator[src]

impl Clone for Collaborator[src]

impl Debug for Collaborator[src]

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

impl Eq for Collaborator[src]

impl HerokuEndpoint<Collaborator, (), ()> for CollaboratorDelete[src]

impl HerokuEndpoint<Collaborator, (), ()> for CollaboratorDetails[src]

impl HerokuEndpoint<Collaborator, (), CollaboratorCreateParams> for CollaboratorCreate[src]

impl PartialEq<Collaborator> for Collaborator[src]

impl Serialize for Collaborator[src]

impl StructuralEq for Collaborator[src]

impl StructuralPartialEq for Collaborator[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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.