Struct heroku_rs::endpoints::collaborators::get::TeamCollaboratorDetails [−][src]
Expand description
Team App Collaborator Info
Info for a collaborator on a team app.
See Heroku documentation for more information about this endpoint
Example:
TeamCollaboratorDetails takes two required parameters, app_id and collaborator_id, and returns a TeamCollaborator
.
use heroku_rs::prelude::*; let response = api_client.request(&TeamCollaboratorDetails::new("APP_ID_HERE", "COLLABORATOR_EMAIL_OR_ID")); match response { Ok(success) => println!("Success: {:#?}", success), Err(e) => println!("Error: {}", e), }
See how to create the Heroku api_client
.
Fields
app_id: &'a str
app_id can be the app name or id.
collaborator_id: &'a str
collaborator_id can be the collaborator email or id.
Implementations
impl<'a> TeamCollaboratorDetails<'a>
[src]
impl<'a> TeamCollaboratorDetails<'a>
[src]pub fn new(
app_id: &'a str,
collaborator_id: &'a str
) -> TeamCollaboratorDetails<'a>
[src]
app_id: &'a str,
collaborator_id: &'a str
) -> TeamCollaboratorDetails<'a>
Trait Implementations
impl<'a> HerokuEndpoint<TeamCollaborator, (), ()> for TeamCollaboratorDetails<'a>
[src]
impl<'a> HerokuEndpoint<TeamCollaborator, (), ()> for TeamCollaboratorDetails<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for TeamCollaboratorDetails<'a>
impl<'a> Send for TeamCollaboratorDetails<'a>
impl<'a> Sync for TeamCollaboratorDetails<'a>
impl<'a> Unpin for TeamCollaboratorDetails<'a>
impl<'a> UnwindSafe for TeamCollaboratorDetails<'a>
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<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]