pub struct FlakeNode {
pub inputs: BTreeMap<String, InputRef>,
pub locked: Option<LockedInput>,
pub original: Option<OriginalInput>,
pub flake: Option<bool>,
pub extra: BTreeMap<String, Value>,
}Expand description
A single node in the input graph.
Fields§
§inputs: BTreeMap<String, InputRef>Inputs — maps input name to either a direct node reference or a follows path.
locked: Option<LockedInput>Pinned revision information (absent on the root node).
original: Option<OriginalInput>Original (un-resolved) input reference (absent on the root node).
flake: Option<bool>Whether this node is a flake (defaults to true when absent).
extra: BTreeMap<String, Value>Unknown fields (e.g. parent for path-typed flakes) — captured
via serde(flatten) so they round-trip even when sui-compat
doesn’t know about them yet.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlakeNode
impl<'de> Deserialize<'de> for FlakeNode
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 FlakeNode
impl RefUnwindSafe for FlakeNode
impl Send for FlakeNode
impl Sync for FlakeNode
impl Unpin for FlakeNode
impl UnsafeUnpin for FlakeNode
impl UnwindSafe for FlakeNode
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