pub struct BoardSnapshot {
pub items: Vec<BacklogItem>,
pub sprints: Vec<Sprint>,
pub config: Value,
pub dod: Option<String>,
}Expand description
A complete read-only snapshot of all board data exposed by export --json.
The configuration is represented as JSON because the typed configuration module is an implementation detail of the library. It is the effective, validated configuration loaded by pinto, including defaults for omitted settings.
Fields§
§items: Vec<BacklogItem>Active PBIs in the same hierarchical priority order as list --json.
sprints: Vec<Sprint>Sprints in the same creation order as sprint list --json.
config: ValueEffective validated board configuration.
dod: Option<String>Common Definition of Done, or None when it is unset or empty.
Trait Implementations§
Source§impl Clone for BoardSnapshot
impl Clone for BoardSnapshot
Source§fn clone(&self) -> BoardSnapshot
fn clone(&self) -> BoardSnapshot
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 BoardSnapshot
impl Debug for BoardSnapshot
Source§impl PartialEq for BoardSnapshot
impl PartialEq for BoardSnapshot
impl StructuralPartialEq for BoardSnapshot
Auto Trait Implementations§
impl Freeze for BoardSnapshot
impl RefUnwindSafe for BoardSnapshot
impl Send for BoardSnapshot
impl Sync for BoardSnapshot
impl Unpin for BoardSnapshot
impl UnsafeUnpin for BoardSnapshot
impl UnwindSafe for BoardSnapshot
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