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