Struct heroku_rs::endpoints::collaborators::delete::TeamCollaboratorDelete [−][src]
Expand description
Team App Collaborator Delete
Delete an existing collaborator from a team app.
See Heroku documentation for more information about this endpoint
Example:
TeamCollaboratorDelete takes two required parameters, app_id and collaborator_id, and returns the deleted TeamCollaborator
.
use heroku_rs::prelude::*; let response = api_client.request(&TeamCollaboratorDelete::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> TeamCollaboratorDelete<'a>
[src]
impl<'a> TeamCollaboratorDelete<'a>
[src]pub fn new(
app_id: &'a str,
collaborator_id: &'a str
) -> TeamCollaboratorDelete<'a>
[src]
app_id: &'a str,
collaborator_id: &'a str
) -> TeamCollaboratorDelete<'a>
Trait Implementations
impl<'a> HerokuEndpoint<TeamCollaborator, (), ()> for TeamCollaboratorDelete<'a>
[src]
impl<'a> HerokuEndpoint<TeamCollaborator, (), ()> for TeamCollaboratorDelete<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for TeamCollaboratorDelete<'a>
impl<'a> Send for TeamCollaboratorDelete<'a>
impl<'a> Sync for TeamCollaboratorDelete<'a>
impl<'a> Unpin for TeamCollaboratorDelete<'a>
impl<'a> UnwindSafe for TeamCollaboratorDelete<'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]