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 BuildPhysicalScopewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ShiftWindow>: Freeze,
impl Move for BuildPhysicalScope
impl RefUnwindSafe for BuildPhysicalScope
impl Send for BuildPhysicalScopewhere
RawVecInner: Send,
impl Sync for BuildPhysicalScopewhere
RawVecInner: Sync,
impl Unpin for BuildPhysicalScope
impl UnsafeUnpin for BuildPhysicalScopewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ShiftWindow>: UnsafeUnpin,
impl UnwindSafe for BuildPhysicalScopewhere
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