pub struct ItemDetail {
pub item: BacklogItem,
pub rank_ordinal: usize,
pub children: Vec<ItemId>,
pub dependents: Vec<ItemId>,
}Expand description
Result of item_detail, with bidirectional links in ascending rank order.
Fields§
§item: BacklogItemTarget PBI; parent and depends_on are its forward links.
rank_ordinal: usize1-based ordinal (for display only) among this PBI’s siblings in the same column, in ascending rank order.
Rank is sibling-local: for a child it counts position among the parent’s children; for a top-level PBI, among the column’s top-level PBIs. Dense fractional index strings are unintuitive, so this gives “Nth under the parent” / “Nth at top level”. It is display-only and never persisted.
children: Vec<ItemId>IDs of child items parented by this PBI (in ascending rank order).
dependents: Vec<ItemId>IDs of items that depend on this PBI (in ascending rank order).
Trait Implementations§
Source§impl Clone for ItemDetail
impl Clone for ItemDetail
Source§fn clone(&self) -> ItemDetail
fn clone(&self) -> ItemDetail
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 ItemDetail
impl Debug for ItemDetail
impl Eq for ItemDetail
Source§impl PartialEq for ItemDetail
impl PartialEq for ItemDetail
impl StructuralPartialEq for ItemDetail
Auto Trait Implementations§
impl Freeze for ItemDetail
impl RefUnwindSafe for ItemDetail
impl Send for ItemDetail
impl Sync for ItemDetail
impl Unpin for ItemDetail
impl UnsafeUnpin for ItemDetail
impl UnwindSafe for ItemDetail
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