pub struct StatsQuery {
pub repository: Option<String>,
pub since: Option<u64>,
pub until: Option<u64>,
pub bucket: Bucket,
}Expand description
GET /v1/stats query parameters.
Fields§
§repository: Option<String>Only this owner/name.
since: Option<u64>Only jobs queued at or after this time; default 30 days ago.
until: Option<u64>Only jobs queued before this time.
bucket: BucketThe bucket size; default a day.
Trait Implementations§
Source§impl Clone for StatsQuery
impl Clone for StatsQuery
Source§impl Debug for StatsQuery
impl Debug for StatsQuery
Source§impl Default for StatsQuery
impl Default for StatsQuery
Source§impl<'de> Deserialize<'de> for StatsQuery
impl<'de> Deserialize<'de> for StatsQuery
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 StatsQuery
Source§impl PartialEq for StatsQuery
impl PartialEq for StatsQuery
Source§impl Serialize for StatsQuery
impl Serialize for StatsQuery
impl StructuralPartialEq for StatsQuery
Auto Trait Implementations§
impl Freeze for StatsQuery
impl RefUnwindSafe for StatsQuery
impl Send for StatsQuery
impl Sync for StatsQuery
impl Unpin for StatsQuery
impl UnsafeUnpin for StatsQuery
impl UnwindSafe for StatsQuery
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