pub struct ListTickets<'a, T: TicketShape = Ticket> { /* private fields */ }Expand description
Builder + iterator for GET /api/v1/tickets.
Generic over the response shape (Ticket or TicketExpanded); the
shape is fixed at the call site by TicketsApi::list /
TicketsApi::list_expanded.
Implementations§
Source§impl<'a, T: TicketShape> ListTickets<'a, T>
impl<'a, T: TicketShape> ListTickets<'a, T>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T = Ticket> !RefUnwindSafe for ListTickets<'a, T>
impl<'a, T = Ticket> !UnwindSafe for ListTickets<'a, T>
impl<'a, T> Freeze for ListTickets<'a, T>
impl<'a, T> Send for ListTickets<'a, T>
impl<'a, T> Sync for ListTickets<'a, T>
impl<'a, T> Unpin for ListTickets<'a, T>
impl<'a, T> UnsafeUnpin for ListTickets<'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