pub struct ObjectivePortfolio { /* private fields */ }Expand description
A portfolio joins rows only by stable goal ID. It intentionally does not attempt to infer that similar objective prose, account configuration, row order, or one collection’s first result refers to another collection’s row.
Implementations§
Source§impl ObjectivePortfolio
impl ObjectivePortfolio
pub fn record_collection( &mut self, coverage: ObjectiveCollectionCoverage, ) -> Result<()>
pub fn insert(&mut self, row: ObjectivePortfolioRow) -> Result<()>
pub fn subject(&self, goal_id: &str) -> Option<&ObjectivePortfolioRow>
pub fn subjects(&self) -> impl Iterator<Item = &ObjectivePortfolioRow>
pub fn membership( &self, goal_id: &str, collection: ObjectiveCollection, ) -> ObjectiveCollectionMembership
pub fn collection_scope_json( &self, primary: ObjectiveCollection, ) -> Result<Value>
Sourcepub fn receipt_evidence(
&self,
) -> (Vec<ToolObservationEvidence>, Vec<ToolCollectionObservation>)
pub fn receipt_evidence( &self, ) -> (Vec<ToolObservationEvidence>, Vec<ToolCollectionObservation>)
Convert the canonical subject-keyed snapshot into durable receipt assertions. Renderers may reorder or truncate prose, but the adapter’s exact subject/facet and collection coverage remain stable evidence.
Trait Implementations§
Source§impl Debug for ObjectivePortfolio
impl Debug for ObjectivePortfolio
Auto Trait Implementations§
impl Forget for ObjectivePortfolio
impl Freeze for ObjectivePortfoliowhere
*const LeafNode<String, ObjectivePortfolioRow> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, ObjectivePortfolioRow)>>: Freeze,
*const LeafNode<ObjectiveCollection, ObjectiveCollectionCoverage> is !null: Freeze,
PhantomData<Box<(ObjectiveCollection, ObjectiveCollectionCoverage)>>: Freeze,
impl Move for ObjectivePortfolio
impl RefUnwindSafe for ObjectivePortfolio
impl Send for ObjectivePortfoliowhere
NodeRef<Owned, String, ObjectivePortfolioRow, LeafOrInternal>: Send,
BoxRaw<(String, ObjectivePortfolioRow)>: Send,
NodeRef<Owned, ObjectiveCollection, ObjectiveCollectionCoverage, LeafOrInternal>: Send,
BoxRaw<(ObjectiveCollection, ObjectiveCollectionCoverage)>: Send,
impl Sync for ObjectivePortfoliowhere
NodeRef<Owned, String, ObjectivePortfolioRow, LeafOrInternal>: Sync,
BoxRaw<(String, ObjectivePortfolioRow)>: Sync,
NodeRef<Owned, ObjectiveCollection, ObjectiveCollectionCoverage, LeafOrInternal>: Sync,
BoxRaw<(ObjectiveCollection, ObjectiveCollectionCoverage)>: Sync,
impl Unpin for ObjectivePortfoliowhere
*const LeafNode<String, ObjectivePortfolioRow> is !null: Unpin,
Box<(String, ObjectivePortfolioRow)>: Unpin,
*const LeafNode<ObjectiveCollection, ObjectiveCollectionCoverage> is !null: Unpin,
Box<(ObjectiveCollection, ObjectiveCollectionCoverage)>: Unpin,
impl UnsafeUnpin for ObjectivePortfoliowhere
*const LeafNode<String, ObjectivePortfolioRow> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, ObjectivePortfolioRow)>>: UnsafeUnpin,
*const LeafNode<ObjectiveCollection, ObjectiveCollectionCoverage> is !null: UnsafeUnpin,
PhantomData<Box<(ObjectiveCollection, ObjectiveCollectionCoverage)>>: UnsafeUnpin,
impl UnwindSafe for ObjectivePortfolio
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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