pub struct StartModeChange {
pub from: StartMode,
pub to: StartMode,
pub changed: bool,
pub store_scope: SecretScope,
pub runner_root: RootAccessSummary,
}Expand description
What set_start_mode did.
Fields§
§from: StartModeWhat it was.
to: StartModeWhat it is now.
changed: boolfalse when the registration was already in the requested mode.
store_scope: SecretScopeThe secret store the new mode obliges, so a caller can tell an operator whether the token has to move too.
runner_root: RootAccessSummaryWhat the mode change did to the runner root’s access control.
A mode change moves the account the daemon runs as, and the runner root admits that account by name — so the two move together or the new registration cannot write its own workspaces.
Trait Implementations§
Source§impl Clone for StartModeChange
impl Clone for StartModeChange
Source§fn clone(&self) -> StartModeChange
fn clone(&self) -> StartModeChange
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 moreSource§impl Debug for StartModeChange
impl Debug for StartModeChange
Source§impl Display for StartModeChange
impl Display for StartModeChange
impl Eq for StartModeChange
Source§impl PartialEq for StartModeChange
impl PartialEq for StartModeChange
impl StructuralPartialEq for StartModeChange
Auto Trait Implementations§
impl Freeze for StartModeChange
impl RefUnwindSafe for StartModeChange
impl Send for StartModeChange
impl Sync for StartModeChange
impl Unpin for StartModeChange
impl UnsafeUnpin for StartModeChange
impl UnwindSafe for StartModeChange
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