particle-os-cli/process/drivers/opts/inspect.rs

17 lines
320 B
Rust

use std::borrow::Cow;
use bon::Builder;
use crate::drivers::types::Platform;
#[derive(Debug, Clone, Builder)]
pub struct GetMetadataOpts<'scope> {
#[builder(into)]
pub image: Cow<'scope, str>,
#[builder(into)]
pub tag: Option<Cow<'scope, str>>,
#[builder(default)]
pub platform: Platform,
}