pub struct CommentsGet<'a> { /* private fields */ }Expand description
Builder for Client::comments_get
Implementations§
Source§impl<'a> CommentsGet<'a>
impl<'a> CommentsGet<'a>
pub fn new(client: &'a Client) -> Self
pub fn limit<V>(self, value: V) -> Self
pub fn object_id<V>(self, value: V) -> Self
pub fn object_type<V>(self, value: V) -> Self
pub fn page<V>(self, value: V) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<GetCommentsResponse>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<GetCommentsResponse>, Error<()>>
Sends a GET request to /api/public/comments
Trait Implementations§
Source§impl<'a> Clone for CommentsGet<'a>
impl<'a> Clone for CommentsGet<'a>
Source§fn clone(&self) -> CommentsGet<'a>
fn clone(&self) -> CommentsGet<'a>
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<'a> Freeze for CommentsGet<'a>
impl<'a> !RefUnwindSafe for CommentsGet<'a>
impl<'a> Send for CommentsGet<'a>
impl<'a> Sync for CommentsGet<'a>
impl<'a> Unpin for CommentsGet<'a>
impl<'a> UnsafeUnpin for CommentsGet<'a>
impl<'a> !UnwindSafe for CommentsGet<'a>
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