pub struct BuildPerception {
pub robot_did: String,
pub sensor_id: String,
pub modality: String,
pub frame_hash: String,
pub captured_at: Option<String>,
pub log_head: Option<String>,
pub log_count: Option<u64>,
pub valid_from: String,
pub valid_until: Option<String>,
}Expand description
Parameters for build_perception_attestation. The robot self-issues the
credential with its own Ed25519 seed. captured_at, when None, defaults to
valid_from. When log_head is supplied, the attestation also anchors the
segment of frames up to that chain head.
Fields§
§robot_did: String§sensor_id: String§modality: String§frame_hash: String§captured_at: Option<String>§log_head: Option<String>§log_count: Option<u64>The number of log entries up to log_head, so a verifier can tell a
segment was not cut short.
valid_from: String§valid_until: Option<String>Trait Implementations§
Source§impl Clone for BuildPerception
impl Clone for BuildPerception
Auto Trait Implementations§
impl Forget for BuildPerception
impl Freeze for BuildPerception
impl Move for BuildPerception
impl RefUnwindSafe for BuildPerception
impl Send for BuildPerceptionwhere
RawVecInner: Send,
impl Sync for BuildPerceptionwhere
RawVecInner: Sync,
impl Unpin for BuildPerception
impl UnsafeUnpin for BuildPerception
impl UnwindSafe for BuildPerceptionwhere
RawVecInner: UnwindSafe,
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