pub struct Tokens {
pub name: String,
pub input: String,
pub version: String,
pub tag: String,
pub owner_repo: Option<String>,
pub bin: Option<String>,
pub flake_ref: Option<String>,
pub tool_line: Option<String>,
}Expand description
The values a block’s tokens render to. A token whose value is absent is left in place; the matrix selects no block that needs it.
Fields§
§name: StringRK_DEP_NAME: the package name.
input: StringRK_DEP_INPUT: the flake input name, a Nix identifier derived
from the package name.
version: StringRK_DEP_VERSION: the bare version.
tag: StringRK_DEP_TAG: the release tag.
owner_repo: Option<String>RK_DEP_OWNER_REPO: the forge path.
bin: Option<String>RK_DEP_BIN: the executable a prebuilt archive carries.
flake_ref: Option<String>RK_DEP_FLAKE_REF: the flake reference at the tag.
tool_line: Option<String>RK_DEP_TOOL_LINE: one rendered mise line, for the mise seed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tokens
impl RefUnwindSafe for Tokens
impl Send for Tokens
impl Sync for Tokens
impl Unpin for Tokens
impl UnsafeUnpin for Tokens
impl UnwindSafe for Tokens
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