pub struct CommandApprovalState {
pub yolo: bool,
pub trust_mode: bool,
}Expand description
Host approval posture for the /restore trust gate (D4: no MODE_POLICY).
Fields§
§yolo: bool§trust_mode: boolTrait Implementations§
Source§impl Clone for CommandApprovalState
impl Clone for CommandApprovalState
Source§fn clone(&self) -> CommandApprovalState
fn clone(&self) -> CommandApprovalState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandApprovalState
Source§impl Debug for CommandApprovalState
impl Debug for CommandApprovalState
impl Eq for CommandApprovalState
Source§impl PartialEq for CommandApprovalState
impl PartialEq for CommandApprovalState
impl StructuralPartialEq for CommandApprovalState
Auto Trait Implementations§
impl Freeze for CommandApprovalState
impl RefUnwindSafe for CommandApprovalState
impl Send for CommandApprovalState
impl Sync for CommandApprovalState
impl Unpin for CommandApprovalState
impl UnsafeUnpin for CommandApprovalState
impl UnwindSafe for CommandApprovalState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.