pub struct Claim {
pub outcome: Outcome,
pub status: ClaimStatus,
/* private fields */
}Expand description
Outcome claim whose achieved/readiness status cannot exist without supporting evidence.
Fields§
§outcome: OutcomeOutcome used by staff to prepare training assignment, package, progress, or parent-summary review.
status: ClaimStatusStatus used by staff to prepare training assignment, package, progress, or parent-summary review.
Implementations§
Source§impl Claim
impl Claim
Sourcepub fn from_evidence(value: ClaimEvidence) -> Result<Self>
pub fn from_evidence(value: ClaimEvidence) -> Result<Self>
Builds this training value from evidence data.
Sourcepub fn evidence(&self) -> &[EvidenceId]
pub fn evidence(&self) -> &[EvidenceId]
Returns the trainer/source evidence that supports this outcome claim.
Sourcepub fn milestones(&self) -> &[Id]
pub fn milestones(&self) -> &[Id]
Returns the milestones value used by training assignment, progress, package, or parent-summary review.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Claim
impl<'de> Deserialize<'de> for Claim
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Claim
impl StructuralPartialEq for Claim
Auto Trait Implementations§
impl Freeze for Claim
impl RefUnwindSafe for Claim
impl Send for Claim
impl Sync for Claim
impl Unpin for Claim
impl UnsafeUnpin for Claim
impl UnwindSafe for Claim
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