pub struct DeploymentNode {
pub name: String,
pub target_host: String,
pub target_user: String,
pub target_port: Option<u16>,
pub system: String,
pub profile_type: ProfileType,
pub build_on_target: bool,
pub tags: Vec<String>,
pub drv_path: Option<String>,
pub toplevel: Option<String>,
}Expand description
A single deployment target node.
Fields§
§name: StringNode name (matches nixosConfigurations key).
target_host: StringTarget host (hostname or IP).
target_user: StringSSH user for deployment.
target_port: Option<u16>SSH port (None = default 22).
system: StringSystem architecture (e.g. “x86_64-linux”).
profile_type: ProfileTypeProfile type.
build_on_target: boolWhether to build on the target itself.
Tags for group-based selection.
drv_path: Option<String>Derivation path for the system toplevel.
toplevel: Option<String>Store path for the system toplevel (after build).
Trait Implementations§
Source§impl Clone for DeploymentNode
impl Clone for DeploymentNode
Source§fn clone(&self) -> DeploymentNode
fn clone(&self) -> DeploymentNode
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 moreSource§impl Debug for DeploymentNode
impl Debug for DeploymentNode
Source§impl<'de> Deserialize<'de> for DeploymentNode
impl<'de> Deserialize<'de> for DeploymentNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeploymentNode
impl RefUnwindSafe for DeploymentNode
impl Send for DeploymentNode
impl Sync for DeploymentNode
impl Unpin for DeploymentNode
impl UnsafeUnpin for DeploymentNode
impl UnwindSafe for DeploymentNode
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