use core::fmt;
use serde::{Deserialize, Serialize};
#[derive(Default)]
pub struct ManifestPushToRegistryOptions<'a> {
pub name: &'a str,
pub all: Option<bool>,
pub destination: &'a str,
}
#[derive(Deserialize, Serialize)]
#[serde(rename_all = "PascalCase")]
pub struct ManifestPushToRegistry {
pub id: String,
}
impl fmt::Debug for ManifestPushToRegistry {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let json = serde_json::to_string_pretty(self).map_err(|_| fmt::Error)?;
f.write_str(&json)
}
}