pub struct ListBuilder<'a, T> { /* private fields */ }Expand description
A builder for requests that return a list of items (e.g., timelines, account lists).
Implementations§
Source§impl<'a, T: DeserializeOwned> ListBuilder<'a, T>
impl<'a, T: DeserializeOwned> ListBuilder<'a, T>
Sourcepub fn new(client: &'a MastodonClient, url: String) -> Self
pub fn new(client: &'a MastodonClient, url: String) -> Self
Creates a new ListBuilder for the given URL.
Auto Trait Implementations§
impl<'a, T> Freeze for ListBuilder<'a, T>
impl<'a, T> !RefUnwindSafe for ListBuilder<'a, T>
impl<'a, T> Send for ListBuilder<'a, T>where
T: Send,
impl<'a, T> Sync for ListBuilder<'a, T>where
T: Sync,
impl<'a, T> Unpin for ListBuilder<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for ListBuilder<'a, T>
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