#[doc = r" Error types."] pub mod error { #[doc = r" Error from a TryFrom or FromStr implementation."] pub struct ConversionError(::std::borrow::Cow<'static, str>); impl ::std::error::Error for ConversionError {} impl ::std::fmt::Display for ConversionError { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> Result<(), ::std::fmt::Error> { ::std::fmt::Display::fmt(&self.0, f) } } impl ::std::fmt::Debug for ConversionError { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> Result<(), ::std::fmt::Error> { ::std::fmt::Debug::fmt(&self.0, f) } } impl From<&'static str> for ConversionError { fn from(value: &'static str) -> Self { Self(value.into()) } } impl From for ConversionError { fn from(value: String) -> Self { Self(value.into()) } } } #[doc = "AllTheThings"] #[doc = r""] #[doc = r"
JSON schema"] #[doc = r""] #[doc = r" ```json"] #[doc = "{"] #[doc = " \"type\": \"object\","] #[doc = " \"properties\": {"] #[doc = " \"option_marker\": {"] #[doc = " \"$ref\": \"#/$defs/OptionMarker\""] #[doc = " },"] #[doc = " \"path\": {"] #[doc = " \"$ref\": \"#/$defs/PathBuf\""] #[doc = " }"] #[doc = " }"] #[doc = "}"] #[doc = r" ```"] #[doc = r"
"] #[derive(:: serde :: Deserialize, :: serde :: Serialize, Clone, Debug)] pub struct AllTheThings { #[serde(default, skip_serializing_if = "Option::is_none")] pub option_marker: Option<::std::option::Option>, #[serde(default, skip_serializing_if = "Option::is_none")] pub path: Option<::std::path::PathBuf>, } impl From<&AllTheThings> for AllTheThings { fn from(value: &AllTheThings) -> Self { value.clone() } } #[doc = "Marker"] #[doc = r""] #[doc = r"
JSON schema"] #[doc = r""] #[doc = r" ```json"] #[doc = "false"] #[doc = r" ```"] #[doc = r"
"] #[derive( :: serde :: Deserialize, :: serde :: Serialize, Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, )] #[serde(deny_unknown_fields)] pub enum Marker {} impl From<&Marker> for Marker { fn from(value: &Marker) -> Self { value.clone() } } fn main() {}