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 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>§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 RefUnwindSafe for BuildPerception
impl Send for BuildPerception
impl Sync for BuildPerception
impl Unpin for BuildPerception
impl UnsafeUnpin for BuildPerception
impl UnwindSafe for BuildPerception
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