Struct heroku_rs::endpoints::collaborators::Collaborator [−][src]
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, }
Expand description
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 Clone for Collaborator
[src]
impl Clone for Collaborator
[src]fn clone(&self) -> Collaborator
[src]
fn clone(&self) -> Collaborator
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for Collaborator
[src]
impl Debug for Collaborator
[src]impl<'de> Deserialize<'de> for Collaborator
[src]
impl<'de> Deserialize<'de> for Collaborator
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<'a> HerokuEndpoint<Collaborator, (), ()> for CollaboratorDelete<'a>
[src]
impl<'a> HerokuEndpoint<Collaborator, (), ()> for CollaboratorDelete<'a>
[src]impl<'a> HerokuEndpoint<Collaborator, (), ()> for CollaboratorDetails<'a>
[src]
impl<'a> HerokuEndpoint<Collaborator, (), ()> for CollaboratorDetails<'a>
[src]impl<'a> HerokuEndpoint<Collaborator, (), CollaboratorCreateParams<'a>> for CollaboratorCreate<'a>
[src]
impl<'a> HerokuEndpoint<Collaborator, (), CollaboratorCreateParams<'a>> for CollaboratorCreate<'a>
[src]fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<CollaboratorCreateParams<'a>>
[src]
fn query(&self) -> Option<QueryType>
[src]
fn url(&self, environment: &ApiEnvironment) -> Url
[src]
fn content_type(&self) -> &str
[src]
fn version(&self) -> &str
[src]
fn agent(&self) -> &str
[src]
impl PartialEq<Collaborator> for Collaborator
[src]
impl PartialEq<Collaborator> for Collaborator
[src]fn eq(&self, other: &Collaborator) -> bool
[src]
fn eq(&self, other: &Collaborator) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Collaborator) -> bool
[src]
fn ne(&self, other: &Collaborator) -> bool
[src]This method tests for !=
.
impl Serialize for Collaborator
[src]
impl Serialize for Collaborator
[src]impl ApiResult for Collaborator
[src]
impl Eq for Collaborator
[src]
impl StructuralEq for Collaborator
[src]
impl StructuralPartialEq for Collaborator
[src]
Auto Trait Implementations
impl RefUnwindSafe for Collaborator
impl Send for Collaborator
impl Sync for Collaborator
impl Unpin for Collaborator
impl UnwindSafe for Collaborator
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,