pub struct Api { /* private fields */ }Implementations§
source§impl Api
impl Api
pub fn new(options: Option<ApiOptions>, body: Body, pin_id: &str) -> Self
pub fn ad_account_id(self, ad_account_id: &str) -> Self
pub fn build(self, bearer_code: &str) -> RequestBuilder
pub async fn execute(self, bearer_code: &str) -> Result<ApiResponse<Pin>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Api
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)