pub struct Target {
pub schema_version: SchemaVersion,
pub gateway: String,
pub mode: String,
pub nodes: Nodes,
}Expand description
The parsed targets/<env>.yaml.
Fields§
§schema_version: SchemaVersionAlways 1; any other value is refused by SchemaVersion.
gateway: StringGateway directory name under gateways/ (render, Phase 21). A single
safe path component.
mode: StringDeployment mode directory name under modes/ (render, Phase 21). A
single safe path component.
nodes: NodesThe nodes this environment deploys to.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
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
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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