pub struct BuildActionApproval {
pub approver_did: String,
pub action_id: String,
pub robot_did: String,
pub decision: String,
pub valid_from: String,
pub valid_until: Option<String>,
}Expand description
Parameters for build_action_approval. The approver is the signer; the
approval is over a specific physical action action_id that robot_did
would perform. decision is “approve” or “reject”.
Fields§
§approver_did: String§action_id: String§robot_did: String§decision: String§valid_from: String§valid_until: Option<String>Trait Implementations§
Source§impl Clone for BuildActionApproval
impl Clone for BuildActionApproval
Auto Trait Implementations§
impl Freeze for BuildActionApproval
impl RefUnwindSafe for BuildActionApproval
impl Send for BuildActionApproval
impl Sync for BuildActionApproval
impl Unpin for BuildActionApproval
impl UnsafeUnpin for BuildActionApproval
impl UnwindSafe for BuildActionApproval
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