pub struct BuildPhysicalScope {
pub issuer_did: String,
pub subject_did: String,
pub max_force_n: Option<f64>,
pub max_speed_mps: Option<f64>,
pub max_speed_near_humans_mps: Option<f64>,
pub allowed_zones: Option<Vec<String>>,
pub shift_windows: Option<Vec<ShiftWindow>>,
pub valid_from: String,
pub valid_until: Option<String>,
}Expand description
Parameters for build_physical_scope_credential. The issuer is the signer
(a fleet authority); subject_did is the robot the scope is granted to.
Fields§
§issuer_did: String§subject_did: String§max_force_n: Option<f64>§max_speed_mps: Option<f64>§max_speed_near_humans_mps: Option<f64>§allowed_zones: Option<Vec<String>>§shift_windows: Option<Vec<ShiftWindow>>§valid_from: String§valid_until: Option<String>Trait Implementations§
Source§impl Clone for BuildPhysicalScope
impl Clone for BuildPhysicalScope
Source§impl Debug for BuildPhysicalScope
impl Debug for BuildPhysicalScope
Auto Trait Implementations§
impl Forget for BuildPhysicalScope
impl Freeze for BuildPhysicalScope
impl RefUnwindSafe for BuildPhysicalScope
impl Send for BuildPhysicalScope
impl Sync for BuildPhysicalScope
impl Unpin for BuildPhysicalScope
impl UnsafeUnpin for BuildPhysicalScope
impl UnwindSafe for BuildPhysicalScope
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