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<'a> Endpoint for ListNews
impl<'a> 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more