Struct heroku_rs::endpoints::account::get::SmsNumberDetails [−][src]
pub struct SmsNumberDetails<'a> { pub account_id: &'a str, }
Expand description
Sms Number
Get sms number by account id or email
See Heroku documentation for more information about this endpoint
Example:
SmsNumberDetails takes account_id parameter, and returns a sms number
.
use heroku_rs::prelude::*; let account_id = "ACCOUNT_EMAIL_OR_ID"; let response = api_client.request(&SmsNumberDetails::new(account_id)); match response { Ok(success) => println!("Success: {:#?}", success), Err(e) => println!("Error: {}", e), }
See how to create the Heroku api_client
.
Fields
account_id: &'a str
unique identifier, email or account id
Implementations
impl<'a> SmsNumberDetails<'a>
[src]
impl<'a> SmsNumberDetails<'a>
[src]pub fn new(account_id: &'a str) -> SmsNumberDetails<'_>
[src]
Trait Implementations
impl<'a> HerokuEndpoint<SmsNumber, (), ()> for SmsNumberDetails<'a>
[src]
impl<'a> HerokuEndpoint<SmsNumber, (), ()> for SmsNumberDetails<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for SmsNumberDetails<'a>
impl<'a> Send for SmsNumberDetails<'a>
impl<'a> Sync for SmsNumberDetails<'a>
impl<'a> Unpin for SmsNumberDetails<'a>
impl<'a> UnwindSafe for SmsNumberDetails<'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]