Struct heroku_rs::endpoints::teams::get::TeamInvitationDetails [−][src]
pub struct TeamInvitationDetails<'a> { pub token_id: &'a str, }
Expand description
Team Invitation Get
Get an invitation by its token
See Heroku documentation for more information about this endpoint
Example:
TeamInvitationDetails takes one required parameter, token_id and returns a TeamInvitation
.
use heroku_rs::prelude::*; let response = api_client.request(&TeamInvitationDetails::new("TOKEN_ID")); match response { Ok(success) => println!("Success: {:#?}", success), Err(e) => println!("Error: {}", e), }
See how to create the Heroku api_client
.
Fields
token_id: &'a str
unique token identifier
Implementations
impl<'a> TeamInvitationDetails<'a>
[src]
impl<'a> TeamInvitationDetails<'a>
[src]pub fn new(token_id: &'a str) -> TeamInvitationDetails<'_>
[src]
Trait Implementations
impl<'a> HerokuEndpoint<TeamInvitation, (), ()> for TeamInvitationDetails<'a>
[src]
impl<'a> HerokuEndpoint<TeamInvitation, (), ()> for TeamInvitationDetails<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for TeamInvitationDetails<'a>
impl<'a> Send for TeamInvitationDetails<'a>
impl<'a> Sync for TeamInvitationDetails<'a>
impl<'a> Unpin for TeamInvitationDetails<'a>
impl<'a> UnwindSafe for TeamInvitationDetails<'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]