pub struct JobQuery {
pub repository: Option<String>,
pub state: Option<JobState>,
pub conclusion: Option<String>,
pub since: Option<u64>,
pub until: Option<u64>,
pub before: Option<u64>,
pub limit: Option<u32>,
}Expand description
GET /v1/jobs query parameters. Jobs come newest first (by ID, which grows with time).
Fields§
§repository: Option<String>Only this owner/name.
state: Option<JobState>Only jobs in this state.
conclusion: Option<String>Only jobs with this conclusion, such as failure.
since: Option<u64>Only jobs queued at or after this time.
until: Option<u64>Only jobs queued before this time.
before: Option<u64>Only jobs with a smaller ID: the next of the previous page.
limit: Option<u32>At most this many jobs; default 50, at most 500.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobQuery
impl<'de> Deserialize<'de> for JobQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JobQuery
impl StructuralPartialEq for JobQuery
Auto Trait Implementations§
impl Freeze for JobQuery
impl RefUnwindSafe for JobQuery
impl Send for JobQuery
impl Sync for JobQuery
impl Unpin for JobQuery
impl UnsafeUnpin for JobQuery
impl UnwindSafe for JobQuery
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