pub struct DeploymentTarget {
pub node: DeploymentNode,
pub toplevel_path: String,
pub current_system: Option<String>,
pub needs_build: bool,
pub needs_copy: bool,
}Expand description
A single target in a deployment plan.
Fields§
§node: DeploymentNodeThe node to deploy to.
toplevel_path: StringBuilt toplevel store path.
current_system: Option<String>Current system path on the target (if known).
needs_build: boolWhether the closure needs building.
needs_copy: boolWhether the closure needs copying to the target.
Trait Implementations§
Source§impl Clone for DeploymentTarget
impl Clone for DeploymentTarget
Source§fn clone(&self) -> DeploymentTarget
fn clone(&self) -> DeploymentTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeploymentTarget
impl RefUnwindSafe for DeploymentTarget
impl Send for DeploymentTarget
impl Sync for DeploymentTarget
impl Unpin for DeploymentTarget
impl UnsafeUnpin for DeploymentTarget
impl UnwindSafe for DeploymentTarget
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