pub struct QuestionsApi { /* private fields */ }Expand description
Questions API client.
Implementations§
Source§impl QuestionsApi
impl QuestionsApi
Sourcepub fn new(http: HttpClient) -> Self
pub fn new(http: HttpClient) -> Self
Create a new Questions API client.
Sourcepub async fn list(&self) -> Result<Vec<QuestionRequest>>
pub async fn list(&self) -> Result<Vec<QuestionRequest>>
Trait Implementations§
Source§impl Clone for QuestionsApi
impl Clone for QuestionsApi
Source§fn clone(&self) -> QuestionsApi
fn clone(&self) -> QuestionsApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QuestionsApi
impl !RefUnwindSafe for QuestionsApi
impl Send for QuestionsApi
impl Sync for QuestionsApi
impl Unpin for QuestionsApi
impl !UnwindSafe for QuestionsApi
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