pub struct TeamsQueryBuilder<'a> { /* private fields */ }Expand description
Query builder: All teams whose issues can be accessed by the user. This might be different from administrableTeams, which also includes teams whose settings can be changed by the user.
Use setter methods to configure optional parameters, then call
.send() to execute the query.
Implementations§
Source§impl<'a> TeamsQueryBuilder<'a>
impl<'a> TeamsQueryBuilder<'a>
pub fn filter(self, value: TeamFilter) -> Self
pub fn before(self, value: impl Into<String>) -> Self
pub fn after(self, value: impl Into<String>) -> Self
pub fn first(self, value: i64) -> Self
pub fn last(self, value: i64) -> Self
pub fn include_archived(self, value: bool) -> Self
pub fn order_by(self, value: PaginationOrderBy) -> Self
pub async fn send(self) -> Result<Connection<Team>, LinearError>
Auto Trait Implementations§
impl<'a> Freeze for TeamsQueryBuilder<'a>
impl<'a> !RefUnwindSafe for TeamsQueryBuilder<'a>
impl<'a> Send for TeamsQueryBuilder<'a>
impl<'a> Sync for TeamsQueryBuilder<'a>
impl<'a> Unpin for TeamsQueryBuilder<'a>
impl<'a> !UnwindSafe for TeamsQueryBuilder<'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