pub struct SafetyRecordCheck<'a> {
pub entries: Option<&'a [Value]>,
pub robot_did: Option<&'a str>,
pub trusted_issuers: Option<&'a HashSet<String>>,
}Expand description
Options for verify_safety_record.
Fields§
§entries: Option<&'a [Value]>The ledger entries: they must link, end at the summary’s logHead with
exactly totalEvents entries, and reproduce the summary’s counts.
robot_did: Option<&'a str>The record must be about this robot.
trusted_issuers: Option<&'a HashSet<String>>The issuer must be in this set.
Trait Implementations§
Source§impl<'a> Clone for SafetyRecordCheck<'a>
impl<'a> Clone for SafetyRecordCheck<'a>
impl<'a> Copy for SafetyRecordCheck<'a>
Auto Trait Implementations§
impl<'a> Forget for SafetyRecordCheck<'a>
impl<'a> Freeze for SafetyRecordCheck<'a>
impl<'a> Move for SafetyRecordCheck<'a>
impl<'a> RefUnwindSafe for SafetyRecordCheck<'a>
impl<'a> Send for SafetyRecordCheck<'a>
impl<'a> Sync for SafetyRecordCheck<'a>
impl<'a> Unpin for SafetyRecordCheck<'a>
impl<'a> UnsafeUnpin for SafetyRecordCheck<'a>
impl<'a> UnwindSafe for SafetyRecordCheck<'a>
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