pub struct Api { /* private fields */ }Implementations§
Source§impl Api
impl Api
pub fn new(options: Option<ApiOptions>) -> Self
pub fn ad_account_id(self, ad_account_id: &str) -> Self
pub fn bookmark(self, bookmark: &str) -> Self
pub fn page_size(self, page_size: u64) -> Self
pub fn privacy(self, privacy: Privacy) -> Self
pub fn build(self, bearer_code: &str) -> RequestBuilder
pub async fn execute( self, bearer_code: &str, ) -> Result<ApiResponse<ListResponse<Board>>, 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