pub struct Objective<'m> { /* private fields */ }Expand description
Strict borrowed IFC4 projection.
Implementations§
Source§impl<'m> Objective<'m>
impl<'m> Objective<'m>
Sourcepub fn name(self) -> ConstraintResult<&'m str>
pub fn name(self) -> ConstraintResult<&'m str>
Constraint name.
Sourcepub fn description(self) -> ConstraintResult<Option<&'m str>>
pub fn description(self) -> ConstraintResult<Option<&'m str>>
Optional description.
Sourcepub fn grade(self) -> ConstraintResult<ConstraintGrade>
pub fn grade(self) -> ConstraintResult<ConstraintGrade>
Typed constraint grade.
Sourcepub fn source(self) -> ConstraintResult<Option<&'m str>>
pub fn source(self) -> ConstraintResult<Option<&'m str>>
Optional source label.
Sourcepub fn creating_actor(self) -> ConstraintResult<Option<EntityId>>
pub fn creating_actor(self) -> ConstraintResult<Option<EntityId>>
Optional creating actor.
Sourcepub fn creation_time(self) -> ConstraintResult<Option<&'m str>>
pub fn creation_time(self) -> ConstraintResult<Option<&'m str>>
Optional creation time lexical value.
Sourcepub fn user_defined_grade(self) -> ConstraintResult<Option<&'m str>>
pub fn user_defined_grade(self) -> ConstraintResult<Option<&'m str>>
Optional user-defined grade.
Source§impl<'m> Objective<'m>
impl<'m> Objective<'m>
Sourcepub fn benchmark_values(self) -> ConstraintResult<Option<Vec<EntityId>>>
pub fn benchmark_values(self) -> ConstraintResult<Option<Vec<EntityId>>>
Optional ordered benchmark constraints.
BenchmarkValues is a LIST, not a SET: the authored order is
significant and returned unchanged, never sorted or deduplicated.
Sourcepub fn logical_aggregator(self) -> ConstraintResult<Option<LogicalOperator>>
pub fn logical_aggregator(self) -> ConstraintResult<Option<LogicalOperator>>
Optional typed logical aggregator.
Sourcepub fn qualifier(self) -> ConstraintResult<ObjectiveQualifier>
pub fn qualifier(self) -> ConstraintResult<ObjectiveQualifier>
Typed objective qualifier.
Sourcepub fn user_defined_qualifier(self) -> ConstraintResult<Option<&'m str>>
pub fn user_defined_qualifier(self) -> ConstraintResult<Option<&'m str>>
Optional user-defined objective qualifier.
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for Objective<'m>
impl<'m> RefUnwindSafe for Objective<'m>
impl<'m> Send for Objective<'m>
impl<'m> Sync for Objective<'m>
impl<'m> Unpin for Objective<'m>
impl<'m> UnsafeUnpin for Objective<'m>
impl<'m> UnwindSafe for Objective<'m>
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