pub struct Report {
pub report_id: ProgressReportId,
pub enrollment_id: Id,
pub session_ref: SessionRef,
/* private fields */
}Expand description
Training progress report carrying session evidence, milestones, and approval state.
Fields§
§report_id: ProgressReportIdSource-derived report id carried by this training contract.
enrollment_id: IdSource-derived enrollment id carried by this training contract.
session_ref: SessionRefSource-derived session ref carried by this training contract.
Implementations§
Source§impl Report
impl Report
Sourcepub fn builder() -> ReportBuilder
pub fn builder() -> ReportBuilder
Starts a validated builder for this training documentation or progress packet.
Sourcepub fn has_evidence(&self) -> bool
pub fn has_evidence(&self) -> bool
Reports whether the progress report includes trainer/source evidence.
Sourcepub fn milestones(&self) -> &[Progress]
pub fn milestones(&self) -> &[Progress]
Returns the milestones evidence recorded on this training contract.
Sourcepub fn approval(&self) -> &ApprovalState
pub fn approval(&self) -> &ApprovalState
Returns the approval evidence recorded on this training contract.
Sourcepub fn parent_facing_boundary(&self) -> MemberFacingBoundary
pub fn parent_facing_boundary(&self) -> MemberFacingBoundary
Returns the parent facing boundary evidence recorded on this training contract.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
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 Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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