pub struct CycleTimeFilter {
pub sprint: Option<String>,
pub since: Option<DateTime<Utc>>,
pub until: Option<DateTime<Utc>>,
}Expand description
Optional filters for Cycle/Lead Time aggregation.
sprint selects an assigned sprint; since and until bound the completion time (done_at),
inclusively. An unknown sprint produces an empty result rather than an error, matching
list --sprint and board --sprint.
Fields§
§sprint: Option<String>Assigned sprint to include, or all sprints when None.
since: Option<DateTime<Utc>>Inclusive lower bound for completion time (done_at >= since).
until: Option<DateTime<Utc>>Inclusive upper bound for completion time (done_at <= until).
Trait Implementations§
Source§impl Clone for CycleTimeFilter
impl Clone for CycleTimeFilter
Source§fn clone(&self) -> CycleTimeFilter
fn clone(&self) -> CycleTimeFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CycleTimeFilter
impl Debug for CycleTimeFilter
Source§impl Default for CycleTimeFilter
impl Default for CycleTimeFilter
Source§fn default() -> CycleTimeFilter
fn default() -> CycleTimeFilter
Returns the “default value” for a type. Read more
impl Eq for CycleTimeFilter
Source§impl PartialEq for CycleTimeFilter
impl PartialEq for CycleTimeFilter
impl StructuralPartialEq for CycleTimeFilter
Auto Trait Implementations§
impl Freeze for CycleTimeFilter
impl RefUnwindSafe for CycleTimeFilter
impl Send for CycleTimeFilter
impl Sync for CycleTimeFilter
impl Unpin for CycleTimeFilter
impl UnsafeUnpin for CycleTimeFilter
impl UnwindSafe for CycleTimeFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more