use crate::model::{artifacts::ArtifactChecksumRecord, command_custody::CommandCustodyRecord};
#[derive(Debug)]
pub struct TerminalRestoreEvidence {
authority: ArtifactChecksumRecord,
commands: Vec<CommandCustodyRecord>,
}
impl TerminalRestoreEvidence {
#[must_use]
pub const fn new(
authority: ArtifactChecksumRecord,
commands: Vec<CommandCustodyRecord>,
) -> Self {
Self {
authority,
commands,
}
}
#[must_use]
pub const fn authority(&self) -> &ArtifactChecksumRecord {
&self.authority
}
#[must_use]
pub fn commands(&self) -> &[CommandCustodyRecord] {
&self.commands
}
}