diff --git a/Cargo.lock b/Cargo.lock index 3924c31..824c805 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1922,7 +1922,7 @@ checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" [[package]] name = "typify" version = "0.0.11-dev" -source = "git+https://github.com/oxidecomputer/typify#c840ea7b7799eab9a8df220535c1368f402374de" +source = "git+https://github.com/oxidecomputer/typify#55d9fa1ac5c2094668077bcba38b31f422add76b" dependencies = [ "typify-impl", "typify-macro", @@ -1931,7 +1931,7 @@ dependencies = [ [[package]] name = "typify-impl" version = "0.0.11-dev" -source = "git+https://github.com/oxidecomputer/typify#c840ea7b7799eab9a8df220535c1368f402374de" +source = "git+https://github.com/oxidecomputer/typify#55d9fa1ac5c2094668077bcba38b31f422add76b" dependencies = [ "heck", "log", @@ -1949,7 +1949,7 @@ dependencies = [ [[package]] name = "typify-macro" version = "0.0.11-dev" -source = "git+https://github.com/oxidecomputer/typify#c840ea7b7799eab9a8df220535c1368f402374de" +source = "git+https://github.com/oxidecomputer/typify#55d9fa1ac5c2094668077bcba38b31f422add76b" dependencies = [ "proc-macro2", "quote", diff --git a/progenitor-impl/tests/output/nexus-builder-tagged.out b/progenitor-impl/tests/output/nexus-builder-tagged.out index 2e79854..6212e86 100644 --- a/progenitor-impl/tests/output/nexus-builder-tagged.out +++ b/progenitor-impl/tests/output/nexus-builder-tagged.out @@ -1339,6 +1339,15 @@ pub mod types { } } + impl ToString for IpNet { + fn to_string(&self) -> String { + match self { + Self::V4(x) => x.to_string(), + Self::V6(x) => x.to_string(), + } + } + } + ///Identity-related metadata that's included in nearly all public API /// objects #[derive(Clone, Debug, Deserialize, Serialize)] diff --git a/progenitor-impl/tests/output/nexus-builder.out b/progenitor-impl/tests/output/nexus-builder.out index 70bb832..09d88c0 100644 --- a/progenitor-impl/tests/output/nexus-builder.out +++ b/progenitor-impl/tests/output/nexus-builder.out @@ -1359,6 +1359,15 @@ pub mod types { } } + impl ToString for IpNet { + fn to_string(&self) -> String { + match self { + Self::V4(x) => x.to_string(), + Self::V6(x) => x.to_string(), + } + } + } + ///Identity-related metadata that's included in nearly all public API /// objects #[derive(Clone, Debug, Deserialize, Serialize, JsonSchema)] diff --git a/progenitor-impl/tests/output/nexus-positional.out b/progenitor-impl/tests/output/nexus-positional.out index fe20604..f210429 100644 --- a/progenitor-impl/tests/output/nexus-positional.out +++ b/progenitor-impl/tests/output/nexus-positional.out @@ -1135,6 +1135,15 @@ pub mod types { } } + impl ToString for IpNet { + fn to_string(&self) -> String { + match self { + Self::V4(x) => x.to_string(), + Self::V6(x) => x.to_string(), + } + } + } + ///Identity-related metadata that's included in nearly all public API /// objects #[derive(Clone, Debug, Deserialize, Serialize)]