pub struct ListNews {}Expand description
The endpoint for all news
Implementations
sourceimpl ListNews
impl ListNews
sourcepub fn builder() -> ListNewsBuilder
pub fn builder() -> ListNewsBuilder
Create a builder for the endpoint.
Trait Implementations
sourceimpl Endpoint for ListNews
impl Endpoint for ListNews
sourcefn parameters(&self) -> QueryParams<'_>
fn parameters(&self) -> QueryParams<'_>
Query parameters for the endpoint.
sourceimpl Pageable for ListNews
impl Pageable for ListNews
sourcefn response_wrapper_key(&self) -> String
fn response_wrapper_key(&self) -> String
returns the name of the key in the response that contains the list of results
impl ReturnsJsonResponse for ListNews
Auto Trait Implementations
impl RefUnwindSafe for ListNews
impl Send for ListNews
impl Sync for ListNews
impl Unpin for ListNews
impl UnwindSafe for ListNews
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more