diff --git a/cargo-typify/README.md b/cargo-typify/README.md index 28d8e555..a58e3096 100644 --- a/cargo-typify/README.md +++ b/cargo-typify/README.md @@ -95,12 +95,6 @@ impl std::convert::TryFrom<&str> for IdOrName { value.parse() } } -impl std::convert::TryFrom<&String> for IdOrName { - type Error = &'static str; - fn try_from(value: &String) -> Result { - value.parse() - } -} impl std::convert::TryFrom for IdOrName { type Error = &'static str; fn try_from(value: String) -> Result { @@ -166,12 +160,6 @@ impl std::convert::TryFrom<&str> for Name { value.parse() } } -impl std::convert::TryFrom<&String> for Name { - type Error = &'static str; - fn try_from(value: &String) -> Result { - value.parse() - } -} impl std::convert::TryFrom for Name { type Error = &'static str; fn try_from(value: String) -> Result { diff --git a/cargo-typify/tests/outputs/builder.rs b/cargo-typify/tests/outputs/builder.rs index 4df953ce..d3bdd8e0 100644 --- a/cargo-typify/tests/outputs/builder.rs +++ b/cargo-typify/tests/outputs/builder.rs @@ -58,11 +58,6 @@ impl ::std::convert::From value.0 } } -impl ::std::convert::From<&Fruit> for Fruit { - fn from(value: &Fruit) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::collections::HashMap<::std::string::String, ::std::string::String>> for Fruit { @@ -105,11 +100,6 @@ pub enum FruitOrVeg { Veg(Veggie), Fruit(Fruit), } -impl ::std::convert::From<&Self> for FruitOrVeg { - fn from(value: &FruitOrVeg) -> Self { - value.clone() - } -} impl ::std::convert::From for FruitOrVeg { fn from(value: Veggie) -> Self { Self::Veg(value) @@ -153,11 +143,6 @@ pub struct Veggie { #[serde(rename = "veggieName")] pub veggie_name: ::std::string::String, } -impl ::std::convert::From<&Veggie> for Veggie { - fn from(value: &Veggie) -> Self { - value.clone() - } -} impl Veggie { pub fn builder() -> builder::Veggie { Default::default() @@ -197,11 +182,6 @@ pub struct Veggies { #[serde(default, skip_serializing_if = "::std::vec::Vec::is_empty")] pub vegetables: ::std::vec::Vec, } -impl ::std::convert::From<&Veggies> for Veggies { - fn from(value: &Veggies) -> Self { - value.clone() - } -} impl ::std::default::Default for Veggies { fn default() -> Self { Self { diff --git a/cargo-typify/tests/outputs/custom_btree_map.rs b/cargo-typify/tests/outputs/custom_btree_map.rs index cdc53eb3..27214973 100644 --- a/cargo-typify/tests/outputs/custom_btree_map.rs +++ b/cargo-typify/tests/outputs/custom_btree_map.rs @@ -58,11 +58,6 @@ impl ::std::convert::From value.0 } } -impl ::std::convert::From<&Fruit> for Fruit { - fn from(value: &Fruit) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::collections::BTreeMap<::std::string::String, ::std::string::String>> for Fruit @@ -106,11 +101,6 @@ pub enum FruitOrVeg { Veg(Veggie), Fruit(Fruit), } -impl ::std::convert::From<&Self> for FruitOrVeg { - fn from(value: &FruitOrVeg) -> Self { - value.clone() - } -} impl ::std::convert::From for FruitOrVeg { fn from(value: Veggie) -> Self { Self::Veg(value) @@ -154,11 +144,6 @@ pub struct Veggie { #[serde(rename = "veggieName")] pub veggie_name: ::std::string::String, } -impl ::std::convert::From<&Veggie> for Veggie { - fn from(value: &Veggie) -> Self { - value.clone() - } -} impl Veggie { pub fn builder() -> builder::Veggie { Default::default() @@ -198,11 +183,6 @@ pub struct Veggies { #[serde(default, skip_serializing_if = "::std::vec::Vec::is_empty")] pub vegetables: ::std::vec::Vec, } -impl ::std::convert::From<&Veggies> for Veggies { - fn from(value: &Veggies) -> Self { - value.clone() - } -} impl ::std::default::Default for Veggies { fn default() -> Self { Self { diff --git a/cargo-typify/tests/outputs/derive.rs b/cargo-typify/tests/outputs/derive.rs index d5a504a5..d66ce803 100644 --- a/cargo-typify/tests/outputs/derive.rs +++ b/cargo-typify/tests/outputs/derive.rs @@ -58,11 +58,6 @@ impl ::std::convert::From value.0 } } -impl ::std::convert::From<&Fruit> for Fruit { - fn from(value: &Fruit) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::collections::HashMap<::std::string::String, ::std::string::String>> for Fruit { @@ -105,11 +100,6 @@ pub enum FruitOrVeg { Veg(Veggie), Fruit(Fruit), } -impl ::std::convert::From<&Self> for FruitOrVeg { - fn from(value: &FruitOrVeg) -> Self { - value.clone() - } -} impl ::std::convert::From for FruitOrVeg { fn from(value: Veggie) -> Self { Self::Veg(value) @@ -153,11 +143,6 @@ pub struct Veggie { #[serde(rename = "veggieName")] pub veggie_name: ::std::string::String, } -impl ::std::convert::From<&Veggie> for Veggie { - fn from(value: &Veggie) -> Self { - value.clone() - } -} #[doc = "A representation of a person, company, organization, or place"] #[doc = r""] #[doc = r"
JSON schema"] @@ -192,11 +177,6 @@ pub struct Veggies { #[serde(default, skip_serializing_if = "::std::vec::Vec::is_empty")] pub vegetables: ::std::vec::Vec, } -impl ::std::convert::From<&Veggies> for Veggies { - fn from(value: &Veggies) -> Self { - value.clone() - } -} impl ::std::default::Default for Veggies { fn default() -> Self { Self { diff --git a/cargo-typify/tests/outputs/multi_derive.rs b/cargo-typify/tests/outputs/multi_derive.rs index 87880b2a..4f259a28 100644 --- a/cargo-typify/tests/outputs/multi_derive.rs +++ b/cargo-typify/tests/outputs/multi_derive.rs @@ -60,11 +60,6 @@ impl ::std::convert::From value.0 } } -impl ::std::convert::From<&Fruit> for Fruit { - fn from(value: &Fruit) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::collections::HashMap<::std::string::String, ::std::string::String>> for Fruit { @@ -109,11 +104,6 @@ pub enum FruitOrVeg { Veg(Veggie), Fruit(Fruit), } -impl ::std::convert::From<&Self> for FruitOrVeg { - fn from(value: &FruitOrVeg) -> Self { - value.clone() - } -} impl ::std::convert::From for FruitOrVeg { fn from(value: Veggie) -> Self { Self::Veg(value) @@ -159,11 +149,6 @@ pub struct Veggie { #[serde(rename = "veggieName")] pub veggie_name: ::std::string::String, } -impl ::std::convert::From<&Veggie> for Veggie { - fn from(value: &Veggie) -> Self { - value.clone() - } -} #[doc = "A representation of a person, company, organization, or place"] #[doc = r""] #[doc = r"
JSON schema"] @@ -200,11 +185,6 @@ pub struct Veggies { #[serde(default, skip_serializing_if = "::std::vec::Vec::is_empty")] pub vegetables: ::std::vec::Vec, } -impl ::std::convert::From<&Veggies> for Veggies { - fn from(value: &Veggies) -> Self { - value.clone() - } -} impl ::std::default::Default for Veggies { fn default() -> Self { Self { diff --git a/cargo-typify/tests/outputs/no-builder.rs b/cargo-typify/tests/outputs/no-builder.rs index fad49905..16c8ae1e 100644 --- a/cargo-typify/tests/outputs/no-builder.rs +++ b/cargo-typify/tests/outputs/no-builder.rs @@ -58,11 +58,6 @@ impl ::std::convert::From value.0 } } -impl ::std::convert::From<&Fruit> for Fruit { - fn from(value: &Fruit) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::collections::HashMap<::std::string::String, ::std::string::String>> for Fruit { @@ -105,11 +100,6 @@ pub enum FruitOrVeg { Veg(Veggie), Fruit(Fruit), } -impl ::std::convert::From<&Self> for FruitOrVeg { - fn from(value: &FruitOrVeg) -> Self { - value.clone() - } -} impl ::std::convert::From for FruitOrVeg { fn from(value: Veggie) -> Self { Self::Veg(value) @@ -153,11 +143,6 @@ pub struct Veggie { #[serde(rename = "veggieName")] pub veggie_name: ::std::string::String, } -impl ::std::convert::From<&Veggie> for Veggie { - fn from(value: &Veggie) -> Self { - value.clone() - } -} #[doc = "A representation of a person, company, organization, or place"] #[doc = r""] #[doc = r"
JSON schema"] @@ -192,11 +177,6 @@ pub struct Veggies { #[serde(default, skip_serializing_if = "::std::vec::Vec::is_empty")] pub vegetables: ::std::vec::Vec, } -impl ::std::convert::From<&Veggies> for Veggies { - fn from(value: &Veggies) -> Self { - value.clone() - } -} impl ::std::default::Default for Veggies { fn default() -> Self { Self { diff --git a/typify-impl/src/enums.rs b/typify-impl/src/enums.rs index 9ec58297..c694fe88 100644 --- a/typify-impl/src/enums.rs +++ b/typify-impl/src/enums.rs @@ -1489,12 +1489,6 @@ mod tests { Err(::std::string::String), } - impl ::std::convert::From<&Self> for ResultX { - fn from(value: &ResultX) -> Self { - value.clone() - } - } - impl ::std::convert::From for ResultX { fn from(value: u32) -> Self { Self::Ok(value) @@ -1541,12 +1535,6 @@ mod tests { Err(::std::string::String), } - impl ::std::convert::From<&Self> for ResultX { - fn from(value: &ResultX) -> Self { - value.clone() - } - } - impl ::std::convert::From for ResultX { fn from(value: u32) -> Self { Self::Ok(value) diff --git a/typify-impl/src/type_entry.rs b/typify-impl/src/type_entry.rs index 01ad2f48..959df16c 100644 --- a/typify-impl/src/type_entry.rs +++ b/typify-impl/src/type_entry.rs @@ -868,15 +868,6 @@ impl TypeEntry { value.parse() } } - impl ::std::convert::TryFrom<&::std::string::String> for #type_name { - type Error = self::error::ConversionError; - - fn try_from(value: &::std::string::String) -> - ::std::result::Result - { - value.parse() - } - } impl ::std::convert::TryFrom<::std::string::String> for #type_name { type Error = self::error::ConversionError; @@ -934,15 +925,6 @@ impl TypeEntry { value.parse() } } - impl ::std::convert::TryFrom<&::std::string::String> for #type_name { - type Error = self::error::ConversionError; - - fn try_from(value: &::std::string::String) -> - ::std::result::Result - { - value.parse() - } - } impl ::std::convert::TryFrom<::std::string::String> for #type_name { type Error = self::error::ConversionError; @@ -1082,12 +1064,6 @@ impl TypeEntry { #(#variants_decl)* } - impl ::std::convert::From<&Self> for #type_name { - fn from(value: &#type_name) -> Self { - value.clone() - } - } - #simple_enum_impl #default_impl #untagged_newtype_from_string_impl @@ -1204,12 +1180,6 @@ impl TypeEntry { pub #prop_name: #prop_type, )* } - - impl ::std::convert::From<&#type_name> for #type_name { - fn from(value: &#type_name) -> Self { - value.clone() - } - } }, ); @@ -1421,16 +1391,6 @@ impl TypeEntry { value.parse() } } - impl ::std::convert::TryFrom<&String> for #type_name { - type Error = <#inner_type_name as - ::std::str::FromStr>::Err; - - fn try_from(value: &String) -> - ::std::result::Result - { - value.parse() - } - } impl ::std::convert::TryFrom for #type_name { type Error = <#inner_type_name as ::std::str::FromStr>::Err; @@ -1596,15 +1556,6 @@ impl TypeEntry { value.parse() } } - impl ::std::convert::TryFrom<&::std::string::String> for #type_name { - type Error = self::error::ConversionError; - - fn try_from(value: &::std::string::String) -> - ::std::result::Result - { - value.parse() - } - } impl ::std::convert::TryFrom<::std::string::String> for #type_name { type Error = self::error::ConversionError; @@ -1677,12 +1628,6 @@ impl TypeEntry { } } - impl ::std::convert::From<&#type_name> for #type_name { - fn from(value: &#type_name) -> Self { - value.clone() - } - } - #default_impl #constraint_impl }; diff --git a/typify-impl/tests/generator.out b/typify-impl/tests/generator.out index 7d37c38a..a80113dd 100644 --- a/typify-impl/tests/generator.out +++ b/typify-impl/tests/generator.out @@ -59,11 +59,6 @@ mod types { pub struct AllTheTraits { pub ok: ::std::string::String, } - impl ::std::convert::From<&AllTheTraits> for AllTheTraits { - fn from(value: &AllTheTraits) -> Self { - value.clone() - } - } impl AllTheTraits { pub fn builder() -> builder::AllTheTraits { Default::default() @@ -99,11 +94,6 @@ mod types { pub value1: ::std::string::String, pub value2: u64, } - impl ::std::convert::From<&CompoundType> for CompoundType { - fn from(value: &CompoundType) -> Self { - value.clone() - } - } impl CompoundType { pub fn builder() -> builder::CompoundType { Default::default() @@ -137,11 +127,6 @@ mod types { #[serde(default = "defaults::pair_b")] pub b: StringEnum, } - impl ::std::convert::From<&Pair> for Pair { - fn from(value: &Pair) -> Self { - value.clone() - } - } impl ::std::default::Default for Pair { fn default() -> Self { Self { @@ -188,11 +173,6 @@ mod types { Two, BuckleMyShoe, } - impl ::std::convert::From<&Self> for StringEnum { - fn from(value: &StringEnum) -> Self { - value.clone() - } - } impl ::std::fmt::Display for StringEnum { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -219,14 +199,6 @@ mod types { value.parse() } } - impl ::std::convert::TryFrom<&::std::string::String> for StringEnum { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } - } impl ::std::convert::TryFrom<::std::string::String> for StringEnum { type Error = self::error::ConversionError; fn try_from( diff --git a/typify-impl/tests/github.out b/typify-impl/tests/github.out index d19c9ade..ad940c08 100644 --- a/typify-impl/tests/github.out +++ b/typify-impl/tests/github.out @@ -126,11 +126,6 @@ pub struct AlertInstance { #[doc = "State of a code scanning alert."] pub state: AlertInstanceState, } -impl ::std::convert::From<&AlertInstance> for AlertInstance { - fn from(value: &AlertInstance) -> Self { - value.clone() - } -} #[doc = "`AlertInstanceLocation`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -173,11 +168,6 @@ pub struct AlertInstanceLocation { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub start_line: ::std::option::Option, } -impl ::std::convert::From<&AlertInstanceLocation> for AlertInstanceLocation { - fn from(value: &AlertInstanceLocation) -> Self { - value.clone() - } -} impl ::std::default::Default for AlertInstanceLocation { fn default() -> Self { Self { @@ -211,11 +201,6 @@ pub struct AlertInstanceMessage { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub text: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&AlertInstanceMessage> for AlertInstanceMessage { - fn from(value: &AlertInstanceMessage) -> Self { - value.clone() - } -} impl ::std::default::Default for AlertInstanceMessage { fn default() -> Self { Self { @@ -259,11 +244,6 @@ pub enum AlertInstanceState { #[serde(rename = "fixed")] Fixed, } -impl ::std::convert::From<&Self> for AlertInstanceState { - fn from(value: &AlertInstanceState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AlertInstanceState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -290,14 +270,6 @@ impl ::std::convert::TryFrom<&str> for AlertInstanceState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AlertInstanceState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AlertInstanceState { type Error = self::error::ConversionError; fn try_from( @@ -694,11 +666,6 @@ pub struct App { pub slug: ::std::option::Option<::std::string::String>, pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, } -impl ::std::convert::From<&App> for App { - fn from(value: &App) -> Self { - value.clone() - } -} #[doc = "`AppEventsItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -857,11 +824,6 @@ pub enum AppEventsItem { #[serde(rename = "workflow_run")] WorkflowRun, } -impl ::std::convert::From<&Self> for AppEventsItem { - fn from(value: &AppEventsItem) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppEventsItem { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -970,14 +932,6 @@ impl ::std::convert::TryFrom<&str> for AppEventsItem { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppEventsItem { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppEventsItem { type Error = self::error::ConversionError; fn try_from( @@ -1312,11 +1266,6 @@ pub struct AppPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub workflows: ::std::option::Option, } -impl ::std::convert::From<&AppPermissions> for AppPermissions { - fn from(value: &AppPermissions) -> Self { - value.clone() - } -} impl ::std::default::Default for AppPermissions { fn default() -> Self { Self { @@ -1389,11 +1338,6 @@ pub enum AppPermissionsActions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsActions { - fn from(value: &AppPermissionsActions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsActions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1418,14 +1362,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsActions { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsActions { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsActions { type Error = self::error::ConversionError; fn try_from( @@ -1466,11 +1402,6 @@ pub enum AppPermissionsAdministration { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsAdministration { - fn from(value: &AppPermissionsAdministration) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsAdministration { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1495,14 +1426,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsAdministration { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsAdministration { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsAdministration { type Error = self::error::ConversionError; fn try_from( @@ -1543,11 +1466,6 @@ pub enum AppPermissionsChecks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsChecks { - fn from(value: &AppPermissionsChecks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsChecks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1572,14 +1490,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsChecks { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsChecks { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsChecks { type Error = self::error::ConversionError; fn try_from( @@ -1620,11 +1530,6 @@ pub enum AppPermissionsContentReferences { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsContentReferences { - fn from(value: &AppPermissionsContentReferences) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsContentReferences { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1649,14 +1554,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsContentReferences { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsContentReferences { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsContentReferences { type Error = self::error::ConversionError; fn try_from( @@ -1697,11 +1594,6 @@ pub enum AppPermissionsContents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsContents { - fn from(value: &AppPermissionsContents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsContents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1726,14 +1618,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsContents { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsContents { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsContents { type Error = self::error::ConversionError; fn try_from( @@ -1774,11 +1658,6 @@ pub enum AppPermissionsDeployments { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsDeployments { - fn from(value: &AppPermissionsDeployments) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsDeployments { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1803,14 +1682,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsDeployments { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsDeployments { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsDeployments { type Error = self::error::ConversionError; fn try_from( @@ -1851,11 +1722,6 @@ pub enum AppPermissionsDiscussions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsDiscussions { - fn from(value: &AppPermissionsDiscussions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsDiscussions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1880,14 +1746,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsDiscussions { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsDiscussions { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsDiscussions { type Error = self::error::ConversionError; fn try_from( @@ -1928,11 +1786,6 @@ pub enum AppPermissionsEmails { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsEmails { - fn from(value: &AppPermissionsEmails) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsEmails { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1957,14 +1810,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsEmails { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsEmails { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsEmails { type Error = self::error::ConversionError; fn try_from( @@ -2005,11 +1850,6 @@ pub enum AppPermissionsEnvironments { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsEnvironments { - fn from(value: &AppPermissionsEnvironments) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsEnvironments { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2034,14 +1874,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsEnvironments { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsEnvironments { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsEnvironments { type Error = self::error::ConversionError; fn try_from( @@ -2082,11 +1914,6 @@ pub enum AppPermissionsIssues { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsIssues { - fn from(value: &AppPermissionsIssues) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsIssues { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2111,14 +1938,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsIssues { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsIssues { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsIssues { type Error = self::error::ConversionError; fn try_from( @@ -2159,11 +1978,6 @@ pub enum AppPermissionsMembers { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsMembers { - fn from(value: &AppPermissionsMembers) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsMembers { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2188,14 +2002,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsMembers { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsMembers { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsMembers { type Error = self::error::ConversionError; fn try_from( @@ -2236,11 +2042,6 @@ pub enum AppPermissionsMetadata { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsMetadata { - fn from(value: &AppPermissionsMetadata) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsMetadata { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2265,14 +2066,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsMetadata { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsMetadata { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsMetadata { type Error = self::error::ConversionError; fn try_from( @@ -2313,11 +2106,6 @@ pub enum AppPermissionsOrganizationAdministration { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsOrganizationAdministration { - fn from(value: &AppPermissionsOrganizationAdministration) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsOrganizationAdministration { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2342,14 +2130,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationAdministration value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsOrganizationAdministration { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationAdministration { type Error = self::error::ConversionError; fn try_from( @@ -2390,11 +2170,6 @@ pub enum AppPermissionsOrganizationHooks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsOrganizationHooks { - fn from(value: &AppPermissionsOrganizationHooks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsOrganizationHooks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2419,15 +2194,71 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationHooks { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsOrganizationHooks { +impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationHooks { type Error = self::error::ConversionError; fn try_from( - value: &::std::string::String, + value: ::std::string::String, ) -> ::std::result::Result { value.parse() } } -impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationHooks { +#[doc = "`AppPermissionsOrganizationPackages`"] +#[doc = r""] +#[doc = r"
JSON schema"] +#[doc = r""] +#[doc = r" ```json"] +#[doc = "{"] +#[doc = " \"type\": \"string\","] +#[doc = " \"enum\": ["] +#[doc = " \"read\","] +#[doc = " \"write\""] +#[doc = " ]"] +#[doc = "}"] +#[doc = r" ```"] +#[doc = r"
"] +#[derive( + :: serde :: Deserialize, + :: serde :: Serialize, + Clone, + Copy, + Debug, + Eq, + Hash, + Ord, + PartialEq, + PartialOrd, +)] +pub enum AppPermissionsOrganizationPackages { + #[serde(rename = "read")] + Read, + #[serde(rename = "write")] + Write, +} +impl ::std::fmt::Display for AppPermissionsOrganizationPackages { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + match *self { + Self::Read => f.write_str("read"), + Self::Write => f.write_str("write"), + } + } +} +impl ::std::str::FromStr for AppPermissionsOrganizationPackages { + type Err = self::error::ConversionError; + fn from_str(value: &str) -> ::std::result::Result { + match value { + "read" => Ok(Self::Read), + "write" => Ok(Self::Write), + _ => Err("invalid value".into()), + } + } +} +impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationPackages { + type Error = self::error::ConversionError; + fn try_from(value: &str) -> ::std::result::Result { + value.parse() + } +} +impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationPackages { type Error = self::error::ConversionError; fn try_from( value: ::std::string::String, @@ -2435,161 +2266,71 @@ impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizati value.parse() } } -#[doc = "`AppPermissionsOrganizationPackages`"] -#[doc = r""] -#[doc = r"
JSON schema"] -#[doc = r""] -#[doc = r" ```json"] -#[doc = "{"] -#[doc = " \"type\": \"string\","] -#[doc = " \"enum\": ["] -#[doc = " \"read\","] -#[doc = " \"write\""] -#[doc = " ]"] -#[doc = "}"] -#[doc = r" ```"] -#[doc = r"
"] -#[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - Clone, - Copy, - Debug, - Eq, - Hash, - Ord, - PartialEq, - PartialOrd, -)] -pub enum AppPermissionsOrganizationPackages { - #[serde(rename = "read")] - Read, - #[serde(rename = "write")] - Write, -} -impl ::std::convert::From<&Self> for AppPermissionsOrganizationPackages { - fn from(value: &AppPermissionsOrganizationPackages) -> Self { - value.clone() - } -} -impl ::std::fmt::Display for AppPermissionsOrganizationPackages { - fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - match *self { - Self::Read => f.write_str("read"), - Self::Write => f.write_str("write"), - } - } -} -impl ::std::str::FromStr for AppPermissionsOrganizationPackages { - type Err = self::error::ConversionError; - fn from_str(value: &str) -> ::std::result::Result { - match value { - "read" => Ok(Self::Read), - "write" => Ok(Self::Write), - _ => Err("invalid value".into()), - } - } -} -impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationPackages { - type Error = self::error::ConversionError; - fn try_from(value: &str) -> ::std::result::Result { - value.parse() - } -} -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsOrganizationPackages { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} -impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationPackages { - type Error = self::error::ConversionError; - fn try_from( - value: ::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} -#[doc = "`AppPermissionsOrganizationPlan`"] -#[doc = r""] -#[doc = r"
JSON schema"] -#[doc = r""] -#[doc = r" ```json"] -#[doc = "{"] -#[doc = " \"type\": \"string\","] -#[doc = " \"enum\": ["] -#[doc = " \"read\","] -#[doc = " \"write\""] -#[doc = " ]"] -#[doc = "}"] -#[doc = r" ```"] -#[doc = r"
"] -#[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - Clone, - Copy, - Debug, - Eq, - Hash, - Ord, - PartialEq, - PartialOrd, -)] -pub enum AppPermissionsOrganizationPlan { - #[serde(rename = "read")] - Read, - #[serde(rename = "write")] - Write, -} -impl ::std::convert::From<&Self> for AppPermissionsOrganizationPlan { - fn from(value: &AppPermissionsOrganizationPlan) -> Self { - value.clone() - } -} -impl ::std::fmt::Display for AppPermissionsOrganizationPlan { - fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - match *self { - Self::Read => f.write_str("read"), - Self::Write => f.write_str("write"), - } - } -} -impl ::std::str::FromStr for AppPermissionsOrganizationPlan { - type Err = self::error::ConversionError; - fn from_str(value: &str) -> ::std::result::Result { - match value { - "read" => Ok(Self::Read), - "write" => Ok(Self::Write), - _ => Err("invalid value".into()), - } - } -} -impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationPlan { - type Error = self::error::ConversionError; - fn try_from(value: &str) -> ::std::result::Result { - value.parse() - } -} -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsOrganizationPlan { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} -impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationPlan { - type Error = self::error::ConversionError; - fn try_from( - value: ::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} -#[doc = "`AppPermissionsOrganizationProjects`"] +#[doc = "`AppPermissionsOrganizationPlan`"] +#[doc = r""] +#[doc = r"
JSON schema"] +#[doc = r""] +#[doc = r" ```json"] +#[doc = "{"] +#[doc = " \"type\": \"string\","] +#[doc = " \"enum\": ["] +#[doc = " \"read\","] +#[doc = " \"write\""] +#[doc = " ]"] +#[doc = "}"] +#[doc = r" ```"] +#[doc = r"
"] +#[derive( + :: serde :: Deserialize, + :: serde :: Serialize, + Clone, + Copy, + Debug, + Eq, + Hash, + Ord, + PartialEq, + PartialOrd, +)] +pub enum AppPermissionsOrganizationPlan { + #[serde(rename = "read")] + Read, + #[serde(rename = "write")] + Write, +} +impl ::std::fmt::Display for AppPermissionsOrganizationPlan { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + match *self { + Self::Read => f.write_str("read"), + Self::Write => f.write_str("write"), + } + } +} +impl ::std::str::FromStr for AppPermissionsOrganizationPlan { + type Err = self::error::ConversionError; + fn from_str(value: &str) -> ::std::result::Result { + match value { + "read" => Ok(Self::Read), + "write" => Ok(Self::Write), + _ => Err("invalid value".into()), + } + } +} +impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationPlan { + type Error = self::error::ConversionError; + fn try_from(value: &str) -> ::std::result::Result { + value.parse() + } +} +impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationPlan { + type Error = self::error::ConversionError; + fn try_from( + value: ::std::string::String, + ) -> ::std::result::Result { + value.parse() + } +} +#[doc = "`AppPermissionsOrganizationProjects`"] #[doc = r""] #[doc = r"
JSON schema"] #[doc = r""] @@ -2621,11 +2362,6 @@ pub enum AppPermissionsOrganizationProjects { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsOrganizationProjects { - fn from(value: &AppPermissionsOrganizationProjects) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsOrganizationProjects { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2650,14 +2386,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationProjects { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsOrganizationProjects { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationProjects { type Error = self::error::ConversionError; fn try_from( @@ -2698,11 +2426,6 @@ pub enum AppPermissionsOrganizationSecrets { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsOrganizationSecrets { - fn from(value: &AppPermissionsOrganizationSecrets) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsOrganizationSecrets { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2727,14 +2450,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationSecrets { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsOrganizationSecrets { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationSecrets { type Error = self::error::ConversionError; fn try_from( @@ -2775,11 +2490,6 @@ pub enum AppPermissionsOrganizationSelfHostedRunners { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsOrganizationSelfHostedRunners { - fn from(value: &AppPermissionsOrganizationSelfHostedRunners) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsOrganizationSelfHostedRunners { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2804,16 +2514,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationSelfHostedRunne value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for AppPermissionsOrganizationSelfHostedRunners -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationSelfHostedRunners { @@ -2856,11 +2556,6 @@ pub enum AppPermissionsOrganizationUserBlocking { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsOrganizationUserBlocking { - fn from(value: &AppPermissionsOrganizationUserBlocking) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsOrganizationUserBlocking { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2885,14 +2580,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsOrganizationUserBlocking { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsOrganizationUserBlocking { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsOrganizationUserBlocking { type Error = self::error::ConversionError; fn try_from( @@ -2933,11 +2620,6 @@ pub enum AppPermissionsPackages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsPackages { - fn from(value: &AppPermissionsPackages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsPackages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2962,14 +2644,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsPackages { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsPackages { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsPackages { type Error = self::error::ConversionError; fn try_from( @@ -3010,11 +2684,6 @@ pub enum AppPermissionsPages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsPages { - fn from(value: &AppPermissionsPages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsPages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3039,14 +2708,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsPages { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsPages { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsPages { type Error = self::error::ConversionError; fn try_from( @@ -3087,11 +2748,6 @@ pub enum AppPermissionsPullRequests { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsPullRequests { - fn from(value: &AppPermissionsPullRequests) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsPullRequests { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3116,14 +2772,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsPullRequests { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsPullRequests { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsPullRequests { type Error = self::error::ConversionError; fn try_from( @@ -3164,11 +2812,6 @@ pub enum AppPermissionsRepositoryHooks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsRepositoryHooks { - fn from(value: &AppPermissionsRepositoryHooks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsRepositoryHooks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3193,14 +2836,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsRepositoryHooks { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsRepositoryHooks { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsRepositoryHooks { type Error = self::error::ConversionError; fn try_from( @@ -3241,11 +2876,6 @@ pub enum AppPermissionsRepositoryProjects { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsRepositoryProjects { - fn from(value: &AppPermissionsRepositoryProjects) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsRepositoryProjects { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3270,14 +2900,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsRepositoryProjects { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsRepositoryProjects { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsRepositoryProjects { type Error = self::error::ConversionError; fn try_from( @@ -3318,11 +2940,6 @@ pub enum AppPermissionsSecretScanningAlerts { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsSecretScanningAlerts { - fn from(value: &AppPermissionsSecretScanningAlerts) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsSecretScanningAlerts { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3347,14 +2964,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsSecretScanningAlerts { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsSecretScanningAlerts { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsSecretScanningAlerts { type Error = self::error::ConversionError; fn try_from( @@ -3395,11 +3004,6 @@ pub enum AppPermissionsSecrets { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsSecrets { - fn from(value: &AppPermissionsSecrets) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsSecrets { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3424,14 +3028,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsSecrets { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsSecrets { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsSecrets { type Error = self::error::ConversionError; fn try_from( @@ -3472,11 +3068,6 @@ pub enum AppPermissionsSecurityEvents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsSecurityEvents { - fn from(value: &AppPermissionsSecurityEvents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsSecurityEvents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3501,14 +3092,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsSecurityEvents { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsSecurityEvents { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsSecurityEvents { type Error = self::error::ConversionError; fn try_from( @@ -3549,11 +3132,6 @@ pub enum AppPermissionsSecurityScanningAlert { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsSecurityScanningAlert { - fn from(value: &AppPermissionsSecurityScanningAlert) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsSecurityScanningAlert { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3578,14 +3156,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsSecurityScanningAlert { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsSecurityScanningAlert { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsSecurityScanningAlert { type Error = self::error::ConversionError; fn try_from( @@ -3626,11 +3196,6 @@ pub enum AppPermissionsSingleFile { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsSingleFile { - fn from(value: &AppPermissionsSingleFile) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsSingleFile { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3655,14 +3220,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsSingleFile { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsSingleFile { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsSingleFile { type Error = self::error::ConversionError; fn try_from( @@ -3703,11 +3260,6 @@ pub enum AppPermissionsStatuses { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsStatuses { - fn from(value: &AppPermissionsStatuses) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsStatuses { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3732,14 +3284,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsStatuses { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsStatuses { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsStatuses { type Error = self::error::ConversionError; fn try_from( @@ -3780,11 +3324,6 @@ pub enum AppPermissionsTeamDiscussions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsTeamDiscussions { - fn from(value: &AppPermissionsTeamDiscussions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsTeamDiscussions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3809,14 +3348,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsTeamDiscussions { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsTeamDiscussions { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsTeamDiscussions { type Error = self::error::ConversionError; fn try_from( @@ -3857,11 +3388,6 @@ pub enum AppPermissionsVulnerabilityAlerts { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsVulnerabilityAlerts { - fn from(value: &AppPermissionsVulnerabilityAlerts) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsVulnerabilityAlerts { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3886,14 +3412,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsVulnerabilityAlerts { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsVulnerabilityAlerts { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsVulnerabilityAlerts { type Error = self::error::ConversionError; fn try_from( @@ -3934,11 +3452,6 @@ pub enum AppPermissionsWorkflows { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for AppPermissionsWorkflows { - fn from(value: &AppPermissionsWorkflows) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AppPermissionsWorkflows { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3963,14 +3476,6 @@ impl ::std::convert::TryFrom<&str> for AppPermissionsWorkflows { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AppPermissionsWorkflows { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AppPermissionsWorkflows { type Error = self::error::ConversionError; fn try_from( @@ -4032,11 +3537,6 @@ pub enum AuthorAssociation { #[serde(rename = "OWNER")] Owner, } -impl ::std::convert::From<&Self> for AuthorAssociation { - fn from(value: &AuthorAssociation) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AuthorAssociation { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -4073,14 +3573,6 @@ impl ::std::convert::TryFrom<&str> for AuthorAssociation { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AuthorAssociation { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AuthorAssociation { type Error = self::error::ConversionError; fn try_from( @@ -4290,11 +3782,6 @@ pub struct BranchProtectionRule { pub strict_required_status_checks_policy: bool, pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, } -impl ::std::convert::From<&BranchProtectionRule> for BranchProtectionRule { - fn from(value: &BranchProtectionRule) -> Self { - value.clone() - } -} #[doc = "`BranchProtectionRuleAllowDeletionsEnforcementLevel`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4330,11 +3817,6 @@ pub enum BranchProtectionRuleAllowDeletionsEnforcementLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRuleAllowDeletionsEnforcementLevel { - fn from(value: &BranchProtectionRuleAllowDeletionsEnforcementLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleAllowDeletionsEnforcementLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -4361,16 +3843,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleAllowDeletionsEnforce value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRuleAllowDeletionsEnforcementLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleAllowDeletionsEnforcementLevel { @@ -4416,11 +3888,6 @@ pub enum BranchProtectionRuleAllowForcePushesEnforcementLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRuleAllowForcePushesEnforcementLevel { - fn from(value: &BranchProtectionRuleAllowForcePushesEnforcementLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleAllowForcePushesEnforcementLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -4447,16 +3914,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleAllowForcePushesEnfor value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRuleAllowForcePushesEnforcementLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleAllowForcePushesEnforcementLevel { @@ -4522,11 +3979,6 @@ pub struct BranchProtectionRuleCreated { pub rule: BranchProtectionRule, pub sender: User, } -impl ::std::convert::From<&BranchProtectionRuleCreated> for BranchProtectionRuleCreated { - fn from(value: &BranchProtectionRuleCreated) -> Self { - value.clone() - } -} #[doc = "`BranchProtectionRuleCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4556,11 +4008,6 @@ pub enum BranchProtectionRuleCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for BranchProtectionRuleCreatedAction { - fn from(value: &BranchProtectionRuleCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -4583,14 +4030,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BranchProtectionRuleCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -4654,11 +4093,6 @@ pub struct BranchProtectionRuleDeleted { pub rule: BranchProtectionRule, pub sender: User, } -impl ::std::convert::From<&BranchProtectionRuleDeleted> for BranchProtectionRuleDeleted { - fn from(value: &BranchProtectionRuleDeleted) -> Self { - value.clone() - } -} #[doc = "`BranchProtectionRuleDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4688,11 +4122,6 @@ pub enum BranchProtectionRuleDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for BranchProtectionRuleDeletedAction { - fn from(value: &BranchProtectionRuleDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -4715,14 +4144,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BranchProtectionRuleDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -4822,11 +4243,6 @@ pub struct BranchProtectionRuleEdited { pub rule: BranchProtectionRule, pub sender: User, } -impl ::std::convert::From<&BranchProtectionRuleEdited> for BranchProtectionRuleEdited { - fn from(value: &BranchProtectionRuleEdited) -> Self { - value.clone() - } -} #[doc = "`BranchProtectionRuleEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4856,11 +4272,6 @@ pub enum BranchProtectionRuleEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for BranchProtectionRuleEditedAction { - fn from(value: &BranchProtectionRuleEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -4883,14 +4294,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BranchProtectionRuleEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -4950,13 +4353,6 @@ pub struct BranchProtectionRuleEditedChanges { pub authorized_actors_only: ::std::option::Option, } -impl ::std::convert::From<&BranchProtectionRuleEditedChanges> - for BranchProtectionRuleEditedChanges -{ - fn from(value: &BranchProtectionRuleEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for BranchProtectionRuleEditedChanges { fn default() -> Self { Self { @@ -4992,13 +4388,6 @@ impl ::std::default::Default for BranchProtectionRuleEditedChanges { pub struct BranchProtectionRuleEditedChangesAuthorizedActorNames { pub from: ::std::vec::Vec<::std::string::String>, } -impl ::std::convert::From<&BranchProtectionRuleEditedChangesAuthorizedActorNames> - for BranchProtectionRuleEditedChangesAuthorizedActorNames -{ - fn from(value: &BranchProtectionRuleEditedChangesAuthorizedActorNames) -> Self { - value.clone() - } -} #[doc = "`BranchProtectionRuleEditedChangesAuthorizedActorsOnly`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -5023,13 +4412,6 @@ impl ::std::convert::From<&BranchProtectionRuleEditedChangesAuthorizedActorNames pub struct BranchProtectionRuleEditedChangesAuthorizedActorsOnly { pub from: bool, } -impl ::std::convert::From<&BranchProtectionRuleEditedChangesAuthorizedActorsOnly> - for BranchProtectionRuleEditedChangesAuthorizedActorsOnly -{ - fn from(value: &BranchProtectionRuleEditedChangesAuthorizedActorsOnly) -> Self { - value.clone() - } -} #[doc = "`BranchProtectionRuleEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -5057,11 +4439,6 @@ pub enum BranchProtectionRuleEvent { Deleted(BranchProtectionRuleDeleted), Edited(BranchProtectionRuleEdited), } -impl ::std::convert::From<&Self> for BranchProtectionRuleEvent { - fn from(value: &BranchProtectionRuleEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for BranchProtectionRuleEvent { fn from(value: BranchProtectionRuleCreated) -> Self { Self::Created(value) @@ -5112,11 +4489,6 @@ pub enum BranchProtectionRuleLinearHistoryRequirementEnforcementLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRuleLinearHistoryRequirementEnforcementLevel { - fn from(value: &BranchProtectionRuleLinearHistoryRequirementEnforcementLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleLinearHistoryRequirementEnforcementLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -5145,16 +4517,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRuleLinearHistoryRequirementEnforcementLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleLinearHistoryRequirementEnforcementLevel { @@ -5200,11 +4562,6 @@ pub enum BranchProtectionRuleMergeQueueEnforcementLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRuleMergeQueueEnforcementLevel { - fn from(value: &BranchProtectionRuleMergeQueueEnforcementLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleMergeQueueEnforcementLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -5231,16 +4588,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleMergeQueueEnforcement value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRuleMergeQueueEnforcementLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleMergeQueueEnforcementLevel { @@ -5286,11 +4633,6 @@ pub enum BranchProtectionRulePullRequestReviewsEnforcementLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRulePullRequestReviewsEnforcementLevel { - fn from(value: &BranchProtectionRulePullRequestReviewsEnforcementLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRulePullRequestReviewsEnforcementLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -5317,16 +4659,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRulePullRequestReviewsEnf value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRulePullRequestReviewsEnforcementLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRulePullRequestReviewsEnforcementLevel { @@ -5372,11 +4704,6 @@ pub enum BranchProtectionRuleRequiredConversationResolutionLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRuleRequiredConversationResolutionLevel { - fn from(value: &BranchProtectionRuleRequiredConversationResolutionLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleRequiredConversationResolutionLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -5403,16 +4730,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleRequiredConversationR value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRuleRequiredConversationResolutionLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleRequiredConversationResolutionLevel { @@ -5458,11 +4775,6 @@ pub enum BranchProtectionRuleRequiredDeploymentsEnforcementLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRuleRequiredDeploymentsEnforcementLevel { - fn from(value: &BranchProtectionRuleRequiredDeploymentsEnforcementLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleRequiredDeploymentsEnforcementLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -5489,16 +4801,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleRequiredDeploymentsEn value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRuleRequiredDeploymentsEnforcementLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleRequiredDeploymentsEnforcementLevel { @@ -5544,11 +4846,6 @@ pub enum BranchProtectionRuleRequiredStatusChecksEnforcementLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRuleRequiredStatusChecksEnforcementLevel { - fn from(value: &BranchProtectionRuleRequiredStatusChecksEnforcementLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleRequiredStatusChecksEnforcementLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -5575,16 +4872,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleRequiredStatusChecksE value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRuleRequiredStatusChecksEnforcementLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleRequiredStatusChecksEnforcementLevel { @@ -5630,11 +4917,6 @@ pub enum BranchProtectionRuleSignatureRequirementEnforcementLevel { #[serde(rename = "everyone")] Everyone, } -impl ::std::convert::From<&Self> for BranchProtectionRuleSignatureRequirementEnforcementLevel { - fn from(value: &BranchProtectionRuleSignatureRequirementEnforcementLevel) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BranchProtectionRuleSignatureRequirementEnforcementLevel { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -5661,16 +4943,6 @@ impl ::std::convert::TryFrom<&str> for BranchProtectionRuleSignatureRequirementE value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BranchProtectionRuleSignatureRequirementEnforcementLevel -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BranchProtectionRuleSignatureRequirementEnforcementLevel { @@ -5979,11 +5251,6 @@ pub struct CheckRunCompleted { pub requested_action: ::std::option::Option, pub sender: User, } -impl ::std::convert::From<&CheckRunCompleted> for CheckRunCompleted { - fn from(value: &CheckRunCompleted) -> Self { - value.clone() - } -} #[doc = "`CheckRunCompletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -6013,11 +5280,6 @@ pub enum CheckRunCompletedAction { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckRunCompletedAction { - fn from(value: &CheckRunCompletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCompletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -6040,14 +5302,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCompletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunCompletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCompletedAction { type Error = self::error::ConversionError; fn try_from( @@ -6322,11 +5576,6 @@ pub struct CheckRunCompletedCheckRun { pub status: CheckRunCompletedCheckRunStatus, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunCompletedCheckRun> for CheckRunCompletedCheckRun { - fn from(value: &CheckRunCompletedCheckRun) -> Self { - value.clone() - } -} #[doc = "`CheckRunCompletedCheckRunCheckSuite`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -6455,13 +5704,6 @@ pub struct CheckRunCompletedCheckRunCheckSuite { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunCompletedCheckRunCheckSuite> - for CheckRunCompletedCheckRunCheckSuite -{ - fn from(value: &CheckRunCompletedCheckRunCheckSuite) -> Self { - value.clone() - } -} #[doc = "`CheckRunCompletedCheckRunCheckSuiteConclusion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -6509,11 +5751,6 @@ pub enum CheckRunCompletedCheckRunCheckSuiteConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for CheckRunCompletedCheckRunCheckSuiteConclusion { - fn from(value: &CheckRunCompletedCheckRunCheckSuiteConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCompletedCheckRunCheckSuiteConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -6548,16 +5785,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCompletedCheckRunCheckSuiteConclu value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CheckRunCompletedCheckRunCheckSuiteConclusion -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCompletedCheckRunCheckSuiteConclusion { @@ -6603,11 +5830,6 @@ pub enum CheckRunCompletedCheckRunCheckSuiteStatus { #[serde(rename = "queued")] Queued, } -impl ::std::convert::From<&Self> for CheckRunCompletedCheckRunCheckSuiteStatus { - fn from(value: &CheckRunCompletedCheckRunCheckSuiteStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCompletedCheckRunCheckSuiteStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -6634,14 +5856,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCompletedCheckRunCheckSuiteStatus value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunCompletedCheckRunCheckSuiteStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCompletedCheckRunCheckSuiteStatus { type Error = self::error::ConversionError; fn try_from( @@ -6701,11 +5915,6 @@ pub enum CheckRunCompletedCheckRunConclusion { #[serde(rename = "skipped")] Skipped, } -impl ::std::convert::From<&Self> for CheckRunCompletedCheckRunConclusion { - fn from(value: &CheckRunCompletedCheckRunConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCompletedCheckRunConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -6742,14 +5951,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCompletedCheckRunConclusion { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunCompletedCheckRunConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCompletedCheckRunConclusion { type Error = self::error::ConversionError; fn try_from( @@ -6812,11 +6013,6 @@ pub struct CheckRunCompletedCheckRunOutput { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CheckRunCompletedCheckRunOutput> for CheckRunCompletedCheckRunOutput { - fn from(value: &CheckRunCompletedCheckRunOutput) -> Self { - value.clone() - } -} #[doc = "The current status of the check run. Can be `queued`, `in_progress`, or `completed`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -6847,11 +6043,6 @@ pub enum CheckRunCompletedCheckRunStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckRunCompletedCheckRunStatus { - fn from(value: &CheckRunCompletedCheckRunStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCompletedCheckRunStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -6874,14 +6065,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCompletedCheckRunStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunCompletedCheckRunStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCompletedCheckRunStatus { type Error = self::error::ConversionError; fn try_from( @@ -6915,11 +6098,6 @@ pub struct CheckRunCompletedRequestedAction { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub identifier: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CheckRunCompletedRequestedAction> for CheckRunCompletedRequestedAction { - fn from(value: &CheckRunCompletedRequestedAction) -> Self { - value.clone() - } -} impl ::std::default::Default for CheckRunCompletedRequestedAction { fn default() -> Self { Self { @@ -7230,11 +6408,6 @@ pub struct CheckRunCreated { pub requested_action: ::std::option::Option, pub sender: User, } -impl ::std::convert::From<&CheckRunCreated> for CheckRunCreated { - fn from(value: &CheckRunCreated) -> Self { - value.clone() - } -} #[doc = "`CheckRunCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -7264,11 +6437,6 @@ pub enum CheckRunCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for CheckRunCreatedAction { - fn from(value: &CheckRunCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -7291,14 +6459,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -7578,11 +6738,6 @@ pub struct CheckRunCreatedCheckRun { pub status: CheckRunCreatedCheckRunStatus, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunCreatedCheckRun> for CheckRunCreatedCheckRun { - fn from(value: &CheckRunCreatedCheckRun) -> Self { - value.clone() - } -} #[doc = "`CheckRunCreatedCheckRunCheckSuite`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -7711,13 +6866,6 @@ pub struct CheckRunCreatedCheckRunCheckSuite { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunCreatedCheckRunCheckSuite> - for CheckRunCreatedCheckRunCheckSuite -{ - fn from(value: &CheckRunCreatedCheckRunCheckSuite) -> Self { - value.clone() - } -} #[doc = "`CheckRunCreatedCheckRunCheckSuiteConclusion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -7765,11 +6913,6 @@ pub enum CheckRunCreatedCheckRunCheckSuiteConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for CheckRunCreatedCheckRunCheckSuiteConclusion { - fn from(value: &CheckRunCreatedCheckRunCheckSuiteConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCreatedCheckRunCheckSuiteConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -7804,16 +6947,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCreatedCheckRunCheckSuiteConclusi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CheckRunCreatedCheckRunCheckSuiteConclusion -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCreatedCheckRunCheckSuiteConclusion { @@ -7859,11 +6992,6 @@ pub enum CheckRunCreatedCheckRunCheckSuiteStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckRunCreatedCheckRunCheckSuiteStatus { - fn from(value: &CheckRunCreatedCheckRunCheckSuiteStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCreatedCheckRunCheckSuiteStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -7890,14 +7018,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCreatedCheckRunCheckSuiteStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunCreatedCheckRunCheckSuiteStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCreatedCheckRunCheckSuiteStatus { type Error = self::error::ConversionError; fn try_from( @@ -7957,11 +7077,6 @@ pub enum CheckRunCreatedCheckRunConclusion { #[serde(rename = "skipped")] Skipped, } -impl ::std::convert::From<&Self> for CheckRunCreatedCheckRunConclusion { - fn from(value: &CheckRunCreatedCheckRunConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCreatedCheckRunConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -7998,14 +7113,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCreatedCheckRunConclusion { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunCreatedCheckRunConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCreatedCheckRunConclusion { type Error = self::error::ConversionError; fn try_from( @@ -8068,11 +7175,6 @@ pub struct CheckRunCreatedCheckRunOutput { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CheckRunCreatedCheckRunOutput> for CheckRunCreatedCheckRunOutput { - fn from(value: &CheckRunCreatedCheckRunOutput) -> Self { - value.clone() - } -} #[doc = "The current status of the check run. Can be `queued`, `in_progress`, or `completed`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -8109,11 +7211,6 @@ pub enum CheckRunCreatedCheckRunStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckRunCreatedCheckRunStatus { - fn from(value: &CheckRunCreatedCheckRunStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunCreatedCheckRunStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -8140,14 +7237,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunCreatedCheckRunStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunCreatedCheckRunStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunCreatedCheckRunStatus { type Error = self::error::ConversionError; fn try_from( @@ -8181,11 +7270,6 @@ pub struct CheckRunCreatedRequestedAction { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub identifier: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CheckRunCreatedRequestedAction> for CheckRunCreatedRequestedAction { - fn from(value: &CheckRunCreatedRequestedAction) -> Self { - value.clone() - } -} impl ::std::default::Default for CheckRunCreatedRequestedAction { fn default() -> Self { Self { @@ -8278,11 +7362,6 @@ pub struct CheckRunDeployment { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunDeployment> for CheckRunDeployment { - fn from(value: &CheckRunDeployment) -> Self { - value.clone() - } -} #[doc = "`CheckRunEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -8314,11 +7393,6 @@ pub enum CheckRunEvent { RequestedAction(CheckRunRequestedAction), Rerequested(CheckRunRerequested), } -impl ::std::convert::From<&Self> for CheckRunEvent { - fn from(value: &CheckRunEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for CheckRunEvent { fn from(value: CheckRunCompleted) -> Self { Self::Completed(value) @@ -8420,11 +7494,6 @@ pub struct CheckRunPullRequest { pub number: i64, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunPullRequest> for CheckRunPullRequest { - fn from(value: &CheckRunPullRequest) -> Self { - value.clone() - } -} #[doc = "`CheckRunPullRequestBase`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -8460,11 +7529,6 @@ pub struct CheckRunPullRequestBase { pub repo: RepoRef, pub sha: ::std::string::String, } -impl ::std::convert::From<&CheckRunPullRequestBase> for CheckRunPullRequestBase { - fn from(value: &CheckRunPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`CheckRunPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -8500,11 +7564,6 @@ pub struct CheckRunPullRequestHead { pub repo: RepoRef, pub sha: ::std::string::String, } -impl ::std::convert::From<&CheckRunPullRequestHead> for CheckRunPullRequestHead { - fn from(value: &CheckRunPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`CheckRunRequestedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -8804,11 +7863,6 @@ pub struct CheckRunRequestedAction { pub requested_action: CheckRunRequestedActionRequestedAction, pub sender: User, } -impl ::std::convert::From<&CheckRunRequestedAction> for CheckRunRequestedAction { - fn from(value: &CheckRunRequestedAction) -> Self { - value.clone() - } -} #[doc = "`CheckRunRequestedActionAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -8838,11 +7892,6 @@ pub enum CheckRunRequestedActionAction { #[serde(rename = "requested_action")] RequestedAction, } -impl ::std::convert::From<&Self> for CheckRunRequestedActionAction { - fn from(value: &CheckRunRequestedActionAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRequestedActionAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -8865,14 +7914,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRequestedActionAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunRequestedActionAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRequestedActionAction { type Error = self::error::ConversionError; fn try_from( @@ -9152,11 +8193,6 @@ pub struct CheckRunRequestedActionCheckRun { pub status: CheckRunRequestedActionCheckRunStatus, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunRequestedActionCheckRun> for CheckRunRequestedActionCheckRun { - fn from(value: &CheckRunRequestedActionCheckRun) -> Self { - value.clone() - } -} #[doc = "`CheckRunRequestedActionCheckRunCheckSuite`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -9285,13 +8321,6 @@ pub struct CheckRunRequestedActionCheckRunCheckSuite { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunRequestedActionCheckRunCheckSuite> - for CheckRunRequestedActionCheckRunCheckSuite -{ - fn from(value: &CheckRunRequestedActionCheckRunCheckSuite) -> Self { - value.clone() - } -} #[doc = "`CheckRunRequestedActionCheckRunCheckSuiteConclusion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -9339,11 +8368,6 @@ pub enum CheckRunRequestedActionCheckRunCheckSuiteConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for CheckRunRequestedActionCheckRunCheckSuiteConclusion { - fn from(value: &CheckRunRequestedActionCheckRunCheckSuiteConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRequestedActionCheckRunCheckSuiteConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -9378,16 +8402,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRequestedActionCheckRunCheckSuite value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CheckRunRequestedActionCheckRunCheckSuiteConclusion -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRequestedActionCheckRunCheckSuiteConclusion { @@ -9433,11 +8447,6 @@ pub enum CheckRunRequestedActionCheckRunCheckSuiteStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckRunRequestedActionCheckRunCheckSuiteStatus { - fn from(value: &CheckRunRequestedActionCheckRunCheckSuiteStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRequestedActionCheckRunCheckSuiteStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -9464,16 +8473,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRequestedActionCheckRunCheckSuite value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CheckRunRequestedActionCheckRunCheckSuiteStatus -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRequestedActionCheckRunCheckSuiteStatus { @@ -9535,11 +8534,6 @@ pub enum CheckRunRequestedActionCheckRunConclusion { #[serde(rename = "skipped")] Skipped, } -impl ::std::convert::From<&Self> for CheckRunRequestedActionCheckRunConclusion { - fn from(value: &CheckRunRequestedActionCheckRunConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRequestedActionCheckRunConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -9576,14 +8570,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRequestedActionCheckRunConclusion value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunRequestedActionCheckRunConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRequestedActionCheckRunConclusion { type Error = self::error::ConversionError; fn try_from( @@ -9646,13 +8632,6 @@ pub struct CheckRunRequestedActionCheckRunOutput { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CheckRunRequestedActionCheckRunOutput> - for CheckRunRequestedActionCheckRunOutput -{ - fn from(value: &CheckRunRequestedActionCheckRunOutput) -> Self { - value.clone() - } -} #[doc = "The current status of the check run. Can be `queued`, `in_progress`, or `completed`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -9689,11 +8668,6 @@ pub enum CheckRunRequestedActionCheckRunStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckRunRequestedActionCheckRunStatus { - fn from(value: &CheckRunRequestedActionCheckRunStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRequestedActionCheckRunStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -9720,14 +8694,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRequestedActionCheckRunStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunRequestedActionCheckRunStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRequestedActionCheckRunStatus { type Error = self::error::ConversionError; fn try_from( @@ -9761,13 +8727,6 @@ pub struct CheckRunRequestedActionRequestedAction { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub identifier: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CheckRunRequestedActionRequestedAction> - for CheckRunRequestedActionRequestedAction -{ - fn from(value: &CheckRunRequestedActionRequestedAction) -> Self { - value.clone() - } -} impl ::std::default::Default for CheckRunRequestedActionRequestedAction { fn default() -> Self { Self { @@ -10067,11 +9026,6 @@ pub struct CheckRunRerequested { pub requested_action: ::std::option::Option, pub sender: User, } -impl ::std::convert::From<&CheckRunRerequested> for CheckRunRerequested { - fn from(value: &CheckRunRerequested) -> Self { - value.clone() - } -} #[doc = "`CheckRunRerequestedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -10101,11 +9055,6 @@ pub enum CheckRunRerequestedAction { #[serde(rename = "rerequested")] Rerequested, } -impl ::std::convert::From<&Self> for CheckRunRerequestedAction { - fn from(value: &CheckRunRerequestedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRerequestedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10128,14 +9077,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRerequestedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunRerequestedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRerequestedAction { type Error = self::error::ConversionError; fn try_from( @@ -10404,11 +9345,6 @@ pub struct CheckRunRerequestedCheckRun { pub status: CheckRunRerequestedCheckRunStatus, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunRerequestedCheckRun> for CheckRunRerequestedCheckRun { - fn from(value: &CheckRunRerequestedCheckRun) -> Self { - value.clone() - } -} #[doc = "`CheckRunRerequestedCheckRunCheckSuite`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -10531,13 +9467,6 @@ pub struct CheckRunRerequestedCheckRunCheckSuite { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&CheckRunRerequestedCheckRunCheckSuite> - for CheckRunRerequestedCheckRunCheckSuite -{ - fn from(value: &CheckRunRerequestedCheckRunCheckSuite) -> Self { - value.clone() - } -} #[doc = "`CheckRunRerequestedCheckRunCheckSuiteConclusion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -10585,11 +9514,6 @@ pub enum CheckRunRerequestedCheckRunCheckSuiteConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for CheckRunRerequestedCheckRunCheckSuiteConclusion { - fn from(value: &CheckRunRerequestedCheckRunCheckSuiteConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRerequestedCheckRunCheckSuiteConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10624,16 +9548,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRerequestedCheckRunCheckSuiteConc value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CheckRunRerequestedCheckRunCheckSuiteConclusion -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRerequestedCheckRunCheckSuiteConclusion { @@ -10673,11 +9587,6 @@ pub enum CheckRunRerequestedCheckRunCheckSuiteStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckRunRerequestedCheckRunCheckSuiteStatus { - fn from(value: &CheckRunRerequestedCheckRunCheckSuiteStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRerequestedCheckRunCheckSuiteStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10700,16 +9609,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRerequestedCheckRunCheckSuiteStat value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CheckRunRerequestedCheckRunCheckSuiteStatus -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRerequestedCheckRunCheckSuiteStatus { @@ -10771,11 +9670,6 @@ pub enum CheckRunRerequestedCheckRunConclusion { #[serde(rename = "skipped")] Skipped, } -impl ::std::convert::From<&Self> for CheckRunRerequestedCheckRunConclusion { - fn from(value: &CheckRunRerequestedCheckRunConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRerequestedCheckRunConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10812,14 +9706,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRerequestedCheckRunConclusion { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunRerequestedCheckRunConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRerequestedCheckRunConclusion { type Error = self::error::ConversionError; fn try_from( @@ -10882,13 +9768,6 @@ pub struct CheckRunRerequestedCheckRunOutput { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CheckRunRerequestedCheckRunOutput> - for CheckRunRerequestedCheckRunOutput -{ - fn from(value: &CheckRunRerequestedCheckRunOutput) -> Self { - value.clone() - } -} #[doc = "The phase of the lifecycle that the check is currently in."] #[doc = r""] #[doc = r"
JSON schema"] @@ -10919,11 +9798,6 @@ pub enum CheckRunRerequestedCheckRunStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckRunRerequestedCheckRunStatus { - fn from(value: &CheckRunRerequestedCheckRunStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckRunRerequestedCheckRunStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10946,14 +9820,6 @@ impl ::std::convert::TryFrom<&str> for CheckRunRerequestedCheckRunStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckRunRerequestedCheckRunStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckRunRerequestedCheckRunStatus { type Error = self::error::ConversionError; fn try_from( @@ -10987,13 +9853,6 @@ pub struct CheckRunRerequestedRequestedAction { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub identifier: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CheckRunRerequestedRequestedAction> - for CheckRunRerequestedRequestedAction -{ - fn from(value: &CheckRunRerequestedRequestedAction) -> Self { - value.clone() - } -} impl ::std::default::Default for CheckRunRerequestedRequestedAction { fn default() -> Self { Self { @@ -11167,11 +10026,6 @@ pub struct CheckSuiteCompleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&CheckSuiteCompleted> for CheckSuiteCompleted { - fn from(value: &CheckSuiteCompleted) -> Self { - value.clone() - } -} #[doc = "`CheckSuiteCompletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -11201,11 +10055,6 @@ pub enum CheckSuiteCompletedAction { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for CheckSuiteCompletedAction { - fn from(value: &CheckSuiteCompletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteCompletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -11228,14 +10077,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteCompletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteCompletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteCompletedAction { type Error = self::error::ConversionError; fn try_from( @@ -11392,11 +10233,6 @@ pub struct CheckSuiteCompletedCheckSuite { #[doc = "URL that points to the check suite API resource."] pub url: ::std::string::String, } -impl ::std::convert::From<&CheckSuiteCompletedCheckSuite> for CheckSuiteCompletedCheckSuite { - fn from(value: &CheckSuiteCompletedCheckSuite) -> Self { - value.clone() - } -} #[doc = "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has `completed`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -11445,11 +10281,6 @@ pub enum CheckSuiteCompletedCheckSuiteConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for CheckSuiteCompletedCheckSuiteConclusion { - fn from(value: &CheckSuiteCompletedCheckSuiteConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteCompletedCheckSuiteConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -11484,14 +10315,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteCompletedCheckSuiteConclusion { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteCompletedCheckSuiteConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteCompletedCheckSuiteConclusion { type Error = self::error::ConversionError; fn try_from( @@ -11539,11 +10362,6 @@ pub enum CheckSuiteCompletedCheckSuiteStatus { #[serde(rename = "queued")] Queued, } -impl ::std::convert::From<&Self> for CheckSuiteCompletedCheckSuiteStatus { - fn from(value: &CheckSuiteCompletedCheckSuiteStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteCompletedCheckSuiteStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -11572,14 +10390,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteCompletedCheckSuiteStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteCompletedCheckSuiteStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteCompletedCheckSuiteStatus { type Error = self::error::ConversionError; fn try_from( @@ -11615,11 +10425,6 @@ pub enum CheckSuiteEvent { Requested(CheckSuiteRequested), Rerequested(CheckSuiteRerequested), } -impl ::std::convert::From<&Self> for CheckSuiteEvent { - fn from(value: &CheckSuiteEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for CheckSuiteEvent { fn from(value: CheckSuiteCompleted) -> Self { Self::Completed(value) @@ -11801,11 +10606,6 @@ pub struct CheckSuiteRequested { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&CheckSuiteRequested> for CheckSuiteRequested { - fn from(value: &CheckSuiteRequested) -> Self { - value.clone() - } -} #[doc = "`CheckSuiteRequestedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -11835,11 +10635,6 @@ pub enum CheckSuiteRequestedAction { #[serde(rename = "requested")] Requested, } -impl ::std::convert::From<&Self> for CheckSuiteRequestedAction { - fn from(value: &CheckSuiteRequestedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteRequestedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -11862,14 +10657,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteRequestedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteRequestedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteRequestedAction { type Error = self::error::ConversionError; fn try_from( @@ -12026,11 +10813,6 @@ pub struct CheckSuiteRequestedCheckSuite { #[doc = "URL that points to the check suite API resource."] pub url: ::std::string::String, } -impl ::std::convert::From<&CheckSuiteRequestedCheckSuite> for CheckSuiteRequestedCheckSuite { - fn from(value: &CheckSuiteRequestedCheckSuite) -> Self { - value.clone() - } -} #[doc = "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`,` neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed."] #[doc = r""] #[doc = r"
JSON schema"] @@ -12079,11 +10861,6 @@ pub enum CheckSuiteRequestedCheckSuiteConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for CheckSuiteRequestedCheckSuiteConclusion { - fn from(value: &CheckSuiteRequestedCheckSuiteConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteRequestedCheckSuiteConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -12118,14 +10895,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteRequestedCheckSuiteConclusion { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteRequestedCheckSuiteConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteRequestedCheckSuiteConclusion { type Error = self::error::ConversionError; fn try_from( @@ -12173,11 +10942,6 @@ pub enum CheckSuiteRequestedCheckSuiteStatus { #[serde(rename = "queued")] Queued, } -impl ::std::convert::From<&Self> for CheckSuiteRequestedCheckSuiteStatus { - fn from(value: &CheckSuiteRequestedCheckSuiteStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteRequestedCheckSuiteStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -12206,14 +10970,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteRequestedCheckSuiteStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteRequestedCheckSuiteStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteRequestedCheckSuiteStatus { type Error = self::error::ConversionError; fn try_from( @@ -12388,11 +11144,6 @@ pub struct CheckSuiteRerequested { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&CheckSuiteRerequested> for CheckSuiteRerequested { - fn from(value: &CheckSuiteRerequested) -> Self { - value.clone() - } -} #[doc = "`CheckSuiteRerequestedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -12422,11 +11173,6 @@ pub enum CheckSuiteRerequestedAction { #[serde(rename = "rerequested")] Rerequested, } -impl ::std::convert::From<&Self> for CheckSuiteRerequestedAction { - fn from(value: &CheckSuiteRerequestedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteRerequestedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -12449,14 +11195,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteRerequestedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteRerequestedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteRerequestedAction { type Error = self::error::ConversionError; fn try_from( @@ -12613,11 +11351,6 @@ pub struct CheckSuiteRerequestedCheckSuite { #[doc = "URL that points to the check suite API resource."] pub url: ::std::string::String, } -impl ::std::convert::From<&CheckSuiteRerequestedCheckSuite> for CheckSuiteRerequestedCheckSuite { - fn from(value: &CheckSuiteRerequestedCheckSuite) -> Self { - value.clone() - } -} #[doc = "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`,` neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed."] #[doc = r""] #[doc = r"
JSON schema"] @@ -12666,11 +11399,6 @@ pub enum CheckSuiteRerequestedCheckSuiteConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for CheckSuiteRerequestedCheckSuiteConclusion { - fn from(value: &CheckSuiteRerequestedCheckSuiteConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteRerequestedCheckSuiteConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -12705,14 +11433,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteRerequestedCheckSuiteConclusion value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteRerequestedCheckSuiteConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteRerequestedCheckSuiteConclusion { type Error = self::error::ConversionError; fn try_from( @@ -12760,11 +11480,6 @@ pub enum CheckSuiteRerequestedCheckSuiteStatus { #[serde(rename = "queued")] Queued, } -impl ::std::convert::From<&Self> for CheckSuiteRerequestedCheckSuiteStatus { - fn from(value: &CheckSuiteRerequestedCheckSuiteStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CheckSuiteRerequestedCheckSuiteStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -12793,14 +11508,6 @@ impl ::std::convert::TryFrom<&str> for CheckSuiteRerequestedCheckSuiteStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CheckSuiteRerequestedCheckSuiteStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CheckSuiteRerequestedCheckSuiteStatus { type Error = self::error::ConversionError; fn try_from( @@ -13016,13 +11723,6 @@ pub struct CodeScanningAlertAppearedInBranch { pub repository: Repository, pub sender: GithubOrg, } -impl ::std::convert::From<&CodeScanningAlertAppearedInBranch> - for CodeScanningAlertAppearedInBranch -{ - fn from(value: &CodeScanningAlertAppearedInBranch) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertAppearedInBranchAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -13052,11 +11752,6 @@ pub enum CodeScanningAlertAppearedInBranchAction { #[serde(rename = "appeared_in_branch")] AppearedInBranch, } -impl ::std::convert::From<&Self> for CodeScanningAlertAppearedInBranchAction { - fn from(value: &CodeScanningAlertAppearedInBranchAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertAppearedInBranchAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -13079,14 +11774,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertAppearedInBranchAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertAppearedInBranchAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertAppearedInBranchAction { type Error = self::error::ConversionError; fn try_from( @@ -13267,13 +11954,6 @@ pub struct CodeScanningAlertAppearedInBranchAlert { pub tool: CodeScanningAlertAppearedInBranchAlertTool, pub url: ::std::string::String, } -impl ::std::convert::From<&CodeScanningAlertAppearedInBranchAlert> - for CodeScanningAlertAppearedInBranchAlert -{ - fn from(value: &CodeScanningAlertAppearedInBranchAlert) -> Self { - value.clone() - } -} #[doc = "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -13310,11 +11990,6 @@ pub enum CodeScanningAlertAppearedInBranchAlertDismissedReason { #[serde(rename = "used in tests")] UsedInTests, } -impl ::std::convert::From<&Self> for CodeScanningAlertAppearedInBranchAlertDismissedReason { - fn from(value: &CodeScanningAlertAppearedInBranchAlertDismissedReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertAppearedInBranchAlertDismissedReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -13341,16 +12016,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertAppearedInBranchAlertDis value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertAppearedInBranchAlertDismissedReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertAppearedInBranchAlertDismissedReason { @@ -13411,13 +12076,6 @@ pub struct CodeScanningAlertAppearedInBranchAlertRule { #[doc = "The severity of the alert."] pub severity: ::std::option::Option, } -impl ::std::convert::From<&CodeScanningAlertAppearedInBranchAlertRule> - for CodeScanningAlertAppearedInBranchAlertRule -{ - fn from(value: &CodeScanningAlertAppearedInBranchAlertRule) -> Self { - value.clone() - } -} #[doc = "The severity of the alert."] #[doc = r""] #[doc = r"
JSON schema"] @@ -13457,11 +12115,6 @@ pub enum CodeScanningAlertAppearedInBranchAlertRuleSeverity { #[serde(rename = "error")] Error, } -impl ::std::convert::From<&Self> for CodeScanningAlertAppearedInBranchAlertRuleSeverity { - fn from(value: &CodeScanningAlertAppearedInBranchAlertRuleSeverity) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertAppearedInBranchAlertRuleSeverity { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -13490,16 +12143,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertAppearedInBranchAlertRul value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertAppearedInBranchAlertRuleSeverity -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertAppearedInBranchAlertRuleSeverity { @@ -13546,11 +12189,6 @@ pub enum CodeScanningAlertAppearedInBranchAlertState { #[serde(rename = "fixed")] Fixed, } -impl ::std::convert::From<&Self> for CodeScanningAlertAppearedInBranchAlertState { - fn from(value: &CodeScanningAlertAppearedInBranchAlertState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertAppearedInBranchAlertState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -13577,16 +12215,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertAppearedInBranchAlertSta value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertAppearedInBranchAlertState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertAppearedInBranchAlertState { @@ -13633,13 +12261,6 @@ pub struct CodeScanningAlertAppearedInBranchAlertTool { #[doc = "The version of the tool used to detect the alert."] pub version: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertAppearedInBranchAlertTool> - for CodeScanningAlertAppearedInBranchAlertTool -{ - fn from(value: &CodeScanningAlertAppearedInBranchAlertTool) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertClosedByUser`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -13869,11 +12490,6 @@ pub struct CodeScanningAlertClosedByUser { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&CodeScanningAlertClosedByUser> for CodeScanningAlertClosedByUser { - fn from(value: &CodeScanningAlertClosedByUser) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertClosedByUserAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -13903,11 +12519,6 @@ pub enum CodeScanningAlertClosedByUserAction { #[serde(rename = "closed_by_user")] ClosedByUser, } -impl ::std::convert::From<&Self> for CodeScanningAlertClosedByUserAction { - fn from(value: &CodeScanningAlertClosedByUserAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertClosedByUserAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -13930,14 +12541,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertClosedByUserAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertClosedByUserAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertClosedByUserAction { type Error = self::error::ConversionError; fn try_from( @@ -14139,13 +12742,6 @@ pub struct CodeScanningAlertClosedByUserAlert { pub tool: CodeScanningAlertClosedByUserAlertTool, pub url: ::std::string::String, } -impl ::std::convert::From<&CodeScanningAlertClosedByUserAlert> - for CodeScanningAlertClosedByUserAlert -{ - fn from(value: &CodeScanningAlertClosedByUserAlert) -> Self { - value.clone() - } -} #[doc = "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -14183,11 +12779,6 @@ pub enum CodeScanningAlertClosedByUserAlertDismissedReason { #[serde(rename = "used in tests")] UsedInTests, } -impl ::std::convert::From<&Self> for CodeScanningAlertClosedByUserAlertDismissedReason { - fn from(value: &CodeScanningAlertClosedByUserAlertDismissedReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertClosedByUserAlertDismissedReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -14214,16 +12805,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertClosedByUserAlertDismiss value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertClosedByUserAlertDismissedReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertClosedByUserAlertDismissedReason { @@ -14283,13 +12864,6 @@ pub struct CodeScanningAlertClosedByUserAlertInstancesItem { pub ref_: ::std::string::String, pub state: CodeScanningAlertClosedByUserAlertInstancesItemState, } -impl ::std::convert::From<&CodeScanningAlertClosedByUserAlertInstancesItem> - for CodeScanningAlertClosedByUserAlertInstancesItem -{ - fn from(value: &CodeScanningAlertClosedByUserAlertInstancesItem) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertClosedByUserAlertInstancesItemLocation`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -14332,13 +12906,6 @@ pub struct CodeScanningAlertClosedByUserAlertInstancesItemLocation { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub start_line: ::std::option::Option, } -impl ::std::convert::From<&CodeScanningAlertClosedByUserAlertInstancesItemLocation> - for CodeScanningAlertClosedByUserAlertInstancesItemLocation -{ - fn from(value: &CodeScanningAlertClosedByUserAlertInstancesItemLocation) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertClosedByUserAlertInstancesItemLocation { fn default() -> Self { Self { @@ -14372,13 +12939,6 @@ pub struct CodeScanningAlertClosedByUserAlertInstancesItemMessage { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub text: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertClosedByUserAlertInstancesItemMessage> - for CodeScanningAlertClosedByUserAlertInstancesItemMessage -{ - fn from(value: &CodeScanningAlertClosedByUserAlertInstancesItemMessage) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertClosedByUserAlertInstancesItemMessage { fn default() -> Self { Self { @@ -14415,11 +12975,6 @@ pub enum CodeScanningAlertClosedByUserAlertInstancesItemState { #[serde(rename = "dismissed")] Dismissed, } -impl ::std::convert::From<&Self> for CodeScanningAlertClosedByUserAlertInstancesItemState { - fn from(value: &CodeScanningAlertClosedByUserAlertInstancesItemState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertClosedByUserAlertInstancesItemState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -14442,16 +12997,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertClosedByUserAlertInstanc value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertClosedByUserAlertInstancesItemState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertClosedByUserAlertInstancesItemState { @@ -14532,13 +13077,6 @@ pub struct CodeScanningAlertClosedByUserAlertRule { #[serde(default)] pub tags: (), } -impl ::std::convert::From<&CodeScanningAlertClosedByUserAlertRule> - for CodeScanningAlertClosedByUserAlertRule -{ - fn from(value: &CodeScanningAlertClosedByUserAlertRule) -> Self { - value.clone() - } -} #[doc = "The severity of the alert."] #[doc = r""] #[doc = r"
JSON schema"] @@ -14578,11 +13116,6 @@ pub enum CodeScanningAlertClosedByUserAlertRuleSeverity { #[serde(rename = "error")] Error, } -impl ::std::convert::From<&Self> for CodeScanningAlertClosedByUserAlertRuleSeverity { - fn from(value: &CodeScanningAlertClosedByUserAlertRuleSeverity) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertClosedByUserAlertRuleSeverity { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -14611,16 +13144,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertClosedByUserAlertRuleSev value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertClosedByUserAlertRuleSeverity -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertClosedByUserAlertRuleSeverity { @@ -14661,11 +13184,6 @@ pub enum CodeScanningAlertClosedByUserAlertState { #[serde(rename = "dismissed")] Dismissed, } -impl ::std::convert::From<&Self> for CodeScanningAlertClosedByUserAlertState { - fn from(value: &CodeScanningAlertClosedByUserAlertState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertClosedByUserAlertState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -14688,14 +13206,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertClosedByUserAlertState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertClosedByUserAlertState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertClosedByUserAlertState { type Error = self::error::ConversionError; fn try_from( @@ -14748,13 +13258,6 @@ pub struct CodeScanningAlertClosedByUserAlertTool { #[doc = "The version of the tool used to detect the alert."] pub version: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertClosedByUserAlertTool> - for CodeScanningAlertClosedByUserAlertTool -{ - fn from(value: &CodeScanningAlertClosedByUserAlertTool) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -14979,11 +13482,6 @@ pub struct CodeScanningAlertCreated { pub repository: Repository, pub sender: GithubOrg, } -impl ::std::convert::From<&CodeScanningAlertCreated> for CodeScanningAlertCreated { - fn from(value: &CodeScanningAlertCreated) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -15013,11 +13511,6 @@ pub enum CodeScanningAlertCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for CodeScanningAlertCreatedAction { - fn from(value: &CodeScanningAlertCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -15040,14 +13533,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -15244,11 +13729,6 @@ pub struct CodeScanningAlertCreatedAlert { pub tool: CodeScanningAlertCreatedAlertTool, pub url: ::std::string::String, } -impl ::std::convert::From<&CodeScanningAlertCreatedAlert> for CodeScanningAlertCreatedAlert { - fn from(value: &CodeScanningAlertCreatedAlert) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertCreatedAlertInstancesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -15299,13 +13779,6 @@ pub struct CodeScanningAlertCreatedAlertInstancesItem { pub ref_: ::std::string::String, pub state: CodeScanningAlertCreatedAlertInstancesItemState, } -impl ::std::convert::From<&CodeScanningAlertCreatedAlertInstancesItem> - for CodeScanningAlertCreatedAlertInstancesItem -{ - fn from(value: &CodeScanningAlertCreatedAlertInstancesItem) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertCreatedAlertInstancesItemLocation`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -15348,13 +13821,6 @@ pub struct CodeScanningAlertCreatedAlertInstancesItemLocation { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub start_line: ::std::option::Option, } -impl ::std::convert::From<&CodeScanningAlertCreatedAlertInstancesItemLocation> - for CodeScanningAlertCreatedAlertInstancesItemLocation -{ - fn from(value: &CodeScanningAlertCreatedAlertInstancesItemLocation) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertCreatedAlertInstancesItemLocation { fn default() -> Self { Self { @@ -15388,13 +13854,6 @@ pub struct CodeScanningAlertCreatedAlertInstancesItemMessage { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub text: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertCreatedAlertInstancesItemMessage> - for CodeScanningAlertCreatedAlertInstancesItemMessage -{ - fn from(value: &CodeScanningAlertCreatedAlertInstancesItemMessage) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertCreatedAlertInstancesItemMessage { fn default() -> Self { Self { @@ -15434,11 +13893,6 @@ pub enum CodeScanningAlertCreatedAlertInstancesItemState { #[serde(rename = "dismissed")] Dismissed, } -impl ::std::convert::From<&Self> for CodeScanningAlertCreatedAlertInstancesItemState { - fn from(value: &CodeScanningAlertCreatedAlertInstancesItemState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertCreatedAlertInstancesItemState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -15463,16 +13917,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertCreatedAlertInstancesIte value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertCreatedAlertInstancesItemState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertCreatedAlertInstancesItemState { @@ -15553,13 +13997,6 @@ pub struct CodeScanningAlertCreatedAlertRule { #[serde(default)] pub tags: (), } -impl ::std::convert::From<&CodeScanningAlertCreatedAlertRule> - for CodeScanningAlertCreatedAlertRule -{ - fn from(value: &CodeScanningAlertCreatedAlertRule) -> Self { - value.clone() - } -} #[doc = "The severity of the alert."] #[doc = r""] #[doc = r"
JSON schema"] @@ -15599,11 +14036,6 @@ pub enum CodeScanningAlertCreatedAlertRuleSeverity { #[serde(rename = "error")] Error, } -impl ::std::convert::From<&Self> for CodeScanningAlertCreatedAlertRuleSeverity { - fn from(value: &CodeScanningAlertCreatedAlertRuleSeverity) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertCreatedAlertRuleSeverity { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -15632,14 +14064,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertCreatedAlertRuleSeverity value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertCreatedAlertRuleSeverity { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertCreatedAlertRuleSeverity { type Error = self::error::ConversionError; fn try_from( @@ -15681,11 +14105,6 @@ pub enum CodeScanningAlertCreatedAlertState { #[serde(rename = "dismissed")] Dismissed, } -impl ::std::convert::From<&Self> for CodeScanningAlertCreatedAlertState { - fn from(value: &CodeScanningAlertCreatedAlertState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertCreatedAlertState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -15710,14 +14129,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertCreatedAlertState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertCreatedAlertState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertCreatedAlertState { type Error = self::error::ConversionError; fn try_from( @@ -15770,13 +14181,6 @@ pub struct CodeScanningAlertCreatedAlertTool { #[doc = "The version of the tool used to detect the alert."] pub version: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertCreatedAlertTool> - for CodeScanningAlertCreatedAlertTool -{ - fn from(value: &CodeScanningAlertCreatedAlertTool) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -15816,11 +14220,6 @@ pub enum CodeScanningAlertEvent { Reopened(CodeScanningAlertReopened), ReopenedByUser(CodeScanningAlertReopenedByUser), } -impl ::std::convert::From<&Self> for CodeScanningAlertEvent { - fn from(value: &CodeScanningAlertEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for CodeScanningAlertEvent { fn from(value: CodeScanningAlertAppearedInBranch) -> Self { Self::AppearedInBranch(value) @@ -16097,11 +14496,6 @@ pub struct CodeScanningAlertFixed { pub repository: Repository, pub sender: GithubOrg, } -impl ::std::convert::From<&CodeScanningAlertFixed> for CodeScanningAlertFixed { - fn from(value: &CodeScanningAlertFixed) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertFixedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -16131,11 +14525,6 @@ pub enum CodeScanningAlertFixedAction { #[serde(rename = "fixed")] Fixed, } -impl ::std::convert::From<&Self> for CodeScanningAlertFixedAction { - fn from(value: &CodeScanningAlertFixedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertFixedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -16158,14 +14547,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertFixedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertFixedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertFixedAction { type Error = self::error::ConversionError; fn try_from( @@ -16386,11 +14767,6 @@ pub struct CodeScanningAlertFixedAlert { pub tool: CodeScanningAlertFixedAlertTool, pub url: ::std::string::String, } -impl ::std::convert::From<&CodeScanningAlertFixedAlert> for CodeScanningAlertFixedAlert { - fn from(value: &CodeScanningAlertFixedAlert) -> Self { - value.clone() - } -} #[doc = "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -16427,11 +14803,6 @@ pub enum CodeScanningAlertFixedAlertDismissedReason { #[serde(rename = "used in tests")] UsedInTests, } -impl ::std::convert::From<&Self> for CodeScanningAlertFixedAlertDismissedReason { - fn from(value: &CodeScanningAlertFixedAlertDismissedReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertFixedAlertDismissedReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -16458,16 +14829,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertFixedAlertDismissedReaso value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertFixedAlertDismissedReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertFixedAlertDismissedReason { type Error = self::error::ConversionError; fn try_from( @@ -16525,13 +14886,6 @@ pub struct CodeScanningAlertFixedAlertInstancesItem { pub ref_: ::std::string::String, pub state: CodeScanningAlertFixedAlertInstancesItemState, } -impl ::std::convert::From<&CodeScanningAlertFixedAlertInstancesItem> - for CodeScanningAlertFixedAlertInstancesItem -{ - fn from(value: &CodeScanningAlertFixedAlertInstancesItem) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertFixedAlertInstancesItemLocation`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -16574,13 +14928,6 @@ pub struct CodeScanningAlertFixedAlertInstancesItemLocation { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub start_line: ::std::option::Option, } -impl ::std::convert::From<&CodeScanningAlertFixedAlertInstancesItemLocation> - for CodeScanningAlertFixedAlertInstancesItemLocation -{ - fn from(value: &CodeScanningAlertFixedAlertInstancesItemLocation) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertFixedAlertInstancesItemLocation { fn default() -> Self { Self { @@ -16614,13 +14961,6 @@ pub struct CodeScanningAlertFixedAlertInstancesItemMessage { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub text: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertFixedAlertInstancesItemMessage> - for CodeScanningAlertFixedAlertInstancesItemMessage -{ - fn from(value: &CodeScanningAlertFixedAlertInstancesItemMessage) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertFixedAlertInstancesItemMessage { fn default() -> Self { Self { @@ -16657,11 +14997,6 @@ pub enum CodeScanningAlertFixedAlertInstancesItemState { #[serde(rename = "fixed")] Fixed, } -impl ::std::convert::From<&Self> for CodeScanningAlertFixedAlertInstancesItemState { - fn from(value: &CodeScanningAlertFixedAlertInstancesItemState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertFixedAlertInstancesItemState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -16684,16 +15019,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertFixedAlertInstancesItemS value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertFixedAlertInstancesItemState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertFixedAlertInstancesItemState { @@ -16774,11 +15099,6 @@ pub struct CodeScanningAlertFixedAlertRule { #[serde(default)] pub tags: (), } -impl ::std::convert::From<&CodeScanningAlertFixedAlertRule> for CodeScanningAlertFixedAlertRule { - fn from(value: &CodeScanningAlertFixedAlertRule) -> Self { - value.clone() - } -} #[doc = "The severity of the alert."] #[doc = r""] #[doc = r"
JSON schema"] @@ -16818,11 +15138,6 @@ pub enum CodeScanningAlertFixedAlertRuleSeverity { #[serde(rename = "error")] Error, } -impl ::std::convert::From<&Self> for CodeScanningAlertFixedAlertRuleSeverity { - fn from(value: &CodeScanningAlertFixedAlertRuleSeverity) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertFixedAlertRuleSeverity { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -16851,14 +15166,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertFixedAlertRuleSeverity { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertFixedAlertRuleSeverity { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertFixedAlertRuleSeverity { type Error = self::error::ConversionError; fn try_from( @@ -16897,11 +15204,6 @@ pub enum CodeScanningAlertFixedAlertState { #[serde(rename = "fixed")] Fixed, } -impl ::std::convert::From<&Self> for CodeScanningAlertFixedAlertState { - fn from(value: &CodeScanningAlertFixedAlertState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertFixedAlertState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -16924,14 +15226,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertFixedAlertState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertFixedAlertState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertFixedAlertState { type Error = self::error::ConversionError; fn try_from( @@ -16984,11 +15278,6 @@ pub struct CodeScanningAlertFixedAlertTool { #[doc = "The version of the tool used to detect the alert."] pub version: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertFixedAlertTool> for CodeScanningAlertFixedAlertTool { - fn from(value: &CodeScanningAlertFixedAlertTool) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertReopened`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -17213,11 +15502,6 @@ pub struct CodeScanningAlertReopened { pub repository: Repository, pub sender: GithubOrg, } -impl ::std::convert::From<&CodeScanningAlertReopened> for CodeScanningAlertReopened { - fn from(value: &CodeScanningAlertReopened) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertReopenedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -17247,11 +15531,6 @@ pub enum CodeScanningAlertReopenedAction { #[serde(rename = "reopened")] Reopened, } -impl ::std::convert::From<&Self> for CodeScanningAlertReopenedAction { - fn from(value: &CodeScanningAlertReopenedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertReopenedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -17274,14 +15553,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertReopenedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertReopenedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertReopenedAction { type Error = self::error::ConversionError; fn try_from( @@ -17478,11 +15749,6 @@ pub struct CodeScanningAlertReopenedAlert { pub tool: CodeScanningAlertReopenedAlertTool, pub url: ::std::string::String, } -impl ::std::convert::From<&CodeScanningAlertReopenedAlert> for CodeScanningAlertReopenedAlert { - fn from(value: &CodeScanningAlertReopenedAlert) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertReopenedAlertInstancesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -17532,13 +15798,6 @@ pub struct CodeScanningAlertReopenedAlertInstancesItem { pub ref_: ::std::string::String, pub state: CodeScanningAlertReopenedAlertInstancesItemState, } -impl ::std::convert::From<&CodeScanningAlertReopenedAlertInstancesItem> - for CodeScanningAlertReopenedAlertInstancesItem -{ - fn from(value: &CodeScanningAlertReopenedAlertInstancesItem) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertReopenedAlertInstancesItemLocation`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -17581,13 +15840,6 @@ pub struct CodeScanningAlertReopenedAlertInstancesItemLocation { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub start_line: ::std::option::Option, } -impl ::std::convert::From<&CodeScanningAlertReopenedAlertInstancesItemLocation> - for CodeScanningAlertReopenedAlertInstancesItemLocation -{ - fn from(value: &CodeScanningAlertReopenedAlertInstancesItemLocation) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertReopenedAlertInstancesItemLocation { fn default() -> Self { Self { @@ -17621,13 +15873,6 @@ pub struct CodeScanningAlertReopenedAlertInstancesItemMessage { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub text: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertReopenedAlertInstancesItemMessage> - for CodeScanningAlertReopenedAlertInstancesItemMessage -{ - fn from(value: &CodeScanningAlertReopenedAlertInstancesItemMessage) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertReopenedAlertInstancesItemMessage { fn default() -> Self { Self { @@ -17664,11 +15909,6 @@ pub enum CodeScanningAlertReopenedAlertInstancesItemState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for CodeScanningAlertReopenedAlertInstancesItemState { - fn from(value: &CodeScanningAlertReopenedAlertInstancesItemState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertReopenedAlertInstancesItemState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -17691,16 +15931,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertReopenedAlertInstancesIt value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertReopenedAlertInstancesItemState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertReopenedAlertInstancesItemState { @@ -17781,13 +16011,6 @@ pub struct CodeScanningAlertReopenedAlertRule { #[serde(default)] pub tags: (), } -impl ::std::convert::From<&CodeScanningAlertReopenedAlertRule> - for CodeScanningAlertReopenedAlertRule -{ - fn from(value: &CodeScanningAlertReopenedAlertRule) -> Self { - value.clone() - } -} #[doc = "The severity of the alert."] #[doc = r""] #[doc = r"
JSON schema"] @@ -17827,11 +16050,6 @@ pub enum CodeScanningAlertReopenedAlertRuleSeverity { #[serde(rename = "error")] Error, } -impl ::std::convert::From<&Self> for CodeScanningAlertReopenedAlertRuleSeverity { - fn from(value: &CodeScanningAlertReopenedAlertRuleSeverity) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertReopenedAlertRuleSeverity { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -17860,16 +16078,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertReopenedAlertRuleSeverit value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertReopenedAlertRuleSeverity -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertReopenedAlertRuleSeverity { type Error = self::error::ConversionError; fn try_from( @@ -17914,11 +16122,6 @@ pub enum CodeScanningAlertReopenedAlertState { #[serde(rename = "fixed")] Fixed, } -impl ::std::convert::From<&Self> for CodeScanningAlertReopenedAlertState { - fn from(value: &CodeScanningAlertReopenedAlertState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertReopenedAlertState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -17945,14 +16148,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertReopenedAlertState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertReopenedAlertState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertReopenedAlertState { type Error = self::error::ConversionError; fn try_from( @@ -18005,13 +16200,6 @@ pub struct CodeScanningAlertReopenedAlertTool { #[doc = "The version of the tool used to detect the alert."] pub version: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertReopenedAlertTool> - for CodeScanningAlertReopenedAlertTool -{ - fn from(value: &CodeScanningAlertReopenedAlertTool) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertReopenedByUser`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18216,11 +16404,6 @@ pub struct CodeScanningAlertReopenedByUser { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&CodeScanningAlertReopenedByUser> for CodeScanningAlertReopenedByUser { - fn from(value: &CodeScanningAlertReopenedByUser) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertReopenedByUserAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18250,11 +16433,6 @@ pub enum CodeScanningAlertReopenedByUserAction { #[serde(rename = "reopened_by_user")] ReopenedByUser, } -impl ::std::convert::From<&Self> for CodeScanningAlertReopenedByUserAction { - fn from(value: &CodeScanningAlertReopenedByUserAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertReopenedByUserAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -18277,14 +16455,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertReopenedByUserAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertReopenedByUserAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertReopenedByUserAction { type Error = self::error::ConversionError; fn try_from( @@ -18461,13 +16631,6 @@ pub struct CodeScanningAlertReopenedByUserAlert { pub tool: CodeScanningAlertReopenedByUserAlertTool, pub url: ::std::string::String, } -impl ::std::convert::From<&CodeScanningAlertReopenedByUserAlert> - for CodeScanningAlertReopenedByUserAlert -{ - fn from(value: &CodeScanningAlertReopenedByUserAlert) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertReopenedByUserAlertInstancesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18517,13 +16680,6 @@ pub struct CodeScanningAlertReopenedByUserAlertInstancesItem { pub ref_: ::std::string::String, pub state: CodeScanningAlertReopenedByUserAlertInstancesItemState, } -impl ::std::convert::From<&CodeScanningAlertReopenedByUserAlertInstancesItem> - for CodeScanningAlertReopenedByUserAlertInstancesItem -{ - fn from(value: &CodeScanningAlertReopenedByUserAlertInstancesItem) -> Self { - value.clone() - } -} #[doc = "`CodeScanningAlertReopenedByUserAlertInstancesItemLocation`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18566,13 +16722,6 @@ pub struct CodeScanningAlertReopenedByUserAlertInstancesItemLocation { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub start_line: ::std::option::Option, } -impl ::std::convert::From<&CodeScanningAlertReopenedByUserAlertInstancesItemLocation> - for CodeScanningAlertReopenedByUserAlertInstancesItemLocation -{ - fn from(value: &CodeScanningAlertReopenedByUserAlertInstancesItemLocation) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertReopenedByUserAlertInstancesItemLocation { fn default() -> Self { Self { @@ -18606,13 +16755,6 @@ pub struct CodeScanningAlertReopenedByUserAlertInstancesItemMessage { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub text: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertReopenedByUserAlertInstancesItemMessage> - for CodeScanningAlertReopenedByUserAlertInstancesItemMessage -{ - fn from(value: &CodeScanningAlertReopenedByUserAlertInstancesItemMessage) -> Self { - value.clone() - } -} impl ::std::default::Default for CodeScanningAlertReopenedByUserAlertInstancesItemMessage { fn default() -> Self { Self { @@ -18649,11 +16791,6 @@ pub enum CodeScanningAlertReopenedByUserAlertInstancesItemState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for CodeScanningAlertReopenedByUserAlertInstancesItemState { - fn from(value: &CodeScanningAlertReopenedByUserAlertInstancesItemState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertReopenedByUserAlertInstancesItemState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -18676,16 +16813,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertReopenedByUserAlertInsta value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertReopenedByUserAlertInstancesItemState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertReopenedByUserAlertInstancesItemState { @@ -18746,13 +16873,6 @@ pub struct CodeScanningAlertReopenedByUserAlertRule { #[doc = "The severity of the alert."] pub severity: ::std::option::Option, } -impl ::std::convert::From<&CodeScanningAlertReopenedByUserAlertRule> - for CodeScanningAlertReopenedByUserAlertRule -{ - fn from(value: &CodeScanningAlertReopenedByUserAlertRule) -> Self { - value.clone() - } -} #[doc = "The severity of the alert."] #[doc = r""] #[doc = r"
JSON schema"] @@ -18792,11 +16912,6 @@ pub enum CodeScanningAlertReopenedByUserAlertRuleSeverity { #[serde(rename = "error")] Error, } -impl ::std::convert::From<&Self> for CodeScanningAlertReopenedByUserAlertRuleSeverity { - fn from(value: &CodeScanningAlertReopenedByUserAlertRuleSeverity) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertReopenedByUserAlertRuleSeverity { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -18825,16 +16940,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertReopenedByUserAlertRuleS value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for CodeScanningAlertReopenedByUserAlertRuleSeverity -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertReopenedByUserAlertRuleSeverity { @@ -18875,11 +16980,6 @@ pub enum CodeScanningAlertReopenedByUserAlertState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for CodeScanningAlertReopenedByUserAlertState { - fn from(value: &CodeScanningAlertReopenedByUserAlertState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CodeScanningAlertReopenedByUserAlertState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -18902,14 +17002,6 @@ impl ::std::convert::TryFrom<&str> for CodeScanningAlertReopenedByUserAlertState value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CodeScanningAlertReopenedByUserAlertState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CodeScanningAlertReopenedByUserAlertState { type Error = self::error::ConversionError; fn try_from( @@ -18954,13 +17046,6 @@ pub struct CodeScanningAlertReopenedByUserAlertTool { #[doc = "The version of the tool used to detect the alert."] pub version: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&CodeScanningAlertReopenedByUserAlertTool> - for CodeScanningAlertReopenedByUserAlertTool -{ - fn from(value: &CodeScanningAlertReopenedByUserAlertTool) -> Self { - value.clone() - } -} #[doc = "`Commit`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -19061,11 +17146,6 @@ pub struct Commit { #[doc = "URL that points to the commit API resource."] pub url: ::std::string::String, } -impl ::std::convert::From<&Commit> for Commit { - fn from(value: &Commit) -> Self { - value.clone() - } -} #[doc = "A commit comment is created. The type of activity is specified in the `action` property. "] #[doc = r""] #[doc = r"
JSON schema"] @@ -19199,11 +17279,6 @@ pub struct CommitCommentCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&CommitCommentCreated> for CommitCommentCreated { - fn from(value: &CommitCommentCreated) -> Self { - value.clone() - } -} #[doc = "The action performed. Can be `created`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -19234,11 +17309,6 @@ pub enum CommitCommentCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for CommitCommentCreatedAction { - fn from(value: &CommitCommentCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CommitCommentCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -19261,14 +17331,6 @@ impl ::std::convert::TryFrom<&str> for CommitCommentCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CommitCommentCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CommitCommentCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -19387,11 +17449,6 @@ pub struct CommitCommentCreatedComment { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&CommitCommentCreatedComment> for CommitCommentCreatedComment { - fn from(value: &CommitCommentCreatedComment) -> Self { - value.clone() - } -} #[doc = "`CommitCommentEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -19420,11 +17477,6 @@ impl ::std::convert::From for CommitCommentCreated { value.0 } } -impl ::std::convert::From<&CommitCommentEvent> for CommitCommentEvent { - fn from(value: &CommitCommentEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for CommitCommentEvent { fn from(value: CommitCommentCreated) -> Self { Self(value) @@ -19481,11 +17533,6 @@ pub struct CommitSimple { pub timestamp: ::std::string::String, pub tree_id: ::std::string::String, } -impl ::std::convert::From<&CommitSimple> for CommitSimple { - fn from(value: &CommitSimple) -> Self { - value.clone() - } -} #[doc = "Metaproperties for Git author/committer information."] #[doc = r""] #[doc = r"
JSON schema"] @@ -19541,11 +17588,6 @@ pub struct Committer { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub username: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&Committer> for Committer { - fn from(value: &Committer) -> Self { - value.clone() - } -} #[doc = "`ContentReferenceCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -19618,11 +17660,6 @@ pub struct ContentReferenceCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ContentReferenceCreated> for ContentReferenceCreated { - fn from(value: &ContentReferenceCreated) -> Self { - value.clone() - } -} #[doc = "`ContentReferenceCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -19652,11 +17689,6 @@ pub enum ContentReferenceCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for ContentReferenceCreatedAction { - fn from(value: &ContentReferenceCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ContentReferenceCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -19679,14 +17711,6 @@ impl ::std::convert::TryFrom<&str> for ContentReferenceCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ContentReferenceCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ContentReferenceCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -19730,13 +17754,6 @@ pub struct ContentReferenceCreatedContentReference { pub node_id: ::std::string::String, pub reference: ::std::string::String, } -impl ::std::convert::From<&ContentReferenceCreatedContentReference> - for ContentReferenceCreatedContentReference -{ - fn from(value: &ContentReferenceCreatedContentReference) -> Self { - value.clone() - } -} #[doc = "`ContentReferenceEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -19765,11 +17782,6 @@ impl ::std::convert::From for ContentReferenceCreated { value.0 } } -impl ::std::convert::From<&ContentReferenceEvent> for ContentReferenceEvent { - fn from(value: &ContentReferenceEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for ContentReferenceEvent { fn from(value: ContentReferenceCreated) -> Self { Self(value) @@ -19860,11 +17872,6 @@ pub struct CreateEvent { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&CreateEvent> for CreateEvent { - fn from(value: &CreateEvent) -> Self { - value.clone() - } -} #[doc = "The type of Git ref object created in the repository. Can be either `branch` or `tag`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -19898,11 +17905,6 @@ pub enum CreateEventRefType { #[serde(rename = "branch")] Branch, } -impl ::std::convert::From<&Self> for CreateEventRefType { - fn from(value: &CreateEventRefType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CreateEventRefType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -19927,14 +17929,6 @@ impl ::std::convert::TryFrom<&str> for CreateEventRefType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CreateEventRefType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CreateEventRefType { type Error = self::error::ConversionError; fn try_from( @@ -20011,11 +18005,6 @@ pub struct DeleteEvent { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DeleteEvent> for DeleteEvent { - fn from(value: &DeleteEvent) -> Self { - value.clone() - } -} #[doc = "The type of Git ref object deleted in the repository. Can be either `branch` or `tag`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -20049,11 +18038,6 @@ pub enum DeleteEventRefType { #[serde(rename = "branch")] Branch, } -impl ::std::convert::From<&Self> for DeleteEventRefType { - fn from(value: &DeleteEventRefType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DeleteEventRefType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -20078,14 +18062,6 @@ impl ::std::convert::TryFrom<&str> for DeleteEventRefType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DeleteEventRefType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DeleteEventRefType { type Error = self::error::ConversionError; fn try_from( @@ -20183,11 +18159,6 @@ pub struct DeployKeyCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DeployKeyCreated> for DeployKeyCreated { - fn from(value: &DeployKeyCreated) -> Self { - value.clone() - } -} #[doc = "`DeployKeyCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -20217,11 +18188,6 @@ pub enum DeployKeyCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for DeployKeyCreatedAction { - fn from(value: &DeployKeyCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DeployKeyCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -20244,14 +18210,6 @@ impl ::std::convert::TryFrom<&str> for DeployKeyCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DeployKeyCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DeployKeyCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -20316,11 +18274,6 @@ pub struct DeployKeyCreatedKey { pub url: ::std::string::String, pub verified: bool, } -impl ::std::convert::From<&DeployKeyCreatedKey> for DeployKeyCreatedKey { - fn from(value: &DeployKeyCreatedKey) -> Self { - value.clone() - } -} #[doc = "`DeployKeyDeleted`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -20410,11 +18363,6 @@ pub struct DeployKeyDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DeployKeyDeleted> for DeployKeyDeleted { - fn from(value: &DeployKeyDeleted) -> Self { - value.clone() - } -} #[doc = "`DeployKeyDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -20444,11 +18392,6 @@ pub enum DeployKeyDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for DeployKeyDeletedAction { - fn from(value: &DeployKeyDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DeployKeyDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -20471,14 +18414,6 @@ impl ::std::convert::TryFrom<&str> for DeployKeyDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DeployKeyDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DeployKeyDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -20543,11 +18478,6 @@ pub struct DeployKeyDeletedKey { pub url: ::std::string::String, pub verified: bool, } -impl ::std::convert::From<&DeployKeyDeletedKey> for DeployKeyDeletedKey { - fn from(value: &DeployKeyDeletedKey) -> Self { - value.clone() - } -} #[doc = "`DeployKeyEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -20571,11 +18501,6 @@ pub enum DeployKeyEvent { Created(DeployKeyCreated), Deleted(DeployKeyDeleted), } -impl ::std::convert::From<&Self> for DeployKeyEvent { - fn from(value: &DeployKeyEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for DeployKeyEvent { fn from(value: DeployKeyCreated) -> Self { Self::Created(value) @@ -20730,11 +18655,6 @@ pub struct DeploymentCreated { pub workflow: (), pub workflow_run: (), } -impl ::std::convert::From<&DeploymentCreated> for DeploymentCreated { - fn from(value: &DeploymentCreated) -> Self { - value.clone() - } -} #[doc = "`DeploymentCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -20764,11 +18684,6 @@ pub enum DeploymentCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for DeploymentCreatedAction { - fn from(value: &DeploymentCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DeploymentCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -20791,14 +18706,6 @@ impl ::std::convert::TryFrom<&str> for DeploymentCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DeploymentCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DeploymentCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -20919,11 +18826,6 @@ pub struct DeploymentCreatedDeployment { pub updated_at: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&DeploymentCreatedDeployment> for DeploymentCreatedDeployment { - fn from(value: &DeploymentCreatedDeployment) -> Self { - value.clone() - } -} #[doc = "`DeploymentCreatedDeploymentPayload`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -20938,13 +18840,6 @@ impl ::std::convert::From<&DeploymentCreatedDeployment> for DeploymentCreatedDep #[derive(:: serde :: Deserialize, :: serde :: Serialize, Clone, Debug)] #[serde(deny_unknown_fields)] pub struct DeploymentCreatedDeploymentPayload {} -impl ::std::convert::From<&DeploymentCreatedDeploymentPayload> - for DeploymentCreatedDeploymentPayload -{ - fn from(value: &DeploymentCreatedDeploymentPayload) -> Self { - value.clone() - } -} impl ::std::default::Default for DeploymentCreatedDeploymentPayload { fn default() -> Self { Self {} @@ -20978,11 +18873,6 @@ impl ::std::convert::From for DeploymentCreated { value.0 } } -impl ::std::convert::From<&DeploymentEvent> for DeploymentEvent { - fn from(value: &DeploymentEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for DeploymentEvent { fn from(value: DeploymentCreated) -> Self { Self(value) @@ -21198,11 +19088,6 @@ pub struct DeploymentStatusCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DeploymentStatusCreated> for DeploymentStatusCreated { - fn from(value: &DeploymentStatusCreated) -> Self { - value.clone() - } -} #[doc = "`DeploymentStatusCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -21232,11 +19117,6 @@ pub enum DeploymentStatusCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for DeploymentStatusCreatedAction { - fn from(value: &DeploymentStatusCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DeploymentStatusCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -21259,14 +19139,6 @@ impl ::std::convert::TryFrom<&str> for DeploymentStatusCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DeploymentStatusCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DeploymentStatusCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -21387,13 +19259,6 @@ pub struct DeploymentStatusCreatedDeployment { pub updated_at: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&DeploymentStatusCreatedDeployment> - for DeploymentStatusCreatedDeployment -{ - fn from(value: &DeploymentStatusCreatedDeployment) -> Self { - value.clone() - } -} #[doc = "`DeploymentStatusCreatedDeploymentPayload`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -21408,13 +19273,6 @@ impl ::std::convert::From<&DeploymentStatusCreatedDeployment> #[derive(:: serde :: Deserialize, :: serde :: Serialize, Clone, Debug)] #[serde(deny_unknown_fields)] pub struct DeploymentStatusCreatedDeploymentPayload {} -impl ::std::convert::From<&DeploymentStatusCreatedDeploymentPayload> - for DeploymentStatusCreatedDeploymentPayload -{ - fn from(value: &DeploymentStatusCreatedDeploymentPayload) -> Self { - value.clone() - } -} impl ::std::default::Default for DeploymentStatusCreatedDeploymentPayload { fn default() -> Self { Self {} @@ -21521,13 +19379,6 @@ pub struct DeploymentStatusCreatedDeploymentStatus { pub updated_at: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&DeploymentStatusCreatedDeploymentStatus> - for DeploymentStatusCreatedDeploymentStatus -{ - fn from(value: &DeploymentStatusCreatedDeploymentStatus) -> Self { - value.clone() - } -} #[doc = "`DeploymentStatusEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -21556,11 +19407,6 @@ impl ::std::convert::From for DeploymentStatusCreated { value.0 } } -impl ::std::convert::From<&DeploymentStatusEvent> for DeploymentStatusEvent { - fn from(value: &DeploymentStatusEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for DeploymentStatusEvent { fn from(value: DeploymentStatusCreated) -> Self { Self(value) @@ -21747,11 +19593,6 @@ pub struct Discussion { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&Discussion> for Discussion { - fn from(value: &Discussion) -> Self { - value.clone() - } -} #[doc = "`DiscussionAnswered`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -21908,11 +19749,6 @@ pub struct DiscussionAnswered { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionAnswered> for DiscussionAnswered { - fn from(value: &DiscussionAnswered) -> Self { - value.clone() - } -} #[doc = "`DiscussionAnsweredAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -21942,11 +19778,6 @@ pub enum DiscussionAnsweredAction { #[serde(rename = "answered")] Answered, } -impl ::std::convert::From<&Self> for DiscussionAnsweredAction { - fn from(value: &DiscussionAnsweredAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionAnsweredAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -21969,14 +19800,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionAnsweredAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionAnsweredAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionAnsweredAction { type Error = self::error::ConversionError; fn try_from( @@ -22066,11 +19889,6 @@ pub struct DiscussionAnsweredAnswer { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&DiscussionAnsweredAnswer> for DiscussionAnsweredAnswer { - fn from(value: &DiscussionAnsweredAnswer) -> Self { - value.clone() - } -} #[doc = "`DiscussionAnsweredDiscussion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -22146,11 +19964,6 @@ pub struct DiscussionAnsweredDiscussion { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&DiscussionAnsweredDiscussion> for DiscussionAnsweredDiscussion { - fn from(value: &DiscussionAnsweredDiscussion) -> Self { - value.clone() - } -} #[doc = "`DiscussionAnsweredDiscussionAnswerChosenBy`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -22303,13 +20116,6 @@ pub struct DiscussionAnsweredDiscussionAnswerChosenBy { pub type_: DiscussionAnsweredDiscussionAnswerChosenByType, pub url: ::std::string::String, } -impl ::std::convert::From<&DiscussionAnsweredDiscussionAnswerChosenBy> - for DiscussionAnsweredDiscussionAnswerChosenBy -{ - fn from(value: &DiscussionAnsweredDiscussionAnswerChosenBy) -> Self { - value.clone() - } -} #[doc = "`DiscussionAnsweredDiscussionAnswerChosenByType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -22342,11 +20148,6 @@ pub enum DiscussionAnsweredDiscussionAnswerChosenByType { User, Organization, } -impl ::std::convert::From<&Self> for DiscussionAnsweredDiscussionAnswerChosenByType { - fn from(value: &DiscussionAnsweredDiscussionAnswerChosenByType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionAnsweredDiscussionAnswerChosenByType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -22373,16 +20174,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionAnsweredDiscussionAnswerChosenB value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DiscussionAnsweredDiscussionAnswerChosenByType -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionAnsweredDiscussionAnswerChosenByType { @@ -22461,13 +20252,6 @@ pub struct DiscussionAnsweredDiscussionCategory { pub slug: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&DiscussionAnsweredDiscussionCategory> - for DiscussionAnsweredDiscussionCategory -{ - fn from(value: &DiscussionAnsweredDiscussionCategory) -> Self { - value.clone() - } -} #[doc = "`DiscussionAnsweredDiscussionState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -22503,11 +20287,6 @@ pub enum DiscussionAnsweredDiscussionState { #[serde(rename = "converting")] Converting, } -impl ::std::convert::From<&Self> for DiscussionAnsweredDiscussionState { - fn from(value: &DiscussionAnsweredDiscussionState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionAnsweredDiscussionState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -22534,14 +20313,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionAnsweredDiscussionState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionAnsweredDiscussionState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionAnsweredDiscussionState { type Error = self::error::ConversionError; fn try_from( @@ -22615,11 +20386,6 @@ pub struct DiscussionCategory { pub slug: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&DiscussionCategory> for DiscussionCategory { - fn from(value: &DiscussionCategory) -> Self { - value.clone() - } -} #[doc = "`DiscussionCategoryChanged`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -22739,11 +20505,6 @@ pub struct DiscussionCategoryChanged { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionCategoryChanged> for DiscussionCategoryChanged { - fn from(value: &DiscussionCategoryChanged) -> Self { - value.clone() - } -} #[doc = "`DiscussionCategoryChangedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -22773,11 +20534,6 @@ pub enum DiscussionCategoryChangedAction { #[serde(rename = "category_changed")] CategoryChanged, } -impl ::std::convert::From<&Self> for DiscussionCategoryChangedAction { - fn from(value: &DiscussionCategoryChangedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionCategoryChangedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -22800,14 +20556,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionCategoryChangedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionCategoryChangedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionCategoryChangedAction { type Error = self::error::ConversionError; fn try_from( @@ -22891,11 +20639,6 @@ impl ::std::convert::TryFrom<::std::string::String> for DiscussionCategoryChange pub struct DiscussionCategoryChangedChanges { pub category: DiscussionCategoryChangedChangesCategory, } -impl ::std::convert::From<&DiscussionCategoryChangedChanges> for DiscussionCategoryChangedChanges { - fn from(value: &DiscussionCategoryChangedChanges) -> Self { - value.clone() - } -} #[doc = "`DiscussionCategoryChangedChangesCategory`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -22962,13 +20705,6 @@ impl ::std::convert::From<&DiscussionCategoryChangedChanges> for DiscussionCateg pub struct DiscussionCategoryChangedChangesCategory { pub from: DiscussionCategoryChangedChangesCategoryFrom, } -impl ::std::convert::From<&DiscussionCategoryChangedChangesCategory> - for DiscussionCategoryChangedChangesCategory -{ - fn from(value: &DiscussionCategoryChangedChangesCategory) -> Self { - value.clone() - } -} #[doc = "`DiscussionCategoryChangedChangesCategoryFrom`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23034,13 +20770,6 @@ pub struct DiscussionCategoryChangedChangesCategoryFrom { pub slug: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&DiscussionCategoryChangedChangesCategoryFrom> - for DiscussionCategoryChangedChangesCategoryFrom -{ - fn from(value: &DiscussionCategoryChangedChangesCategoryFrom) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23156,11 +20885,6 @@ pub struct DiscussionCommentCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionCommentCreated> for DiscussionCommentCreated { - fn from(value: &DiscussionCommentCreated) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23190,11 +20914,6 @@ pub enum DiscussionCommentCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for DiscussionCommentCreatedAction { - fn from(value: &DiscussionCommentCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionCommentCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -23217,14 +20936,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionCommentCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionCommentCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionCommentCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -23315,11 +21026,6 @@ pub struct DiscussionCommentCreatedComment { pub updated_at: ::std::string::String, pub user: User, } -impl ::std::convert::From<&DiscussionCommentCreatedComment> for DiscussionCommentCreatedComment { - fn from(value: &DiscussionCommentCreatedComment) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentDeleted`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23435,11 +21141,6 @@ pub struct DiscussionCommentDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionCommentDeleted> for DiscussionCommentDeleted { - fn from(value: &DiscussionCommentDeleted) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23469,11 +21170,6 @@ pub enum DiscussionCommentDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for DiscussionCommentDeletedAction { - fn from(value: &DiscussionCommentDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionCommentDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -23496,14 +21192,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionCommentDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionCommentDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionCommentDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -23594,11 +21282,6 @@ pub struct DiscussionCommentDeletedComment { pub updated_at: ::std::string::String, pub user: User, } -impl ::std::convert::From<&DiscussionCommentDeletedComment> for DiscussionCommentDeletedComment { - fn from(value: &DiscussionCommentDeletedComment) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentEdited`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23737,11 +21420,6 @@ pub struct DiscussionCommentEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionCommentEdited> for DiscussionCommentEdited { - fn from(value: &DiscussionCommentEdited) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23771,11 +21449,6 @@ pub enum DiscussionCommentEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for DiscussionCommentEditedAction { - fn from(value: &DiscussionCommentEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionCommentEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -23798,14 +21471,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionCommentEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionCommentEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionCommentEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -23847,11 +21512,6 @@ impl ::std::convert::TryFrom<::std::string::String> for DiscussionCommentEditedA pub struct DiscussionCommentEditedChanges { pub body: DiscussionCommentEditedChangesBody, } -impl ::std::convert::From<&DiscussionCommentEditedChanges> for DiscussionCommentEditedChanges { - fn from(value: &DiscussionCommentEditedChanges) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentEditedChangesBody`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23876,13 +21536,6 @@ impl ::std::convert::From<&DiscussionCommentEditedChanges> for DiscussionComment pub struct DiscussionCommentEditedChangesBody { pub from: ::std::string::String, } -impl ::std::convert::From<&DiscussionCommentEditedChangesBody> - for DiscussionCommentEditedChangesBody -{ - fn from(value: &DiscussionCommentEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentEditedComment`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23965,11 +21618,6 @@ pub struct DiscussionCommentEditedComment { pub updated_at: ::std::string::String, pub user: User, } -impl ::std::convert::From<&DiscussionCommentEditedComment> for DiscussionCommentEditedComment { - fn from(value: &DiscussionCommentEditedComment) -> Self { - value.clone() - } -} #[doc = "`DiscussionCommentEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23997,11 +21645,6 @@ pub enum DiscussionCommentEvent { Deleted(DiscussionCommentDeleted), Edited(DiscussionCommentEdited), } -impl ::std::convert::From<&Self> for DiscussionCommentEvent { - fn from(value: &DiscussionCommentEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for DiscussionCommentEvent { fn from(value: DiscussionCommentCreated) -> Self { Self::Created(value) @@ -24110,11 +21753,6 @@ pub struct DiscussionCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionCreated> for DiscussionCreated { - fn from(value: &DiscussionCreated) -> Self { - value.clone() - } -} #[doc = "`DiscussionCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -24144,11 +21782,6 @@ pub enum DiscussionCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for DiscussionCreatedAction { - fn from(value: &DiscussionCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24171,14 +21804,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -24259,11 +21884,6 @@ pub struct DiscussionCreatedDiscussion { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&DiscussionCreatedDiscussion> for DiscussionCreatedDiscussion { - fn from(value: &DiscussionCreatedDiscussion) -> Self { - value.clone() - } -} #[doc = "`DiscussionCreatedDiscussionCategory`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -24329,13 +21949,6 @@ pub struct DiscussionCreatedDiscussionCategory { pub slug: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&DiscussionCreatedDiscussionCategory> - for DiscussionCreatedDiscussionCategory -{ - fn from(value: &DiscussionCreatedDiscussionCategory) -> Self { - value.clone() - } -} #[doc = "`DiscussionCreatedDiscussionState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -24368,11 +21981,6 @@ pub enum DiscussionCreatedDiscussionState { #[serde(rename = "converting")] Converting, } -impl ::std::convert::From<&Self> for DiscussionCreatedDiscussionState { - fn from(value: &DiscussionCreatedDiscussionState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionCreatedDiscussionState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24397,14 +22005,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionCreatedDiscussionState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionCreatedDiscussionState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionCreatedDiscussionState { type Error = self::error::ConversionError; fn try_from( @@ -24467,11 +22067,6 @@ pub struct DiscussionDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionDeleted> for DiscussionDeleted { - fn from(value: &DiscussionDeleted) -> Self { - value.clone() - } -} #[doc = "`DiscussionDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -24501,11 +22096,6 @@ pub enum DiscussionDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for DiscussionDeletedAction { - fn from(value: &DiscussionDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24528,14 +22118,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -24630,11 +22212,6 @@ pub struct DiscussionEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionEdited> for DiscussionEdited { - fn from(value: &DiscussionEdited) -> Self { - value.clone() - } -} #[doc = "`DiscussionEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -24664,11 +22241,6 @@ pub enum DiscussionEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for DiscussionEditedAction { - fn from(value: &DiscussionEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24691,14 +22263,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -24752,11 +22316,6 @@ pub struct DiscussionEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option, } -impl ::std::convert::From<&DiscussionEditedChanges> for DiscussionEditedChanges { - fn from(value: &DiscussionEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for DiscussionEditedChanges { fn default() -> Self { Self { @@ -24789,11 +22348,6 @@ impl ::std::default::Default for DiscussionEditedChanges { pub struct DiscussionEditedChangesBody { pub from: ::std::string::String, } -impl ::std::convert::From<&DiscussionEditedChangesBody> for DiscussionEditedChangesBody { - fn from(value: &DiscussionEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "`DiscussionEditedChangesTitle`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -24818,11 +22372,6 @@ impl ::std::convert::From<&DiscussionEditedChangesBody> for DiscussionEditedChan pub struct DiscussionEditedChangesTitle { pub from: ::std::string::String, } -impl ::std::convert::From<&DiscussionEditedChangesTitle> for DiscussionEditedChangesTitle { - fn from(value: &DiscussionEditedChangesTitle) -> Self { - value.clone() - } -} #[doc = "`DiscussionEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -24890,11 +22439,6 @@ pub enum DiscussionEvent { Unlocked(DiscussionUnlocked), Unpinned(DiscussionUnpinned), } -impl ::std::convert::From<&Self> for DiscussionEvent { - fn from(value: &DiscussionEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for DiscussionEvent { fn from(value: DiscussionAnswered) -> Self { Self::Answered(value) @@ -25019,11 +22563,6 @@ pub struct DiscussionLabeled { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionLabeled> for DiscussionLabeled { - fn from(value: &DiscussionLabeled) -> Self { - value.clone() - } -} #[doc = "`DiscussionLabeledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -25053,11 +22592,6 @@ pub enum DiscussionLabeledAction { #[serde(rename = "labeled")] Labeled, } -impl ::std::convert::From<&Self> for DiscussionLabeledAction { - fn from(value: &DiscussionLabeledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionLabeledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25080,14 +22614,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionLabeledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionLabeledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionLabeledAction { type Error = self::error::ConversionError; fn try_from( @@ -25176,11 +22702,6 @@ pub struct DiscussionLocked { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionLocked> for DiscussionLocked { - fn from(value: &DiscussionLocked) -> Self { - value.clone() - } -} #[doc = "`DiscussionLockedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -25210,11 +22731,6 @@ pub enum DiscussionLockedAction { #[serde(rename = "locked")] Locked, } -impl ::std::convert::From<&Self> for DiscussionLockedAction { - fn from(value: &DiscussionLockedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionLockedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25237,14 +22753,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionLockedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionLockedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionLockedAction { type Error = self::error::ConversionError; fn try_from( @@ -25312,11 +22820,6 @@ pub struct DiscussionLockedDiscussion { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&DiscussionLockedDiscussion> for DiscussionLockedDiscussion { - fn from(value: &DiscussionLockedDiscussion) -> Self { - value.clone() - } -} #[doc = "`DiscussionLockedDiscussionCategory`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -25382,13 +22885,6 @@ pub struct DiscussionLockedDiscussionCategory { pub slug: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&DiscussionLockedDiscussionCategory> - for DiscussionLockedDiscussionCategory -{ - fn from(value: &DiscussionLockedDiscussionCategory) -> Self { - value.clone() - } -} #[doc = "`DiscussionLockedDiscussionState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -25418,11 +22914,6 @@ pub enum DiscussionLockedDiscussionState { #[serde(rename = "locked")] Locked, } -impl ::std::convert::From<&Self> for DiscussionLockedDiscussionState { - fn from(value: &DiscussionLockedDiscussionState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionLockedDiscussionState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25445,14 +22936,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionLockedDiscussionState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionLockedDiscussionState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionLockedDiscussionState { type Error = self::error::ConversionError; fn try_from( @@ -25515,11 +22998,6 @@ pub struct DiscussionPinned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionPinned> for DiscussionPinned { - fn from(value: &DiscussionPinned) -> Self { - value.clone() - } -} #[doc = "`DiscussionPinnedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -25549,11 +23027,6 @@ pub enum DiscussionPinnedAction { #[serde(rename = "pinned")] Pinned, } -impl ::std::convert::From<&Self> for DiscussionPinnedAction { - fn from(value: &DiscussionPinnedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionPinnedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25576,14 +23049,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionPinnedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionPinnedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionPinnedAction { type Error = self::error::ConversionError; fn try_from( @@ -25627,11 +23092,6 @@ pub enum DiscussionState { #[serde(rename = "converting")] Converting, } -impl ::std::convert::From<&Self> for DiscussionState { - fn from(value: &DiscussionState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25658,14 +23118,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionState { type Error = self::error::ConversionError; fn try_from( @@ -25746,11 +23198,6 @@ pub struct DiscussionTransferred { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionTransferred> for DiscussionTransferred { - fn from(value: &DiscussionTransferred) -> Self { - value.clone() - } -} #[doc = "`DiscussionTransferredAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -25780,11 +23227,6 @@ pub enum DiscussionTransferredAction { #[serde(rename = "transferred")] Transferred, } -impl ::std::convert::From<&Self> for DiscussionTransferredAction { - fn from(value: &DiscussionTransferredAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionTransferredAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25807,14 +23249,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionTransferredAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionTransferredAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionTransferredAction { type Error = self::error::ConversionError; fn try_from( @@ -25852,11 +23286,6 @@ pub struct DiscussionTransferredChanges { pub new_discussion: Discussion, pub new_repository: Repository, } -impl ::std::convert::From<&DiscussionTransferredChanges> for DiscussionTransferredChanges { - fn from(value: &DiscussionTransferredChanges) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnanswered`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26011,11 +23440,6 @@ pub struct DiscussionUnanswered { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionUnanswered> for DiscussionUnanswered { - fn from(value: &DiscussionUnanswered) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnansweredAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26045,11 +23469,6 @@ pub enum DiscussionUnansweredAction { #[serde(rename = "unanswered")] Unanswered, } -impl ::std::convert::From<&Self> for DiscussionUnansweredAction { - fn from(value: &DiscussionUnansweredAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionUnansweredAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26072,14 +23491,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionUnansweredAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionUnansweredAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionUnansweredAction { type Error = self::error::ConversionError; fn try_from( @@ -26161,11 +23572,6 @@ pub struct DiscussionUnansweredDiscussion { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&DiscussionUnansweredDiscussion> for DiscussionUnansweredDiscussion { - fn from(value: &DiscussionUnansweredDiscussion) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnansweredDiscussionCategory`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26234,13 +23640,6 @@ pub struct DiscussionUnansweredDiscussionCategory { pub slug: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&DiscussionUnansweredDiscussionCategory> - for DiscussionUnansweredDiscussionCategory -{ - fn from(value: &DiscussionUnansweredDiscussionCategory) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnansweredDiscussionState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26276,11 +23675,6 @@ pub enum DiscussionUnansweredDiscussionState { #[serde(rename = "converting")] Converting, } -impl ::std::convert::From<&Self> for DiscussionUnansweredDiscussionState { - fn from(value: &DiscussionUnansweredDiscussionState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionUnansweredDiscussionState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26307,14 +23701,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionUnansweredDiscussionState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionUnansweredDiscussionState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionUnansweredDiscussionState { type Error = self::error::ConversionError; fn try_from( @@ -26404,11 +23790,6 @@ pub struct DiscussionUnansweredOldAnswer { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&DiscussionUnansweredOldAnswer> for DiscussionUnansweredOldAnswer { - fn from(value: &DiscussionUnansweredOldAnswer) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnlabeled`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26468,11 +23849,6 @@ pub struct DiscussionUnlabeled { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionUnlabeled> for DiscussionUnlabeled { - fn from(value: &DiscussionUnlabeled) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnlabeledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26502,11 +23878,6 @@ pub enum DiscussionUnlabeledAction { #[serde(rename = "unlabeled")] Unlabeled, } -impl ::std::convert::From<&Self> for DiscussionUnlabeledAction { - fn from(value: &DiscussionUnlabeledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionUnlabeledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26529,14 +23900,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionUnlabeledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionUnlabeledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionUnlabeledAction { type Error = self::error::ConversionError; fn try_from( @@ -26625,11 +23988,6 @@ pub struct DiscussionUnlocked { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionUnlocked> for DiscussionUnlocked { - fn from(value: &DiscussionUnlocked) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnlockedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26659,11 +24017,6 @@ pub enum DiscussionUnlockedAction { #[serde(rename = "unlocked")] Unlocked, } -impl ::std::convert::From<&Self> for DiscussionUnlockedAction { - fn from(value: &DiscussionUnlockedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionUnlockedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26686,14 +24039,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionUnlockedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionUnlockedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionUnlockedAction { type Error = self::error::ConversionError; fn try_from( @@ -26761,11 +24106,6 @@ pub struct DiscussionUnlockedDiscussion { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&DiscussionUnlockedDiscussion> for DiscussionUnlockedDiscussion { - fn from(value: &DiscussionUnlockedDiscussion) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnlockedDiscussionCategory`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26831,13 +24171,6 @@ pub struct DiscussionUnlockedDiscussionCategory { pub slug: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&DiscussionUnlockedDiscussionCategory> - for DiscussionUnlockedDiscussionCategory -{ - fn from(value: &DiscussionUnlockedDiscussionCategory) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnlockedDiscussionState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26867,11 +24200,6 @@ pub enum DiscussionUnlockedDiscussionState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for DiscussionUnlockedDiscussionState { - fn from(value: &DiscussionUnlockedDiscussionState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionUnlockedDiscussionState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26894,14 +24222,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionUnlockedDiscussionState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionUnlockedDiscussionState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionUnlockedDiscussionState { type Error = self::error::ConversionError; fn try_from( @@ -26964,11 +24284,6 @@ pub struct DiscussionUnpinned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&DiscussionUnpinned> for DiscussionUnpinned { - fn from(value: &DiscussionUnpinned) -> Self { - value.clone() - } -} #[doc = "`DiscussionUnpinnedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26998,11 +24313,6 @@ pub enum DiscussionUnpinnedAction { #[serde(rename = "unpinned")] Unpinned, } -impl ::std::convert::From<&Self> for DiscussionUnpinnedAction { - fn from(value: &DiscussionUnpinnedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DiscussionUnpinnedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -27025,14 +24335,6 @@ impl ::std::convert::TryFrom<&str> for DiscussionUnpinnedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DiscussionUnpinnedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DiscussionUnpinnedAction { type Error = self::error::ConversionError; fn try_from( @@ -27277,11 +24579,6 @@ pub enum Everything { WorkflowJobEvent(WorkflowJobEvent), WorkflowRunEvent(WorkflowRunEvent), } -impl ::std::convert::From<&Self> for Everything { - fn from(value: &Everything) -> Self { - value.clone() - } -} impl ::std::convert::From for Everything { fn from(value: BranchProtectionRuleEvent) -> Self { Self::BranchProtectionRuleEvent(value) @@ -27620,11 +24917,6 @@ pub struct ForkEvent { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ForkEvent> for ForkEvent { - fn from(value: &ForkEvent) -> Self { - value.clone() - } -} #[doc = "The created [`repository`](https://docs.github.com/en/rest/reference/repos#get-a-repository) resource."] #[doc = r""] #[doc = r"
JSON schema"] @@ -27767,11 +25059,6 @@ pub struct ForkEventForkee { pub watchers: i64, pub watchers_count: i64, } -impl ::std::convert::From<&ForkEventForkee> for ForkEventForkee { - fn from(value: &ForkEventForkee) -> Self { - value.clone() - } -} #[doc = "`ForkEventForkeeCreatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -27796,11 +25083,6 @@ pub enum ForkEventForkeeCreatedAt { Integer(i64), DateTime(::chrono::DateTime<::chrono::offset::Utc>), } -impl ::std::convert::From<&Self> for ForkEventForkeeCreatedAt { - fn from(value: &ForkEventForkeeCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for ForkEventForkeeCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -27819,14 +25101,6 @@ impl ::std::convert::TryFrom<&str> for ForkEventForkeeCreatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ForkEventForkeeCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ForkEventForkeeCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -27897,11 +25171,6 @@ pub struct ForkEventForkeePermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub triage: ::std::option::Option, } -impl ::std::convert::From<&ForkEventForkeePermissions> for ForkEventForkeePermissions { - fn from(value: &ForkEventForkeePermissions) -> Self { - value.clone() - } -} #[doc = "`ForkEventForkeePushedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -27930,11 +25199,6 @@ pub enum ForkEventForkeePushedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Null, } -impl ::std::convert::From<&Self> for ForkEventForkeePushedAt { - fn from(value: &ForkEventForkeePushedAt) -> Self { - value.clone() - } -} impl ::std::convert::From for ForkEventForkeePushedAt { fn from(value: i64) -> Self { Self::Integer(value) @@ -27973,11 +25237,6 @@ impl ::std::convert::From for GithubAppAuthorizatio value.0 } } -impl ::std::convert::From<&GithubAppAuthorizationEvent> for GithubAppAuthorizationEvent { - fn from(value: &GithubAppAuthorizationEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for GithubAppAuthorizationEvent { fn from(value: GithubAppAuthorizationRevoked) -> Self { Self(value) @@ -28017,11 +25276,6 @@ pub struct GithubAppAuthorizationRevoked { pub action: GithubAppAuthorizationRevokedAction, pub sender: User, } -impl ::std::convert::From<&GithubAppAuthorizationRevoked> for GithubAppAuthorizationRevoked { - fn from(value: &GithubAppAuthorizationRevoked) -> Self { - value.clone() - } -} #[doc = "`GithubAppAuthorizationRevokedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -28051,11 +25305,6 @@ pub enum GithubAppAuthorizationRevokedAction { #[serde(rename = "revoked")] Revoked, } -impl ::std::convert::From<&Self> for GithubAppAuthorizationRevokedAction { - fn from(value: &GithubAppAuthorizationRevokedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for GithubAppAuthorizationRevokedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -28078,14 +25327,6 @@ impl ::std::convert::TryFrom<&str> for GithubAppAuthorizationRevokedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for GithubAppAuthorizationRevokedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for GithubAppAuthorizationRevokedAction { type Error = self::error::ConversionError; fn try_from( @@ -28247,11 +25488,6 @@ pub struct GithubOrg { pub type_: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&GithubOrg> for GithubOrg { - fn from(value: &GithubOrg) -> Self { - value.clone() - } -} #[doc = "A wiki page is created or updated."] #[doc = r""] #[doc = r"
JSON schema"] @@ -28343,11 +25579,6 @@ pub struct GollumEvent { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&GollumEvent> for GollumEvent { - fn from(value: &GollumEvent) -> Self { - value.clone() - } -} #[doc = "`GollumEventPagesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -28412,11 +25643,6 @@ pub struct GollumEventPagesItem { #[doc = "The current page title."] pub title: ::std::string::String, } -impl ::std::convert::From<&GollumEventPagesItem> for GollumEventPagesItem { - fn from(value: &GollumEventPagesItem) -> Self { - value.clone() - } -} #[doc = "The action that was performed on the page. Can be `created` or `edited`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -28450,11 +25676,6 @@ pub enum GollumEventPagesItemAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for GollumEventPagesItemAction { - fn from(value: &GollumEventPagesItemAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for GollumEventPagesItemAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -28479,14 +25700,6 @@ impl ::std::convert::TryFrom<&str> for GollumEventPagesItemAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for GollumEventPagesItemAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for GollumEventPagesItemAction { type Error = self::error::ConversionError; fn try_from( @@ -28960,11 +26173,6 @@ pub struct Installation { pub target_type: InstallationTargetType, pub updated_at: InstallationUpdatedAt, } -impl ::std::convert::From<&Installation> for Installation { - fn from(value: &Installation) -> Self { - value.clone() - } -} #[doc = "`InstallationCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29047,11 +26255,6 @@ pub struct InstallationCreated { pub requester: ::std::option::Option, pub sender: User, } -impl ::std::convert::From<&InstallationCreated> for InstallationCreated { - fn from(value: &InstallationCreated) -> Self { - value.clone() - } -} #[doc = "`InstallationCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29081,11 +26284,6 @@ pub enum InstallationCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for InstallationCreatedAction { - fn from(value: &InstallationCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -29108,14 +26306,6 @@ impl ::std::convert::TryFrom<&str> for InstallationCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -29148,11 +26338,6 @@ pub enum InstallationCreatedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Integer(i64), } -impl ::std::convert::From<&Self> for InstallationCreatedAt { - fn from(value: &InstallationCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for InstallationCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -29171,14 +26356,6 @@ impl ::std::convert::TryFrom<&str> for InstallationCreatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -29255,13 +26432,6 @@ pub struct InstallationCreatedRepositoriesItem { #[doc = "Whether the repository is private or public."] pub private: bool, } -impl ::std::convert::From<&InstallationCreatedRepositoriesItem> - for InstallationCreatedRepositoriesItem -{ - fn from(value: &InstallationCreatedRepositoriesItem) -> Self { - value.clone() - } -} #[doc = "`InstallationDeleted`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29344,11 +26514,6 @@ pub struct InstallationDeleted { pub requester: (), pub sender: User, } -impl ::std::convert::From<&InstallationDeleted> for InstallationDeleted { - fn from(value: &InstallationDeleted) -> Self { - value.clone() - } -} #[doc = "`InstallationDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29378,11 +26543,6 @@ pub enum InstallationDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for InstallationDeletedAction { - fn from(value: &InstallationDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -29405,14 +26565,6 @@ impl ::std::convert::TryFrom<&str> for InstallationDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -29471,13 +26623,6 @@ pub struct InstallationDeletedRepositoriesItem { #[doc = "Whether the repository is private or public."] pub private: bool, } -impl ::std::convert::From<&InstallationDeletedRepositoriesItem> - for InstallationDeletedRepositoriesItem -{ - fn from(value: &InstallationDeletedRepositoriesItem) -> Self { - value.clone() - } -} #[doc = "`InstallationEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29513,11 +26658,6 @@ pub enum InstallationEvent { Suspend(InstallationSuspend), Unsuspend(InstallationUnsuspend), } -impl ::std::convert::From<&Self> for InstallationEvent { - fn from(value: &InstallationEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for InstallationEvent { fn from(value: InstallationCreated) -> Self { Self::Created(value) @@ -29704,11 +26844,6 @@ pub enum InstallationEventsItem { #[serde(rename = "workflow_run")] WorkflowRun, } -impl ::std::convert::From<&Self> for InstallationEventsItem { - fn from(value: &InstallationEventsItem) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationEventsItem { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -29819,14 +26954,6 @@ impl ::std::convert::TryFrom<&str> for InstallationEventsItem { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationEventsItem { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationEventsItem { type Error = self::error::ConversionError; fn try_from( @@ -29869,11 +26996,6 @@ pub struct InstallationLite { pub id: i64, pub node_id: ::std::string::String, } -impl ::std::convert::From<&InstallationLite> for InstallationLite { - fn from(value: &InstallationLite) -> Self { - value.clone() - } -} #[doc = "`InstallationNewPermissionsAccepted`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29956,13 +27078,6 @@ pub struct InstallationNewPermissionsAccepted { pub requester: (), pub sender: User, } -impl ::std::convert::From<&InstallationNewPermissionsAccepted> - for InstallationNewPermissionsAccepted -{ - fn from(value: &InstallationNewPermissionsAccepted) -> Self { - value.clone() - } -} #[doc = "`InstallationNewPermissionsAcceptedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29992,11 +27107,6 @@ pub enum InstallationNewPermissionsAcceptedAction { #[serde(rename = "new_permissions_accepted")] NewPermissionsAccepted, } -impl ::std::convert::From<&Self> for InstallationNewPermissionsAcceptedAction { - fn from(value: &InstallationNewPermissionsAcceptedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationNewPermissionsAcceptedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30019,14 +27129,6 @@ impl ::std::convert::TryFrom<&str> for InstallationNewPermissionsAcceptedAction value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationNewPermissionsAcceptedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationNewPermissionsAcceptedAction { type Error = self::error::ConversionError; fn try_from( @@ -30085,13 +27187,6 @@ pub struct InstallationNewPermissionsAcceptedRepositoriesItem { #[doc = "Whether the repository is private or public."] pub private: bool, } -impl ::std::convert::From<&InstallationNewPermissionsAcceptedRepositoriesItem> - for InstallationNewPermissionsAcceptedRepositoriesItem -{ - fn from(value: &InstallationNewPermissionsAcceptedRepositoriesItem) -> Self { - value.clone() - } -} #[doc = "`InstallationPermissions`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -30428,11 +27523,6 @@ pub struct InstallationPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub workflows: ::std::option::Option, } -impl ::std::convert::From<&InstallationPermissions> for InstallationPermissions { - fn from(value: &InstallationPermissions) -> Self { - value.clone() - } -} impl ::std::default::Default for InstallationPermissions { fn default() -> Self { Self { @@ -30506,11 +27596,6 @@ pub enum InstallationPermissionsActions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsActions { - fn from(value: &InstallationPermissionsActions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsActions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30535,14 +27620,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsActions { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsActions { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsActions { type Error = self::error::ConversionError; fn try_from( @@ -30583,11 +27660,6 @@ pub enum InstallationPermissionsAdministration { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsAdministration { - fn from(value: &InstallationPermissionsAdministration) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsAdministration { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30612,14 +27684,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsAdministration { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsAdministration { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsAdministration { type Error = self::error::ConversionError; fn try_from( @@ -30660,11 +27724,6 @@ pub enum InstallationPermissionsChecks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsChecks { - fn from(value: &InstallationPermissionsChecks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsChecks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30689,14 +27748,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsChecks { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsChecks { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsChecks { type Error = self::error::ConversionError; fn try_from( @@ -30737,11 +27788,6 @@ pub enum InstallationPermissionsContentReferences { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsContentReferences { - fn from(value: &InstallationPermissionsContentReferences) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsContentReferences { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30766,14 +27812,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsContentReferences value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsContentReferences { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsContentReferences { type Error = self::error::ConversionError; fn try_from( @@ -30814,11 +27852,6 @@ pub enum InstallationPermissionsContents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsContents { - fn from(value: &InstallationPermissionsContents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsContents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30843,14 +27876,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsContents { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsContents { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsContents { type Error = self::error::ConversionError; fn try_from( @@ -30891,11 +27916,6 @@ pub enum InstallationPermissionsDeployments { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsDeployments { - fn from(value: &InstallationPermissionsDeployments) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsDeployments { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30920,14 +27940,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsDeployments { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsDeployments { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsDeployments { type Error = self::error::ConversionError; fn try_from( @@ -30968,11 +27980,6 @@ pub enum InstallationPermissionsDiscussions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsDiscussions { - fn from(value: &InstallationPermissionsDiscussions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsDiscussions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30997,14 +28004,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsDiscussions { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsDiscussions { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsDiscussions { type Error = self::error::ConversionError; fn try_from( @@ -31045,11 +28044,6 @@ pub enum InstallationPermissionsEmails { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsEmails { - fn from(value: &InstallationPermissionsEmails) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsEmails { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31074,14 +28068,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsEmails { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsEmails { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsEmails { type Error = self::error::ConversionError; fn try_from( @@ -31122,11 +28108,6 @@ pub enum InstallationPermissionsEnvironments { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsEnvironments { - fn from(value: &InstallationPermissionsEnvironments) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsEnvironments { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31151,14 +28132,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsEnvironments { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsEnvironments { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsEnvironments { type Error = self::error::ConversionError; fn try_from( @@ -31199,11 +28172,6 @@ pub enum InstallationPermissionsIssues { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsIssues { - fn from(value: &InstallationPermissionsIssues) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsIssues { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31228,14 +28196,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsIssues { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsIssues { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsIssues { type Error = self::error::ConversionError; fn try_from( @@ -31276,11 +28236,6 @@ pub enum InstallationPermissionsMembers { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsMembers { - fn from(value: &InstallationPermissionsMembers) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsMembers { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31305,14 +28260,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsMembers { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsMembers { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsMembers { type Error = self::error::ConversionError; fn try_from( @@ -31353,11 +28300,6 @@ pub enum InstallationPermissionsMetadata { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsMetadata { - fn from(value: &InstallationPermissionsMetadata) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsMetadata { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31382,14 +28324,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsMetadata { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsMetadata { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsMetadata { type Error = self::error::ConversionError; fn try_from( @@ -31430,11 +28364,6 @@ pub enum InstallationPermissionsOrganizationAdministration { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationAdministration { - fn from(value: &InstallationPermissionsOrganizationAdministration) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationAdministration { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31459,16 +28388,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationAdmini value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsOrganizationAdministration -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationAdministration { @@ -31511,11 +28430,6 @@ pub enum InstallationPermissionsOrganizationEvents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationEvents { - fn from(value: &InstallationPermissionsOrganizationEvents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationEvents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31540,14 +28454,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationEvents value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsOrganizationEvents { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationEvents { type Error = self::error::ConversionError; fn try_from( @@ -31588,11 +28494,6 @@ pub enum InstallationPermissionsOrganizationHooks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationHooks { - fn from(value: &InstallationPermissionsOrganizationHooks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationHooks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31617,14 +28518,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationHooks value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsOrganizationHooks { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationHooks { type Error = self::error::ConversionError; fn try_from( @@ -31665,11 +28558,6 @@ pub enum InstallationPermissionsOrganizationPackages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationPackages { - fn from(value: &InstallationPermissionsOrganizationPackages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationPackages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31694,16 +28582,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationPackag value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsOrganizationPackages -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationPackages { @@ -31746,11 +28624,6 @@ pub enum InstallationPermissionsOrganizationPlan { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationPlan { - fn from(value: &InstallationPermissionsOrganizationPlan) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationPlan { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31775,14 +28648,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationPlan { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsOrganizationPlan { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationPlan { type Error = self::error::ConversionError; fn try_from( @@ -31823,11 +28688,6 @@ pub enum InstallationPermissionsOrganizationProjects { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationProjects { - fn from(value: &InstallationPermissionsOrganizationProjects) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationProjects { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31852,16 +28712,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationProjec value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsOrganizationProjects -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationProjects { @@ -31904,11 +28754,6 @@ pub enum InstallationPermissionsOrganizationSecrets { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationSecrets { - fn from(value: &InstallationPermissionsOrganizationSecrets) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationSecrets { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31933,16 +28778,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationSecret value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsOrganizationSecrets -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationSecrets { type Error = self::error::ConversionError; fn try_from( @@ -31983,11 +28818,6 @@ pub enum InstallationPermissionsOrganizationSelfHostedRunners { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationSelfHostedRunners { - fn from(value: &InstallationPermissionsOrganizationSelfHostedRunners) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationSelfHostedRunners { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32012,16 +28842,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationSelfHo value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsOrganizationSelfHostedRunners -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationSelfHostedRunners { @@ -32064,11 +28884,6 @@ pub enum InstallationPermissionsOrganizationUserBlocking { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsOrganizationUserBlocking { - fn from(value: &InstallationPermissionsOrganizationUserBlocking) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsOrganizationUserBlocking { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32093,16 +28908,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsOrganizationUserBl value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsOrganizationUserBlocking -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsOrganizationUserBlocking { @@ -32145,11 +28950,6 @@ pub enum InstallationPermissionsPackages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsPackages { - fn from(value: &InstallationPermissionsPackages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsPackages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32174,14 +28974,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsPackages { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsPackages { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsPackages { type Error = self::error::ConversionError; fn try_from( @@ -32222,11 +29014,6 @@ pub enum InstallationPermissionsPages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsPages { - fn from(value: &InstallationPermissionsPages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsPages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32251,14 +29038,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsPages { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsPages { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsPages { type Error = self::error::ConversionError; fn try_from( @@ -32299,11 +29078,6 @@ pub enum InstallationPermissionsPullRequests { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsPullRequests { - fn from(value: &InstallationPermissionsPullRequests) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsPullRequests { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32328,14 +29102,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsPullRequests { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsPullRequests { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsPullRequests { type Error = self::error::ConversionError; fn try_from( @@ -32376,11 +29142,6 @@ pub enum InstallationPermissionsRepositoryHooks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsRepositoryHooks { - fn from(value: &InstallationPermissionsRepositoryHooks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsRepositoryHooks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32405,14 +29166,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsRepositoryHooks { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsRepositoryHooks { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsRepositoryHooks { type Error = self::error::ConversionError; fn try_from( @@ -32453,11 +29206,6 @@ pub enum InstallationPermissionsRepositoryProjects { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsRepositoryProjects { - fn from(value: &InstallationPermissionsRepositoryProjects) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsRepositoryProjects { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32482,14 +29230,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsRepositoryProjects value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsRepositoryProjects { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsRepositoryProjects { type Error = self::error::ConversionError; fn try_from( @@ -32530,11 +29270,6 @@ pub enum InstallationPermissionsSecretScanningAlerts { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsSecretScanningAlerts { - fn from(value: &InstallationPermissionsSecretScanningAlerts) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsSecretScanningAlerts { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32559,16 +29294,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsSecretScanningAler value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsSecretScanningAlerts -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsSecretScanningAlerts { @@ -32611,11 +29336,6 @@ pub enum InstallationPermissionsSecrets { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsSecrets { - fn from(value: &InstallationPermissionsSecrets) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsSecrets { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32640,14 +29360,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsSecrets { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsSecrets { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsSecrets { type Error = self::error::ConversionError; fn try_from( @@ -32688,11 +29400,6 @@ pub enum InstallationPermissionsSecurityEvents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsSecurityEvents { - fn from(value: &InstallationPermissionsSecurityEvents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsSecurityEvents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32717,14 +29424,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsSecurityEvents { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsSecurityEvents { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsSecurityEvents { type Error = self::error::ConversionError; fn try_from( @@ -32765,11 +29464,6 @@ pub enum InstallationPermissionsSecurityScanningAlert { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsSecurityScanningAlert { - fn from(value: &InstallationPermissionsSecurityScanningAlert) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsSecurityScanningAlert { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32794,16 +29488,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsSecurityScanningAl value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsSecurityScanningAlert -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsSecurityScanningAlert { @@ -32846,11 +29530,6 @@ pub enum InstallationPermissionsSingleFile { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsSingleFile { - fn from(value: &InstallationPermissionsSingleFile) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsSingleFile { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32875,14 +29554,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsSingleFile { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsSingleFile { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsSingleFile { type Error = self::error::ConversionError; fn try_from( @@ -32923,11 +29594,6 @@ pub enum InstallationPermissionsStatuses { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsStatuses { - fn from(value: &InstallationPermissionsStatuses) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsStatuses { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32952,14 +29618,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsStatuses { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsStatuses { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsStatuses { type Error = self::error::ConversionError; fn try_from( @@ -33000,11 +29658,6 @@ pub enum InstallationPermissionsTeamDiscussions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsTeamDiscussions { - fn from(value: &InstallationPermissionsTeamDiscussions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsTeamDiscussions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -33029,14 +29682,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsTeamDiscussions { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsTeamDiscussions { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsTeamDiscussions { type Error = self::error::ConversionError; fn try_from( @@ -33077,11 +29722,6 @@ pub enum InstallationPermissionsVulnerabilityAlerts { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsVulnerabilityAlerts { - fn from(value: &InstallationPermissionsVulnerabilityAlerts) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsVulnerabilityAlerts { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -33106,16 +29746,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsVulnerabilityAlert value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationPermissionsVulnerabilityAlerts -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsVulnerabilityAlerts { type Error = self::error::ConversionError; fn try_from( @@ -33156,11 +29786,6 @@ pub enum InstallationPermissionsWorkflows { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationPermissionsWorkflows { - fn from(value: &InstallationPermissionsWorkflows) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationPermissionsWorkflows { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -33185,14 +29810,6 @@ impl ::std::convert::TryFrom<&str> for InstallationPermissionsWorkflows { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationPermissionsWorkflows { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationPermissionsWorkflows { type Error = self::error::ConversionError; fn try_from( @@ -33333,11 +29950,6 @@ pub struct InstallationRepositoriesAdded { pub requester: ::std::option::Option, pub sender: User, } -impl ::std::convert::From<&InstallationRepositoriesAdded> for InstallationRepositoriesAdded { - fn from(value: &InstallationRepositoriesAdded) -> Self { - value.clone() - } -} #[doc = "`InstallationRepositoriesAddedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -33367,11 +29979,6 @@ pub enum InstallationRepositoriesAddedAction { #[serde(rename = "added")] Added, } -impl ::std::convert::From<&Self> for InstallationRepositoriesAddedAction { - fn from(value: &InstallationRepositoriesAddedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationRepositoriesAddedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -33394,14 +30001,6 @@ impl ::std::convert::TryFrom<&str> for InstallationRepositoriesAddedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationRepositoriesAddedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationRepositoriesAddedAction { type Error = self::error::ConversionError; fn try_from( @@ -33460,13 +30059,6 @@ pub struct InstallationRepositoriesAddedRepositoriesAddedItem { #[doc = "Whether the repository is private or public."] pub private: bool, } -impl ::std::convert::From<&InstallationRepositoriesAddedRepositoriesAddedItem> - for InstallationRepositoriesAddedRepositoriesAddedItem -{ - fn from(value: &InstallationRepositoriesAddedRepositoriesAddedItem) -> Self { - value.clone() - } -} #[doc = "`InstallationRepositoriesAddedRepositoriesRemovedItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -33515,13 +30107,6 @@ pub struct InstallationRepositoriesAddedRepositoriesRemovedItem { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub private: ::std::option::Option, } -impl ::std::convert::From<&InstallationRepositoriesAddedRepositoriesRemovedItem> - for InstallationRepositoriesAddedRepositoriesRemovedItem -{ - fn from(value: &InstallationRepositoriesAddedRepositoriesRemovedItem) -> Self { - value.clone() - } -} impl ::std::default::Default for InstallationRepositoriesAddedRepositoriesRemovedItem { fn default() -> Self { Self { @@ -33566,11 +30151,6 @@ pub enum InstallationRepositoriesAddedRepositorySelection { #[serde(rename = "selected")] Selected, } -impl ::std::convert::From<&Self> for InstallationRepositoriesAddedRepositorySelection { - fn from(value: &InstallationRepositoriesAddedRepositorySelection) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationRepositoriesAddedRepositorySelection { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -33595,16 +30175,6 @@ impl ::std::convert::TryFrom<&str> for InstallationRepositoriesAddedRepositorySe value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationRepositoriesAddedRepositorySelection -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationRepositoriesAddedRepositorySelection { @@ -33638,11 +30208,6 @@ pub enum InstallationRepositoriesEvent { Added(InstallationRepositoriesAdded), Removed(InstallationRepositoriesRemoved), } -impl ::std::convert::From<&Self> for InstallationRepositoriesEvent { - fn from(value: &InstallationRepositoriesEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for InstallationRepositoriesEvent { fn from(value: InstallationRepositoriesAdded) -> Self { Self::Added(value) @@ -33793,11 +30358,6 @@ pub struct InstallationRepositoriesRemoved { pub requester: ::std::option::Option, pub sender: User, } -impl ::std::convert::From<&InstallationRepositoriesRemoved> for InstallationRepositoriesRemoved { - fn from(value: &InstallationRepositoriesRemoved) -> Self { - value.clone() - } -} #[doc = "`InstallationRepositoriesRemovedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -33827,11 +30387,6 @@ pub enum InstallationRepositoriesRemovedAction { #[serde(rename = "removed")] Removed, } -impl ::std::convert::From<&Self> for InstallationRepositoriesRemovedAction { - fn from(value: &InstallationRepositoriesRemovedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationRepositoriesRemovedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -33854,14 +30409,6 @@ impl ::std::convert::TryFrom<&str> for InstallationRepositoriesRemovedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationRepositoriesRemovedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationRepositoriesRemovedAction { type Error = self::error::ConversionError; fn try_from( @@ -33920,13 +30467,6 @@ pub struct InstallationRepositoriesRemovedRepositoriesAddedItem { #[doc = "Whether the repository is private or public."] pub private: bool, } -impl ::std::convert::From<&InstallationRepositoriesRemovedRepositoriesAddedItem> - for InstallationRepositoriesRemovedRepositoriesAddedItem -{ - fn from(value: &InstallationRepositoriesRemovedRepositoriesAddedItem) -> Self { - value.clone() - } -} #[doc = "`InstallationRepositoriesRemovedRepositoriesRemovedItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -33977,13 +30517,6 @@ pub struct InstallationRepositoriesRemovedRepositoriesRemovedItem { #[doc = "Whether the repository is private or public."] pub private: bool, } -impl ::std::convert::From<&InstallationRepositoriesRemovedRepositoriesRemovedItem> - for InstallationRepositoriesRemovedRepositoriesRemovedItem -{ - fn from(value: &InstallationRepositoriesRemovedRepositoriesRemovedItem) -> Self { - value.clone() - } -} #[doc = "Describe whether all repositories have been selected or there's a selection involved"] #[doc = r""] #[doc = r"
JSON schema"] @@ -34017,11 +30550,6 @@ pub enum InstallationRepositoriesRemovedRepositorySelection { #[serde(rename = "selected")] Selected, } -impl ::std::convert::From<&Self> for InstallationRepositoriesRemovedRepositorySelection { - fn from(value: &InstallationRepositoriesRemovedRepositorySelection) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationRepositoriesRemovedRepositorySelection { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -34046,16 +30574,6 @@ impl ::std::convert::TryFrom<&str> for InstallationRepositoriesRemovedRepository value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationRepositoriesRemovedRepositorySelection -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationRepositoriesRemovedRepositorySelection { @@ -34099,11 +30617,6 @@ pub enum InstallationRepositorySelection { #[serde(rename = "selected")] Selected, } -impl ::std::convert::From<&Self> for InstallationRepositorySelection { - fn from(value: &InstallationRepositorySelection) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationRepositorySelection { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -34128,14 +30641,6 @@ impl ::std::convert::TryFrom<&str> for InstallationRepositorySelection { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationRepositorySelection { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationRepositorySelection { type Error = self::error::ConversionError; fn try_from( @@ -34247,11 +30752,6 @@ pub struct InstallationSuspend { pub requester: (), pub sender: User, } -impl ::std::convert::From<&InstallationSuspend> for InstallationSuspend { - fn from(value: &InstallationSuspend) -> Self { - value.clone() - } -} #[doc = "`InstallationSuspendAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -34281,11 +30781,6 @@ pub enum InstallationSuspendAction { #[serde(rename = "suspend")] Suspend, } -impl ::std::convert::From<&Self> for InstallationSuspendAction { - fn from(value: &InstallationSuspendAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -34308,14 +30803,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationSuspendAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendAction { type Error = self::error::ConversionError; fn try_from( @@ -34384,11 +30871,6 @@ pub struct InstallationSuspendInstallation { pub target_type: InstallationSuspendInstallationTargetType, pub updated_at: InstallationSuspendInstallationUpdatedAt, } -impl ::std::convert::From<&InstallationSuspendInstallation> for InstallationSuspendInstallation { - fn from(value: &InstallationSuspendInstallation) -> Self { - value.clone() - } -} #[doc = "`InstallationSuspendInstallationCreatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -34413,11 +30895,6 @@ pub enum InstallationSuspendInstallationCreatedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Integer(i64), } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationCreatedAt { - fn from(value: &InstallationSuspendInstallationCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for InstallationSuspendInstallationCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -34436,14 +30913,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationCreatedAt value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationSuspendInstallationCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -34633,11 +31102,6 @@ pub enum InstallationSuspendInstallationEventsItem { #[serde(rename = "workflow_run")] WorkflowRun, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationEventsItem { - fn from(value: &InstallationSuspendInstallationEventsItem) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationEventsItem { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -34748,14 +31212,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationEventsItem value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationSuspendInstallationEventsItem { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationEventsItem { type Error = self::error::ConversionError; fn try_from( @@ -35116,13 +31572,6 @@ pub struct InstallationSuspendInstallationPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub workflows: ::std::option::Option, } -impl ::std::convert::From<&InstallationSuspendInstallationPermissions> - for InstallationSuspendInstallationPermissions -{ - fn from(value: &InstallationSuspendInstallationPermissions) -> Self { - value.clone() - } -} impl ::std::default::Default for InstallationSuspendInstallationPermissions { fn default() -> Self { Self { @@ -35196,11 +31645,6 @@ pub enum InstallationSuspendInstallationPermissionsActions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsActions { - fn from(value: &InstallationSuspendInstallationPermissionsActions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsActions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35225,16 +31669,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsActions -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsActions { @@ -35277,11 +31711,6 @@ pub enum InstallationSuspendInstallationPermissionsAdministration { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsAdministration { - fn from(value: &InstallationSuspendInstallationPermissionsAdministration) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsAdministration { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35306,18 +31735,74 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> +impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsAdministration { type Error = self::error::ConversionError; fn try_from( - value: &::std::string::String, + value: ::std::string::String, ) -> ::std::result::Result { value.parse() } } +#[doc = "`InstallationSuspendInstallationPermissionsChecks`"] +#[doc = r""] +#[doc = r"
JSON schema"] +#[doc = r""] +#[doc = r" ```json"] +#[doc = "{"] +#[doc = " \"type\": \"string\","] +#[doc = " \"enum\": ["] +#[doc = " \"read\","] +#[doc = " \"write\""] +#[doc = " ]"] +#[doc = "}"] +#[doc = r" ```"] +#[doc = r"
"] +#[derive( + :: serde :: Deserialize, + :: serde :: Serialize, + Clone, + Copy, + Debug, + Eq, + Hash, + Ord, + PartialEq, + PartialOrd, +)] +pub enum InstallationSuspendInstallationPermissionsChecks { + #[serde(rename = "read")] + Read, + #[serde(rename = "write")] + Write, +} +impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsChecks { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + match *self { + Self::Read => f.write_str("read"), + Self::Write => f.write_str("write"), + } + } +} +impl ::std::str::FromStr for InstallationSuspendInstallationPermissionsChecks { + type Err = self::error::ConversionError; + fn from_str(value: &str) -> ::std::result::Result { + match value { + "read" => Ok(Self::Read), + "write" => Ok(Self::Write), + _ => Err("invalid value".into()), + } + } +} +impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermissionsChecks { + type Error = self::error::ConversionError; + fn try_from(value: &str) -> ::std::result::Result { + value.parse() + } +} impl ::std::convert::TryFrom<::std::string::String> - for InstallationSuspendInstallationPermissionsAdministration + for InstallationSuspendInstallationPermissionsChecks { type Error = self::error::ConversionError; fn try_from( @@ -35326,88 +31811,7 @@ impl ::std::convert::TryFrom<::std::string::String> value.parse() } } -#[doc = "`InstallationSuspendInstallationPermissionsChecks`"] -#[doc = r""] -#[doc = r"
JSON schema"] -#[doc = r""] -#[doc = r" ```json"] -#[doc = "{"] -#[doc = " \"type\": \"string\","] -#[doc = " \"enum\": ["] -#[doc = " \"read\","] -#[doc = " \"write\""] -#[doc = " ]"] -#[doc = "}"] -#[doc = r" ```"] -#[doc = r"
"] -#[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - Clone, - Copy, - Debug, - Eq, - Hash, - Ord, - PartialEq, - PartialOrd, -)] -pub enum InstallationSuspendInstallationPermissionsChecks { - #[serde(rename = "read")] - Read, - #[serde(rename = "write")] - Write, -} -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsChecks { - fn from(value: &InstallationSuspendInstallationPermissionsChecks) -> Self { - value.clone() - } -} -impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsChecks { - fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - match *self { - Self::Read => f.write_str("read"), - Self::Write => f.write_str("write"), - } - } -} -impl ::std::str::FromStr for InstallationSuspendInstallationPermissionsChecks { - type Err = self::error::ConversionError; - fn from_str(value: &str) -> ::std::result::Result { - match value { - "read" => Ok(Self::Read), - "write" => Ok(Self::Write), - _ => Err("invalid value".into()), - } - } -} -impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermissionsChecks { - type Error = self::error::ConversionError; - fn try_from(value: &str) -> ::std::result::Result { - value.parse() - } -} -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsChecks -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} -impl ::std::convert::TryFrom<::std::string::String> - for InstallationSuspendInstallationPermissionsChecks -{ - type Error = self::error::ConversionError; - fn try_from( - value: ::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} -#[doc = "`InstallationSuspendInstallationPermissionsContentReferences`"] +#[doc = "`InstallationSuspendInstallationPermissionsContentReferences`"] #[doc = r""] #[doc = r"
JSON schema"] #[doc = r""] @@ -35439,11 +31843,6 @@ pub enum InstallationSuspendInstallationPermissionsContentReferences { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsContentReferences { - fn from(value: &InstallationSuspendInstallationPermissionsContentReferences) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsContentReferences { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35468,16 +31867,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsContentReferences -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsContentReferences { @@ -35520,11 +31909,6 @@ pub enum InstallationSuspendInstallationPermissionsContents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsContents { - fn from(value: &InstallationSuspendInstallationPermissionsContents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsContents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35549,16 +31933,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsContents -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsContents { @@ -35601,11 +31975,6 @@ pub enum InstallationSuspendInstallationPermissionsDeployments { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsDeployments { - fn from(value: &InstallationSuspendInstallationPermissionsDeployments) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsDeployments { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35630,16 +31999,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsDeployments -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsDeployments { @@ -35682,11 +32041,6 @@ pub enum InstallationSuspendInstallationPermissionsDiscussions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsDiscussions { - fn from(value: &InstallationSuspendInstallationPermissionsDiscussions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsDiscussions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35711,16 +32065,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsDiscussions -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsDiscussions { @@ -35763,11 +32107,6 @@ pub enum InstallationSuspendInstallationPermissionsEmails { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsEmails { - fn from(value: &InstallationSuspendInstallationPermissionsEmails) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsEmails { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35792,16 +32131,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsEmails -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsEmails { @@ -35844,11 +32173,6 @@ pub enum InstallationSuspendInstallationPermissionsEnvironments { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsEnvironments { - fn from(value: &InstallationSuspendInstallationPermissionsEnvironments) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsEnvironments { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35873,16 +32197,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsEnvironments -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsEnvironments { @@ -35925,11 +32239,6 @@ pub enum InstallationSuspendInstallationPermissionsIssues { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsIssues { - fn from(value: &InstallationSuspendInstallationPermissionsIssues) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsIssues { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -35954,16 +32263,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsIssues -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsIssues { @@ -36006,11 +32305,6 @@ pub enum InstallationSuspendInstallationPermissionsMembers { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsMembers { - fn from(value: &InstallationSuspendInstallationPermissionsMembers) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsMembers { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36035,16 +32329,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsMembers -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsMembers { @@ -36087,11 +32371,6 @@ pub enum InstallationSuspendInstallationPermissionsMetadata { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsMetadata { - fn from(value: &InstallationSuspendInstallationPermissionsMetadata) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsMetadata { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36116,16 +32395,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsMetadata -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsMetadata { @@ -36168,13 +32437,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationAdministration { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationSuspendInstallationPermissionsOrganizationAdministration -{ - fn from(value: &InstallationSuspendInstallationPermissionsOrganizationAdministration) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationAdministration { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36201,16 +32463,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationAdministration -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationAdministration { @@ -36253,11 +32505,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationEvents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsOrganizationEvents { - fn from(value: &InstallationSuspendInstallationPermissionsOrganizationEvents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationEvents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36284,16 +32531,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationEvents -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationEvents { @@ -36336,11 +32573,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationHooks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsOrganizationHooks { - fn from(value: &InstallationSuspendInstallationPermissionsOrganizationHooks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationHooks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36365,16 +32597,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationHooks -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationHooks { @@ -36417,13 +32639,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationPackages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationSuspendInstallationPermissionsOrganizationPackages -{ - fn from(value: &InstallationSuspendInstallationPermissionsOrganizationPackages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationPackages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36450,16 +32665,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationPackages -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationPackages { @@ -36502,11 +32707,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationPlan { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsOrganizationPlan { - fn from(value: &InstallationSuspendInstallationPermissionsOrganizationPlan) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationPlan { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36531,16 +32731,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationPlan -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationPlan { @@ -36583,13 +32773,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationProjects { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationSuspendInstallationPermissionsOrganizationProjects -{ - fn from(value: &InstallationSuspendInstallationPermissionsOrganizationProjects) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationProjects { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36616,16 +32799,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationProjects -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationProjects { @@ -36668,11 +32841,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationSecrets { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsOrganizationSecrets { - fn from(value: &InstallationSuspendInstallationPermissionsOrganizationSecrets) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationSecrets { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36699,16 +32867,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationSecrets -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationSecrets { @@ -36751,15 +32909,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationSelfHostedRunners #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationSuspendInstallationPermissionsOrganizationSelfHostedRunners -{ - fn from( - value: &InstallationSuspendInstallationPermissionsOrganizationSelfHostedRunners, - ) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationSelfHostedRunners { @@ -36790,16 +32939,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationSelfHostedRunners -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationSelfHostedRunners { @@ -36842,13 +32981,6 @@ pub enum InstallationSuspendInstallationPermissionsOrganizationUserBlocking { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationSuspendInstallationPermissionsOrganizationUserBlocking -{ - fn from(value: &InstallationSuspendInstallationPermissionsOrganizationUserBlocking) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsOrganizationUserBlocking { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36875,16 +33007,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsOrganizationUserBlocking -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsOrganizationUserBlocking { @@ -36927,11 +33049,6 @@ pub enum InstallationSuspendInstallationPermissionsPackages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsPackages { - fn from(value: &InstallationSuspendInstallationPermissionsPackages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsPackages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36956,16 +33073,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsPackages -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsPackages { @@ -37008,11 +33115,6 @@ pub enum InstallationSuspendInstallationPermissionsPages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsPages { - fn from(value: &InstallationSuspendInstallationPermissionsPages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsPages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37037,16 +33139,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsPages -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsPages { @@ -37089,11 +33181,6 @@ pub enum InstallationSuspendInstallationPermissionsPullRequests { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsPullRequests { - fn from(value: &InstallationSuspendInstallationPermissionsPullRequests) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsPullRequests { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37118,16 +33205,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsPullRequests -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsPullRequests { @@ -37170,11 +33247,6 @@ pub enum InstallationSuspendInstallationPermissionsRepositoryHooks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsRepositoryHooks { - fn from(value: &InstallationSuspendInstallationPermissionsRepositoryHooks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsRepositoryHooks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37199,16 +33271,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsRepositoryHooks -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsRepositoryHooks { @@ -37251,11 +33313,6 @@ pub enum InstallationSuspendInstallationPermissionsRepositoryProjects { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsRepositoryProjects { - fn from(value: &InstallationSuspendInstallationPermissionsRepositoryProjects) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsRepositoryProjects { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37282,16 +33339,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsRepositoryProjects -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsRepositoryProjects { @@ -37334,13 +33381,6 @@ pub enum InstallationSuspendInstallationPermissionsSecretScanningAlerts { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationSuspendInstallationPermissionsSecretScanningAlerts -{ - fn from(value: &InstallationSuspendInstallationPermissionsSecretScanningAlerts) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsSecretScanningAlerts { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37367,16 +33407,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsSecretScanningAlerts -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsSecretScanningAlerts { @@ -37419,11 +33449,6 @@ pub enum InstallationSuspendInstallationPermissionsSecrets { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsSecrets { - fn from(value: &InstallationSuspendInstallationPermissionsSecrets) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsSecrets { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37448,16 +33473,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsSecrets -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsSecrets { @@ -37500,11 +33515,6 @@ pub enum InstallationSuspendInstallationPermissionsSecurityEvents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsSecurityEvents { - fn from(value: &InstallationSuspendInstallationPermissionsSecurityEvents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsSecurityEvents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37529,16 +33539,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsSecurityEvents -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsSecurityEvents { @@ -37581,13 +33581,6 @@ pub enum InstallationSuspendInstallationPermissionsSecurityScanningAlert { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationSuspendInstallationPermissionsSecurityScanningAlert -{ - fn from(value: &InstallationSuspendInstallationPermissionsSecurityScanningAlert) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsSecurityScanningAlert { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37614,16 +33607,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsSecurityScanningAlert -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsSecurityScanningAlert { @@ -37666,11 +33649,6 @@ pub enum InstallationSuspendInstallationPermissionsSingleFile { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsSingleFile { - fn from(value: &InstallationSuspendInstallationPermissionsSingleFile) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsSingleFile { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37695,16 +33673,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsSingleFile -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsSingleFile { @@ -37747,11 +33715,6 @@ pub enum InstallationSuspendInstallationPermissionsStatuses { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsStatuses { - fn from(value: &InstallationSuspendInstallationPermissionsStatuses) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsStatuses { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37776,16 +33739,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsStatuses -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsStatuses { @@ -37828,11 +33781,6 @@ pub enum InstallationSuspendInstallationPermissionsTeamDiscussions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsTeamDiscussions { - fn from(value: &InstallationSuspendInstallationPermissionsTeamDiscussions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsTeamDiscussions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37857,16 +33805,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsTeamDiscussions -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsTeamDiscussions { @@ -37909,11 +33847,6 @@ pub enum InstallationSuspendInstallationPermissionsVulnerabilityAlerts { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsVulnerabilityAlerts { - fn from(value: &InstallationSuspendInstallationPermissionsVulnerabilityAlerts) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsVulnerabilityAlerts { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37940,16 +33873,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsVulnerabilityAlerts -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsVulnerabilityAlerts { @@ -37992,11 +33915,6 @@ pub enum InstallationSuspendInstallationPermissionsWorkflows { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationPermissionsWorkflows { - fn from(value: &InstallationSuspendInstallationPermissionsWorkflows) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationPermissionsWorkflows { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -38021,16 +33939,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationPermission value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationPermissionsWorkflows -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationPermissionsWorkflows { @@ -38074,11 +33982,6 @@ pub enum InstallationSuspendInstallationRepositorySelection { #[serde(rename = "selected")] Selected, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationRepositorySelection { - fn from(value: &InstallationSuspendInstallationRepositorySelection) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationRepositorySelection { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -38103,16 +34006,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationRepository value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationRepositorySelection -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationRepositorySelection { @@ -38275,13 +34168,6 @@ pub struct InstallationSuspendInstallationSuspendedBy { pub type_: InstallationSuspendInstallationSuspendedByType, pub url: ::std::string::String, } -impl ::std::convert::From<&InstallationSuspendInstallationSuspendedBy> - for InstallationSuspendInstallationSuspendedBy -{ - fn from(value: &InstallationSuspendInstallationSuspendedBy) -> Self { - value.clone() - } -} #[doc = "`InstallationSuspendInstallationSuspendedByType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -38314,11 +34200,6 @@ pub enum InstallationSuspendInstallationSuspendedByType { User, Organization, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationSuspendedByType { - fn from(value: &InstallationSuspendInstallationSuspendedByType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationSuspendedByType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -38345,16 +34226,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationSuspendedB value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationSuspendInstallationSuspendedByType -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationSuspendedByType { @@ -38395,11 +34266,6 @@ pub enum InstallationSuspendInstallationTargetType { User, Organization, } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationTargetType { - fn from(value: &InstallationSuspendInstallationTargetType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationSuspendInstallationTargetType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -38424,14 +34290,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationTargetType value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationSuspendInstallationTargetType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationTargetType { type Error = self::error::ConversionError; fn try_from( @@ -38464,11 +34322,6 @@ pub enum InstallationSuspendInstallationUpdatedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Integer(i64), } -impl ::std::convert::From<&Self> for InstallationSuspendInstallationUpdatedAt { - fn from(value: &InstallationSuspendInstallationUpdatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for InstallationSuspendInstallationUpdatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -38487,14 +34340,6 @@ impl ::std::convert::TryFrom<&str> for InstallationSuspendInstallationUpdatedAt value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationSuspendInstallationUpdatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationSuspendInstallationUpdatedAt { type Error = self::error::ConversionError; fn try_from( @@ -38573,13 +34418,6 @@ pub struct InstallationSuspendRepositoriesItem { #[doc = "Whether the repository is private or public."] pub private: bool, } -impl ::std::convert::From<&InstallationSuspendRepositoriesItem> - for InstallationSuspendRepositoriesItem -{ - fn from(value: &InstallationSuspendRepositoriesItem) -> Self { - value.clone() - } -} #[doc = "`InstallationTargetType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -38610,11 +34448,6 @@ pub enum InstallationTargetType { User, Organization, } -impl ::std::convert::From<&Self> for InstallationTargetType { - fn from(value: &InstallationTargetType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationTargetType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -38639,14 +34472,6 @@ impl ::std::convert::TryFrom<&str> for InstallationTargetType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationTargetType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationTargetType { type Error = self::error::ConversionError; fn try_from( @@ -38757,11 +34582,6 @@ pub struct InstallationUnsuspend { pub requester: (), pub sender: User, } -impl ::std::convert::From<&InstallationUnsuspend> for InstallationUnsuspend { - fn from(value: &InstallationUnsuspend) -> Self { - value.clone() - } -} #[doc = "`InstallationUnsuspendAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -38791,11 +34611,6 @@ pub enum InstallationUnsuspendAction { #[serde(rename = "unsuspend")] Unsuspend, } -impl ::std::convert::From<&Self> for InstallationUnsuspendAction { - fn from(value: &InstallationUnsuspendAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -38818,14 +34633,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationUnsuspendAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendAction { type Error = self::error::ConversionError; fn try_from( @@ -38893,13 +34700,6 @@ pub struct InstallationUnsuspendInstallation { pub target_type: InstallationUnsuspendInstallationTargetType, pub updated_at: InstallationUnsuspendInstallationUpdatedAt, } -impl ::std::convert::From<&InstallationUnsuspendInstallation> - for InstallationUnsuspendInstallation -{ - fn from(value: &InstallationUnsuspendInstallation) -> Self { - value.clone() - } -} #[doc = "`InstallationUnsuspendInstallationCreatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -38924,11 +34724,6 @@ pub enum InstallationUnsuspendInstallationCreatedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Integer(i64), } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationCreatedAt { - fn from(value: &InstallationUnsuspendInstallationCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for InstallationUnsuspendInstallationCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -38947,16 +34742,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationCreatedA value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationCreatedAt -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -39146,11 +34931,6 @@ pub enum InstallationUnsuspendInstallationEventsItem { #[serde(rename = "workflow_run")] WorkflowRun, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationEventsItem { - fn from(value: &InstallationUnsuspendInstallationEventsItem) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationEventsItem { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -39261,16 +35041,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationEventsIt value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationEventsItem -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationEventsItem { @@ -39635,13 +35405,6 @@ pub struct InstallationUnsuspendInstallationPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub workflows: ::std::option::Option, } -impl ::std::convert::From<&InstallationUnsuspendInstallationPermissions> - for InstallationUnsuspendInstallationPermissions -{ - fn from(value: &InstallationUnsuspendInstallationPermissions) -> Self { - value.clone() - } -} impl ::std::default::Default for InstallationUnsuspendInstallationPermissions { fn default() -> Self { Self { @@ -39715,11 +35478,6 @@ pub enum InstallationUnsuspendInstallationPermissionsActions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsActions { - fn from(value: &InstallationUnsuspendInstallationPermissionsActions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsActions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -39744,16 +35502,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsActions -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsActions { @@ -39796,11 +35544,6 @@ pub enum InstallationUnsuspendInstallationPermissionsAdministration { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsAdministration { - fn from(value: &InstallationUnsuspendInstallationPermissionsAdministration) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsAdministration { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -39825,16 +35568,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsAdministration -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsAdministration { @@ -39877,11 +35610,6 @@ pub enum InstallationUnsuspendInstallationPermissionsChecks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsChecks { - fn from(value: &InstallationUnsuspendInstallationPermissionsChecks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsChecks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -39906,16 +35634,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsChecks -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsChecks { @@ -39958,11 +35676,6 @@ pub enum InstallationUnsuspendInstallationPermissionsContentReferences { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsContentReferences { - fn from(value: &InstallationUnsuspendInstallationPermissionsContentReferences) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsContentReferences { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -39989,16 +35702,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsContentReferences -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsContentReferences { @@ -40041,11 +35744,6 @@ pub enum InstallationUnsuspendInstallationPermissionsContents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsContents { - fn from(value: &InstallationUnsuspendInstallationPermissionsContents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsContents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40070,16 +35768,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsContents -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsContents { @@ -40122,11 +35810,6 @@ pub enum InstallationUnsuspendInstallationPermissionsDeployments { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsDeployments { - fn from(value: &InstallationUnsuspendInstallationPermissionsDeployments) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsDeployments { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40151,16 +35834,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsDeployments -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsDeployments { @@ -40203,11 +35876,6 @@ pub enum InstallationUnsuspendInstallationPermissionsDiscussions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsDiscussions { - fn from(value: &InstallationUnsuspendInstallationPermissionsDiscussions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsDiscussions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40232,16 +35900,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsDiscussions -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsDiscussions { @@ -40284,11 +35942,6 @@ pub enum InstallationUnsuspendInstallationPermissionsEmails { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsEmails { - fn from(value: &InstallationUnsuspendInstallationPermissionsEmails) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsEmails { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40313,16 +35966,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsEmails -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsEmails { @@ -40365,11 +36008,6 @@ pub enum InstallationUnsuspendInstallationPermissionsEnvironments { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsEnvironments { - fn from(value: &InstallationUnsuspendInstallationPermissionsEnvironments) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsEnvironments { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40394,16 +36032,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsEnvironments -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsEnvironments { @@ -40446,11 +36074,6 @@ pub enum InstallationUnsuspendInstallationPermissionsIssues { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsIssues { - fn from(value: &InstallationUnsuspendInstallationPermissionsIssues) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsIssues { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40475,16 +36098,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsIssues -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsIssues { @@ -40527,11 +36140,6 @@ pub enum InstallationUnsuspendInstallationPermissionsMembers { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsMembers { - fn from(value: &InstallationUnsuspendInstallationPermissionsMembers) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsMembers { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40556,16 +36164,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsMembers -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsMembers { @@ -40608,11 +36206,6 @@ pub enum InstallationUnsuspendInstallationPermissionsMetadata { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsMetadata { - fn from(value: &InstallationUnsuspendInstallationPermissionsMetadata) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsMetadata { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40637,16 +36230,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsMetadata -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsMetadata { @@ -40689,15 +36272,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationAdministration #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsOrganizationAdministration -{ - fn from( - value: &InstallationUnsuspendInstallationPermissionsOrganizationAdministration, - ) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationAdministration { @@ -40728,16 +36302,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationAdministration -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationAdministration { @@ -40780,13 +36344,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationEvents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsOrganizationEvents -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsOrganizationEvents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationEvents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40813,16 +36370,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationEvents -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationEvents { @@ -40865,11 +36412,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationHooks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsOrganizationHooks { - fn from(value: &InstallationUnsuspendInstallationPermissionsOrganizationHooks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationHooks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40896,16 +36438,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationHooks -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationHooks { @@ -40948,13 +36480,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationPackages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsOrganizationPackages -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsOrganizationPackages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationPackages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -40981,16 +36506,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationPackages -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationPackages { @@ -41033,11 +36548,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationPlan { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsOrganizationPlan { - fn from(value: &InstallationUnsuspendInstallationPermissionsOrganizationPlan) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationPlan { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41064,16 +36574,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationPlan -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationPlan { @@ -41116,13 +36616,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationProjects { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsOrganizationProjects -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsOrganizationProjects) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationProjects { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41149,16 +36642,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationProjects -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationProjects { @@ -41201,13 +36684,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationSecrets { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsOrganizationSecrets -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsOrganizationSecrets) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationSecrets { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41234,16 +36710,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationSecrets -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationSecrets { @@ -41286,15 +36752,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationSelfHostedRunne #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsOrganizationSelfHostedRunners -{ - fn from( - value: &InstallationUnsuspendInstallationPermissionsOrganizationSelfHostedRunners, - ) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationSelfHostedRunners { @@ -41325,16 +36782,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationSelfHostedRunners -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationSelfHostedRunners { @@ -41377,13 +36824,6 @@ pub enum InstallationUnsuspendInstallationPermissionsOrganizationUserBlocking { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsOrganizationUserBlocking -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsOrganizationUserBlocking) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsOrganizationUserBlocking { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41410,18 +36850,74 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> +impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsOrganizationUserBlocking { type Error = self::error::ConversionError; fn try_from( - value: &::std::string::String, + value: ::std::string::String, ) -> ::std::result::Result { value.parse() } } +#[doc = "`InstallationUnsuspendInstallationPermissionsPackages`"] +#[doc = r""] +#[doc = r"
JSON schema"] +#[doc = r""] +#[doc = r" ```json"] +#[doc = "{"] +#[doc = " \"type\": \"string\","] +#[doc = " \"enum\": ["] +#[doc = " \"read\","] +#[doc = " \"write\""] +#[doc = " ]"] +#[doc = "}"] +#[doc = r" ```"] +#[doc = r"
"] +#[derive( + :: serde :: Deserialize, + :: serde :: Serialize, + Clone, + Copy, + Debug, + Eq, + Hash, + Ord, + PartialEq, + PartialOrd, +)] +pub enum InstallationUnsuspendInstallationPermissionsPackages { + #[serde(rename = "read")] + Read, + #[serde(rename = "write")] + Write, +} +impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsPackages { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + match *self { + Self::Read => f.write_str("read"), + Self::Write => f.write_str("write"), + } + } +} +impl ::std::str::FromStr for InstallationUnsuspendInstallationPermissionsPackages { + type Err = self::error::ConversionError; + fn from_str(value: &str) -> ::std::result::Result { + match value { + "read" => Ok(Self::Read), + "write" => Ok(Self::Write), + _ => Err("invalid value".into()), + } + } +} +impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissionsPackages { + type Error = self::error::ConversionError; + fn try_from(value: &str) -> ::std::result::Result { + value.parse() + } +} impl ::std::convert::TryFrom<::std::string::String> - for InstallationUnsuspendInstallationPermissionsOrganizationUserBlocking + for InstallationUnsuspendInstallationPermissionsPackages { type Error = self::error::ConversionError; fn try_from( @@ -41430,88 +36926,7 @@ impl ::std::convert::TryFrom<::std::string::String> value.parse() } } -#[doc = "`InstallationUnsuspendInstallationPermissionsPackages`"] -#[doc = r""] -#[doc = r"
JSON schema"] -#[doc = r""] -#[doc = r" ```json"] -#[doc = "{"] -#[doc = " \"type\": \"string\","] -#[doc = " \"enum\": ["] -#[doc = " \"read\","] -#[doc = " \"write\""] -#[doc = " ]"] -#[doc = "}"] -#[doc = r" ```"] -#[doc = r"
"] -#[derive( - :: serde :: Deserialize, - :: serde :: Serialize, - Clone, - Copy, - Debug, - Eq, - Hash, - Ord, - PartialEq, - PartialOrd, -)] -pub enum InstallationUnsuspendInstallationPermissionsPackages { - #[serde(rename = "read")] - Read, - #[serde(rename = "write")] - Write, -} -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsPackages { - fn from(value: &InstallationUnsuspendInstallationPermissionsPackages) -> Self { - value.clone() - } -} -impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsPackages { - fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - match *self { - Self::Read => f.write_str("read"), - Self::Write => f.write_str("write"), - } - } -} -impl ::std::str::FromStr for InstallationUnsuspendInstallationPermissionsPackages { - type Err = self::error::ConversionError; - fn from_str(value: &str) -> ::std::result::Result { - match value { - "read" => Ok(Self::Read), - "write" => Ok(Self::Write), - _ => Err("invalid value".into()), - } - } -} -impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissionsPackages { - type Error = self::error::ConversionError; - fn try_from(value: &str) -> ::std::result::Result { - value.parse() - } -} -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsPackages -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} -impl ::std::convert::TryFrom<::std::string::String> - for InstallationUnsuspendInstallationPermissionsPackages -{ - type Error = self::error::ConversionError; - fn try_from( - value: ::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} -#[doc = "`InstallationUnsuspendInstallationPermissionsPages`"] +#[doc = "`InstallationUnsuspendInstallationPermissionsPages`"] #[doc = r""] #[doc = r"
JSON schema"] #[doc = r""] @@ -41543,11 +36958,6 @@ pub enum InstallationUnsuspendInstallationPermissionsPages { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsPages { - fn from(value: &InstallationUnsuspendInstallationPermissionsPages) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsPages { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41572,16 +36982,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsPages -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsPages { @@ -41624,11 +37024,6 @@ pub enum InstallationUnsuspendInstallationPermissionsPullRequests { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsPullRequests { - fn from(value: &InstallationUnsuspendInstallationPermissionsPullRequests) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsPullRequests { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41653,16 +37048,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsPullRequests -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsPullRequests { @@ -41705,11 +37090,6 @@ pub enum InstallationUnsuspendInstallationPermissionsRepositoryHooks { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsRepositoryHooks { - fn from(value: &InstallationUnsuspendInstallationPermissionsRepositoryHooks) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsRepositoryHooks { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41734,16 +37114,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsRepositoryHooks -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsRepositoryHooks { @@ -41786,13 +37156,6 @@ pub enum InstallationUnsuspendInstallationPermissionsRepositoryProjects { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsRepositoryProjects -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsRepositoryProjects) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsRepositoryProjects { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41819,16 +37182,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsRepositoryProjects -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsRepositoryProjects { @@ -41871,13 +37224,6 @@ pub enum InstallationUnsuspendInstallationPermissionsSecretScanningAlerts { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsSecretScanningAlerts -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsSecretScanningAlerts) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsSecretScanningAlerts { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41904,16 +37250,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsSecretScanningAlerts -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsSecretScanningAlerts { @@ -41956,11 +37292,6 @@ pub enum InstallationUnsuspendInstallationPermissionsSecrets { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsSecrets { - fn from(value: &InstallationUnsuspendInstallationPermissionsSecrets) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsSecrets { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -41985,16 +37316,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsSecrets -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsSecrets { @@ -42037,11 +37358,6 @@ pub enum InstallationUnsuspendInstallationPermissionsSecurityEvents { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsSecurityEvents { - fn from(value: &InstallationUnsuspendInstallationPermissionsSecurityEvents) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsSecurityEvents { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42066,16 +37382,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsSecurityEvents -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsSecurityEvents { @@ -42118,13 +37424,6 @@ pub enum InstallationUnsuspendInstallationPermissionsSecurityScanningAlert { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsSecurityScanningAlert -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsSecurityScanningAlert) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsSecurityScanningAlert { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42151,16 +37450,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsSecurityScanningAlert -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsSecurityScanningAlert { @@ -42203,11 +37492,6 @@ pub enum InstallationUnsuspendInstallationPermissionsSingleFile { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsSingleFile { - fn from(value: &InstallationUnsuspendInstallationPermissionsSingleFile) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsSingleFile { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42232,16 +37516,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsSingleFile -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsSingleFile { @@ -42284,11 +37558,6 @@ pub enum InstallationUnsuspendInstallationPermissionsStatuses { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsStatuses { - fn from(value: &InstallationUnsuspendInstallationPermissionsStatuses) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsStatuses { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42313,16 +37582,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsStatuses -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsStatuses { @@ -42365,11 +37624,6 @@ pub enum InstallationUnsuspendInstallationPermissionsTeamDiscussions { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsTeamDiscussions { - fn from(value: &InstallationUnsuspendInstallationPermissionsTeamDiscussions) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsTeamDiscussions { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42394,16 +37648,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsTeamDiscussions -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsTeamDiscussions { @@ -42446,13 +37690,6 @@ pub enum InstallationUnsuspendInstallationPermissionsVulnerabilityAlerts { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> - for InstallationUnsuspendInstallationPermissionsVulnerabilityAlerts -{ - fn from(value: &InstallationUnsuspendInstallationPermissionsVulnerabilityAlerts) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsVulnerabilityAlerts { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42479,16 +37716,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsVulnerabilityAlerts -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsVulnerabilityAlerts { @@ -42531,11 +37758,6 @@ pub enum InstallationUnsuspendInstallationPermissionsWorkflows { #[serde(rename = "write")] Write, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationPermissionsWorkflows { - fn from(value: &InstallationUnsuspendInstallationPermissionsWorkflows) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationPermissionsWorkflows { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42560,16 +37782,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationPermissi value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationPermissionsWorkflows -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationPermissionsWorkflows { @@ -42613,11 +37825,6 @@ pub enum InstallationUnsuspendInstallationRepositorySelection { #[serde(rename = "selected")] Selected, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationRepositorySelection { - fn from(value: &InstallationUnsuspendInstallationRepositorySelection) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationRepositorySelection { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42642,16 +37849,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationReposito value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationRepositorySelection -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationRepositorySelection { @@ -42692,11 +37889,6 @@ pub enum InstallationUnsuspendInstallationTargetType { User, Organization, } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationTargetType { - fn from(value: &InstallationUnsuspendInstallationTargetType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for InstallationUnsuspendInstallationTargetType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -42721,16 +37913,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationTargetTy value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationTargetType -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationTargetType { @@ -42765,11 +37947,6 @@ pub enum InstallationUnsuspendInstallationUpdatedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Integer(i64), } -impl ::std::convert::From<&Self> for InstallationUnsuspendInstallationUpdatedAt { - fn from(value: &InstallationUnsuspendInstallationUpdatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for InstallationUnsuspendInstallationUpdatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -42788,16 +37965,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUnsuspendInstallationUpdatedA value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for InstallationUnsuspendInstallationUpdatedAt -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUnsuspendInstallationUpdatedAt { type Error = self::error::ConversionError; fn try_from( @@ -42876,13 +38043,6 @@ pub struct InstallationUnsuspendRepositoriesItem { #[doc = "Whether the repository is private or public."] pub private: bool, } -impl ::std::convert::From<&InstallationUnsuspendRepositoriesItem> - for InstallationUnsuspendRepositoriesItem -{ - fn from(value: &InstallationUnsuspendRepositoriesItem) -> Self { - value.clone() - } -} #[doc = "`InstallationUpdatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -42907,11 +38067,6 @@ pub enum InstallationUpdatedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Integer(i64), } -impl ::std::convert::From<&Self> for InstallationUpdatedAt { - fn from(value: &InstallationUpdatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for InstallationUpdatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -42930,14 +38085,6 @@ impl ::std::convert::TryFrom<&str> for InstallationUpdatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for InstallationUpdatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for InstallationUpdatedAt { type Error = self::error::ConversionError; fn try_from( @@ -43199,11 +38346,6 @@ pub struct Issue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&Issue> for Issue { - fn from(value: &Issue) -> Self { - value.clone() - } -} #[doc = "`IssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -43242,11 +38384,6 @@ pub enum IssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssueActiveLockReason { - fn from(value: &IssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -43275,14 +38412,6 @@ impl ::std::convert::TryFrom<&str> for IssueActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -43386,11 +38515,6 @@ pub struct IssueComment { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssueComment> for IssueComment { - fn from(value: &IssueComment) -> Self { - value.clone() - } -} #[doc = "`IssueCommentCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -43522,11 +38646,6 @@ pub struct IssueCommentCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssueCommentCreated> for IssueCommentCreated { - fn from(value: &IssueCommentCreated) -> Self { - value.clone() - } -} #[doc = "`IssueCommentCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -43556,11 +38675,6 @@ pub enum IssueCommentCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for IssueCommentCreatedAction { - fn from(value: &IssueCommentCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -43583,14 +38697,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -43716,11 +38822,6 @@ pub struct IssueCommentCreatedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssueCommentCreatedIssue> for IssueCommentCreatedIssue { - fn from(value: &IssueCommentCreatedIssue) -> Self { - value.clone() - } -} #[doc = "`IssueCommentCreatedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -43759,11 +38860,6 @@ pub enum IssueCommentCreatedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssueCommentCreatedIssueActiveLockReason { - fn from(value: &IssueCommentCreatedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentCreatedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -43792,14 +38888,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentCreatedIssueActiveLockReason value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentCreatedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentCreatedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -43864,11 +38952,6 @@ pub struct IssueCommentCreatedIssueAssignee { pub type_: IssueCommentCreatedIssueAssigneeType, pub url: ::std::string::String, } -impl ::std::convert::From<&IssueCommentCreatedIssueAssignee> for IssueCommentCreatedIssueAssignee { - fn from(value: &IssueCommentCreatedIssueAssignee) -> Self { - value.clone() - } -} #[doc = "`IssueCommentCreatedIssueAssigneeType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -43901,11 +38984,6 @@ pub enum IssueCommentCreatedIssueAssigneeType { User, Organization, } -impl ::std::convert::From<&Self> for IssueCommentCreatedIssueAssigneeType { - fn from(value: &IssueCommentCreatedIssueAssigneeType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentCreatedIssueAssigneeType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -43932,14 +39010,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentCreatedIssueAssigneeType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentCreatedIssueAssigneeType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentCreatedIssueAssigneeType { type Error = self::error::ConversionError; fn try_from( @@ -43991,13 +39061,6 @@ pub struct IssueCommentCreatedIssuePullRequest { pub patch_url: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&IssueCommentCreatedIssuePullRequest> - for IssueCommentCreatedIssuePullRequest -{ - fn from(value: &IssueCommentCreatedIssuePullRequest) -> Self { - value.clone() - } -} #[doc = "`IssueCommentCreatedIssueState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -44030,11 +39093,6 @@ pub enum IssueCommentCreatedIssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssueCommentCreatedIssueState { - fn from(value: &IssueCommentCreatedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentCreatedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -44059,14 +39117,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentCreatedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentCreatedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentCreatedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -44206,11 +39256,6 @@ pub struct IssueCommentDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssueCommentDeleted> for IssueCommentDeleted { - fn from(value: &IssueCommentDeleted) -> Self { - value.clone() - } -} #[doc = "`IssueCommentDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -44240,11 +39285,6 @@ pub enum IssueCommentDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for IssueCommentDeletedAction { - fn from(value: &IssueCommentDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -44267,14 +39307,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -44400,11 +39432,6 @@ pub struct IssueCommentDeletedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssueCommentDeletedIssue> for IssueCommentDeletedIssue { - fn from(value: &IssueCommentDeletedIssue) -> Self { - value.clone() - } -} #[doc = "`IssueCommentDeletedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -44443,11 +39470,6 @@ pub enum IssueCommentDeletedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssueCommentDeletedIssueActiveLockReason { - fn from(value: &IssueCommentDeletedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentDeletedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -44476,14 +39498,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentDeletedIssueActiveLockReason value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentDeletedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentDeletedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -44548,11 +39562,6 @@ pub struct IssueCommentDeletedIssueAssignee { pub type_: IssueCommentDeletedIssueAssigneeType, pub url: ::std::string::String, } -impl ::std::convert::From<&IssueCommentDeletedIssueAssignee> for IssueCommentDeletedIssueAssignee { - fn from(value: &IssueCommentDeletedIssueAssignee) -> Self { - value.clone() - } -} #[doc = "`IssueCommentDeletedIssueAssigneeType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -44585,11 +39594,6 @@ pub enum IssueCommentDeletedIssueAssigneeType { User, Organization, } -impl ::std::convert::From<&Self> for IssueCommentDeletedIssueAssigneeType { - fn from(value: &IssueCommentDeletedIssueAssigneeType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentDeletedIssueAssigneeType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -44616,14 +39620,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentDeletedIssueAssigneeType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentDeletedIssueAssigneeType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentDeletedIssueAssigneeType { type Error = self::error::ConversionError; fn try_from( @@ -44675,13 +39671,6 @@ pub struct IssueCommentDeletedIssuePullRequest { pub patch_url: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&IssueCommentDeletedIssuePullRequest> - for IssueCommentDeletedIssuePullRequest -{ - fn from(value: &IssueCommentDeletedIssuePullRequest) -> Self { - value.clone() - } -} #[doc = "`IssueCommentDeletedIssueState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -44714,11 +39703,6 @@ pub enum IssueCommentDeletedIssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssueCommentDeletedIssueState { - fn from(value: &IssueCommentDeletedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentDeletedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -44743,14 +39727,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentDeletedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentDeletedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentDeletedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -44912,11 +39888,6 @@ pub struct IssueCommentEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssueCommentEdited> for IssueCommentEdited { - fn from(value: &IssueCommentEdited) -> Self { - value.clone() - } -} #[doc = "`IssueCommentEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -44946,11 +39917,6 @@ pub enum IssueCommentEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for IssueCommentEditedAction { - fn from(value: &IssueCommentEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -44973,14 +39939,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -45022,11 +39980,6 @@ pub struct IssueCommentEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub body: ::std::option::Option, } -impl ::std::convert::From<&IssueCommentEditedChanges> for IssueCommentEditedChanges { - fn from(value: &IssueCommentEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for IssueCommentEditedChanges { fn default() -> Self { Self { @@ -45060,11 +40013,6 @@ pub struct IssueCommentEditedChangesBody { #[doc = "The previous version of the body."] pub from: ::std::string::String, } -impl ::std::convert::From<&IssueCommentEditedChangesBody> for IssueCommentEditedChangesBody { - fn from(value: &IssueCommentEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "The [issue](https://docs.github.com/en/rest/reference/issues) the comment belongs to."] #[doc = r""] #[doc = r"
JSON schema"] @@ -45182,11 +40130,6 @@ pub struct IssueCommentEditedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssueCommentEditedIssue> for IssueCommentEditedIssue { - fn from(value: &IssueCommentEditedIssue) -> Self { - value.clone() - } -} #[doc = "`IssueCommentEditedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -45225,11 +40168,6 @@ pub enum IssueCommentEditedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssueCommentEditedIssueActiveLockReason { - fn from(value: &IssueCommentEditedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentEditedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -45258,14 +40196,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentEditedIssueActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentEditedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentEditedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -45330,11 +40260,6 @@ pub struct IssueCommentEditedIssueAssignee { pub type_: IssueCommentEditedIssueAssigneeType, pub url: ::std::string::String, } -impl ::std::convert::From<&IssueCommentEditedIssueAssignee> for IssueCommentEditedIssueAssignee { - fn from(value: &IssueCommentEditedIssueAssignee) -> Self { - value.clone() - } -} #[doc = "`IssueCommentEditedIssueAssigneeType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -45367,11 +40292,6 @@ pub enum IssueCommentEditedIssueAssigneeType { User, Organization, } -impl ::std::convert::From<&Self> for IssueCommentEditedIssueAssigneeType { - fn from(value: &IssueCommentEditedIssueAssigneeType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentEditedIssueAssigneeType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -45398,14 +40318,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentEditedIssueAssigneeType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentEditedIssueAssigneeType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentEditedIssueAssigneeType { type Error = self::error::ConversionError; fn try_from( @@ -45457,13 +40369,6 @@ pub struct IssueCommentEditedIssuePullRequest { pub patch_url: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&IssueCommentEditedIssuePullRequest> - for IssueCommentEditedIssuePullRequest -{ - fn from(value: &IssueCommentEditedIssuePullRequest) -> Self { - value.clone() - } -} #[doc = "`IssueCommentEditedIssueState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -45496,11 +40401,6 @@ pub enum IssueCommentEditedIssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssueCommentEditedIssueState { - fn from(value: &IssueCommentEditedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueCommentEditedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -45525,14 +40425,6 @@ impl ::std::convert::TryFrom<&str> for IssueCommentEditedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueCommentEditedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueCommentEditedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -45568,11 +40460,6 @@ pub enum IssueCommentEvent { Deleted(IssueCommentDeleted), Edited(IssueCommentEdited), } -impl ::std::convert::From<&Self> for IssueCommentEvent { - fn from(value: &IssueCommentEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for IssueCommentEvent { fn from(value: IssueCommentCreated) -> Self { Self::Created(value) @@ -45629,11 +40516,6 @@ pub struct IssuePullRequest { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&IssuePullRequest> for IssuePullRequest { - fn from(value: &IssuePullRequest) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuePullRequest { fn default() -> Self { Self { @@ -45677,11 +40559,6 @@ pub enum IssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssueState { - fn from(value: &IssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -45706,14 +40583,6 @@ impl ::std::convert::TryFrom<&str> for IssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssueState { type Error = self::error::ConversionError; fn try_from( @@ -45793,11 +40662,6 @@ pub struct IssuesAssigned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesAssigned> for IssuesAssigned { - fn from(value: &IssuesAssigned) -> Self { - value.clone() - } -} #[doc = "The action that was performed."] #[doc = r""] #[doc = r"
JSON schema"] @@ -45828,11 +40692,6 @@ pub enum IssuesAssignedAction { #[serde(rename = "assigned")] Assigned, } -impl ::std::convert::From<&Self> for IssuesAssignedAction { - fn from(value: &IssuesAssignedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesAssignedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -45855,14 +40714,6 @@ impl ::std::convert::TryFrom<&str> for IssuesAssignedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesAssignedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesAssignedAction { type Error = self::error::ConversionError; fn try_from( @@ -45951,11 +40802,6 @@ pub struct IssuesClosed { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesClosed> for IssuesClosed { - fn from(value: &IssuesClosed) -> Self { - value.clone() - } -} #[doc = "The action that was performed."] #[doc = r""] #[doc = r"
JSON schema"] @@ -45986,11 +40832,6 @@ pub enum IssuesClosedAction { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssuesClosedAction { - fn from(value: &IssuesClosedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesClosedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -46013,14 +40854,6 @@ impl ::std::convert::TryFrom<&str> for IssuesClosedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesClosedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesClosedAction { type Error = self::error::ConversionError; fn try_from( @@ -46101,11 +40934,6 @@ pub struct IssuesClosedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssuesClosedIssue> for IssuesClosedIssue { - fn from(value: &IssuesClosedIssue) -> Self { - value.clone() - } -} #[doc = "`IssuesClosedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -46144,11 +40972,6 @@ pub enum IssuesClosedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssuesClosedIssueActiveLockReason { - fn from(value: &IssuesClosedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesClosedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -46177,14 +41000,6 @@ impl ::std::convert::TryFrom<&str> for IssuesClosedIssueActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesClosedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesClosedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -46234,11 +41049,6 @@ pub struct IssuesClosedIssuePullRequest { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&IssuesClosedIssuePullRequest> for IssuesClosedIssuePullRequest { - fn from(value: &IssuesClosedIssuePullRequest) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuesClosedIssuePullRequest { fn default() -> Self { Self { @@ -46278,11 +41088,6 @@ pub enum IssuesClosedIssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssuesClosedIssueState { - fn from(value: &IssuesClosedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesClosedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -46305,14 +41110,6 @@ impl ::std::convert::TryFrom<&str> for IssuesClosedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesClosedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesClosedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -46375,11 +41172,6 @@ pub struct IssuesDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesDeleted> for IssuesDeleted { - fn from(value: &IssuesDeleted) -> Self { - value.clone() - } -} #[doc = "`IssuesDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -46409,11 +41201,6 @@ pub enum IssuesDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for IssuesDeletedAction { - fn from(value: &IssuesDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -46436,14 +41223,6 @@ impl ::std::convert::TryFrom<&str> for IssuesDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -46527,11 +41306,6 @@ pub struct IssuesDemilestoned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesDemilestoned> for IssuesDemilestoned { - fn from(value: &IssuesDemilestoned) -> Self { - value.clone() - } -} #[doc = "`IssuesDemilestonedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -46561,11 +41335,6 @@ pub enum IssuesDemilestonedAction { #[serde(rename = "demilestoned")] Demilestoned, } -impl ::std::convert::From<&Self> for IssuesDemilestonedAction { - fn from(value: &IssuesDemilestonedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesDemilestonedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -46588,14 +41357,6 @@ impl ::std::convert::TryFrom<&str> for IssuesDemilestonedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesDemilestonedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesDemilestonedAction { type Error = self::error::ConversionError; fn try_from( @@ -46670,11 +41431,6 @@ pub struct IssuesDemilestonedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssuesDemilestonedIssue> for IssuesDemilestonedIssue { - fn from(value: &IssuesDemilestonedIssue) -> Self { - value.clone() - } -} #[doc = "`IssuesDemilestonedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -46713,11 +41469,6 @@ pub enum IssuesDemilestonedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssuesDemilestonedIssueActiveLockReason { - fn from(value: &IssuesDemilestonedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesDemilestonedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -46746,14 +41497,6 @@ impl ::std::convert::TryFrom<&str> for IssuesDemilestonedIssueActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesDemilestonedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesDemilestonedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -46803,13 +41546,6 @@ pub struct IssuesDemilestonedIssuePullRequest { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&IssuesDemilestonedIssuePullRequest> - for IssuesDemilestonedIssuePullRequest -{ - fn from(value: &IssuesDemilestonedIssuePullRequest) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuesDemilestonedIssuePullRequest { fn default() -> Self { Self { @@ -46853,11 +41589,6 @@ pub enum IssuesDemilestonedIssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssuesDemilestonedIssueState { - fn from(value: &IssuesDemilestonedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesDemilestonedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -46882,14 +41613,6 @@ impl ::std::convert::TryFrom<&str> for IssuesDemilestonedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesDemilestonedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesDemilestonedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -46992,11 +41715,6 @@ pub struct IssuesEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesEdited> for IssuesEdited { - fn from(value: &IssuesEdited) -> Self { - value.clone() - } -} #[doc = "`IssuesEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -47026,11 +41744,6 @@ pub enum IssuesEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for IssuesEditedAction { - fn from(value: &IssuesEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -47053,14 +41766,6 @@ impl ::std::convert::TryFrom<&str> for IssuesEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -47117,11 +41822,6 @@ pub struct IssuesEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option, } -impl ::std::convert::From<&IssuesEditedChanges> for IssuesEditedChanges { - fn from(value: &IssuesEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuesEditedChanges { fn default() -> Self { Self { @@ -47156,11 +41856,6 @@ pub struct IssuesEditedChangesBody { #[doc = "The previous version of the body."] pub from: ::std::string::String, } -impl ::std::convert::From<&IssuesEditedChangesBody> for IssuesEditedChangesBody { - fn from(value: &IssuesEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "`IssuesEditedChangesTitle`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -47187,11 +41882,6 @@ pub struct IssuesEditedChangesTitle { #[doc = "The previous version of the title."] pub from: ::std::string::String, } -impl ::std::convert::From<&IssuesEditedChangesTitle> for IssuesEditedChangesTitle { - fn from(value: &IssuesEditedChangesTitle) -> Self { - value.clone() - } -} #[doc = "`IssuesEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -47271,11 +41961,6 @@ pub enum IssuesEvent { Unlocked(IssuesUnlocked), Unpinned(IssuesUnpinned), } -impl ::std::convert::From<&Self> for IssuesEvent { - fn from(value: &IssuesEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for IssuesEvent { fn from(value: IssuesAssigned) -> Self { Self::Assigned(value) @@ -47417,11 +42102,6 @@ pub struct IssuesLabeled { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesLabeled> for IssuesLabeled { - fn from(value: &IssuesLabeled) -> Self { - value.clone() - } -} #[doc = "`IssuesLabeledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -47451,11 +42131,6 @@ pub enum IssuesLabeledAction { #[serde(rename = "labeled")] Labeled, } -impl ::std::convert::From<&Self> for IssuesLabeledAction { - fn from(value: &IssuesLabeledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesLabeledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -47478,14 +42153,6 @@ impl ::std::convert::TryFrom<&str> for IssuesLabeledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesLabeledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesLabeledAction { type Error = self::error::ConversionError; fn try_from( @@ -47581,11 +42248,6 @@ pub struct IssuesLocked { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesLocked> for IssuesLocked { - fn from(value: &IssuesLocked) -> Self { - value.clone() - } -} #[doc = "`IssuesLockedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -47615,11 +42277,6 @@ pub enum IssuesLockedAction { #[serde(rename = "locked")] Locked, } -impl ::std::convert::From<&Self> for IssuesLockedAction { - fn from(value: &IssuesLockedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesLockedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -47642,14 +42299,6 @@ impl ::std::convert::TryFrom<&str> for IssuesLockedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesLockedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesLockedAction { type Error = self::error::ConversionError; fn try_from( @@ -47740,11 +42389,6 @@ pub struct IssuesLockedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssuesLockedIssue> for IssuesLockedIssue { - fn from(value: &IssuesLockedIssue) -> Self { - value.clone() - } -} #[doc = "`IssuesLockedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -47783,11 +42427,6 @@ pub enum IssuesLockedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssuesLockedIssueActiveLockReason { - fn from(value: &IssuesLockedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesLockedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -47816,14 +42455,6 @@ impl ::std::convert::TryFrom<&str> for IssuesLockedIssueActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesLockedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesLockedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -47873,11 +42504,6 @@ pub struct IssuesLockedIssuePullRequest { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&IssuesLockedIssuePullRequest> for IssuesLockedIssuePullRequest { - fn from(value: &IssuesLockedIssuePullRequest) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuesLockedIssuePullRequest { fn default() -> Self { Self { @@ -47921,11 +42547,6 @@ pub enum IssuesLockedIssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssuesLockedIssueState { - fn from(value: &IssuesLockedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesLockedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -47950,14 +42571,6 @@ impl ::std::convert::TryFrom<&str> for IssuesLockedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesLockedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesLockedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -48041,11 +42654,6 @@ pub struct IssuesMilestoned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesMilestoned> for IssuesMilestoned { - fn from(value: &IssuesMilestoned) -> Self { - value.clone() - } -} #[doc = "`IssuesMilestonedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -48075,11 +42683,6 @@ pub enum IssuesMilestonedAction { #[serde(rename = "milestoned")] Milestoned, } -impl ::std::convert::From<&Self> for IssuesMilestonedAction { - fn from(value: &IssuesMilestonedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesMilestonedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -48102,14 +42705,6 @@ impl ::std::convert::TryFrom<&str> for IssuesMilestonedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesMilestonedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesMilestonedAction { type Error = self::error::ConversionError; fn try_from( @@ -48184,11 +42779,6 @@ pub struct IssuesMilestonedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssuesMilestonedIssue> for IssuesMilestonedIssue { - fn from(value: &IssuesMilestonedIssue) -> Self { - value.clone() - } -} #[doc = "`IssuesMilestonedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -48227,11 +42817,6 @@ pub enum IssuesMilestonedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssuesMilestonedIssueActiveLockReason { - fn from(value: &IssuesMilestonedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesMilestonedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -48260,14 +42845,6 @@ impl ::std::convert::TryFrom<&str> for IssuesMilestonedIssueActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesMilestonedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesMilestonedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -48410,11 +42987,6 @@ pub struct IssuesMilestonedIssueMilestone { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&IssuesMilestonedIssueMilestone> for IssuesMilestonedIssueMilestone { - fn from(value: &IssuesMilestonedIssueMilestone) -> Self { - value.clone() - } -} #[doc = "`IssuesMilestonedIssueMilestoneState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -48447,11 +43019,6 @@ pub enum IssuesMilestonedIssueMilestoneState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssuesMilestonedIssueMilestoneState { - fn from(value: &IssuesMilestonedIssueMilestoneState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesMilestonedIssueMilestoneState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -48476,14 +43043,6 @@ impl ::std::convert::TryFrom<&str> for IssuesMilestonedIssueMilestoneState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesMilestonedIssueMilestoneState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesMilestonedIssueMilestoneState { type Error = self::error::ConversionError; fn try_from( @@ -48533,11 +43092,6 @@ pub struct IssuesMilestonedIssuePullRequest { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&IssuesMilestonedIssuePullRequest> for IssuesMilestonedIssuePullRequest { - fn from(value: &IssuesMilestonedIssuePullRequest) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuesMilestonedIssuePullRequest { fn default() -> Self { Self { @@ -48581,11 +43135,6 @@ pub enum IssuesMilestonedIssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssuesMilestonedIssueState { - fn from(value: &IssuesMilestonedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesMilestonedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -48610,14 +43159,6 @@ impl ::std::convert::TryFrom<&str> for IssuesMilestonedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesMilestonedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesMilestonedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -48721,11 +43262,6 @@ pub struct IssuesOpened { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesOpened> for IssuesOpened { - fn from(value: &IssuesOpened) -> Self { - value.clone() - } -} #[doc = "`IssuesOpenedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -48755,11 +43291,6 @@ pub enum IssuesOpenedAction { #[serde(rename = "opened")] Opened, } -impl ::std::convert::From<&Self> for IssuesOpenedAction { - fn from(value: &IssuesOpenedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesOpenedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -48782,14 +43313,6 @@ impl ::std::convert::TryFrom<&str> for IssuesOpenedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesOpenedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesOpenedAction { type Error = self::error::ConversionError; fn try_from( @@ -48827,11 +43350,6 @@ pub struct IssuesOpenedChanges { pub old_issue: Issue, pub old_repository: Repository, } -impl ::std::convert::From<&IssuesOpenedChanges> for IssuesOpenedChanges { - fn from(value: &IssuesOpenedChanges) -> Self { - value.clone() - } -} #[doc = "`IssuesOpenedIssue`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -48903,11 +43421,6 @@ pub struct IssuesOpenedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssuesOpenedIssue> for IssuesOpenedIssue { - fn from(value: &IssuesOpenedIssue) -> Self { - value.clone() - } -} #[doc = "`IssuesOpenedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -48946,11 +43459,6 @@ pub enum IssuesOpenedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssuesOpenedIssueActiveLockReason { - fn from(value: &IssuesOpenedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesOpenedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -48979,14 +43487,6 @@ impl ::std::convert::TryFrom<&str> for IssuesOpenedIssueActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesOpenedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesOpenedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -49036,11 +43536,6 @@ pub struct IssuesOpenedIssuePullRequest { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&IssuesOpenedIssuePullRequest> for IssuesOpenedIssuePullRequest { - fn from(value: &IssuesOpenedIssuePullRequest) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuesOpenedIssuePullRequest { fn default() -> Self { Self { @@ -49080,11 +43575,6 @@ pub enum IssuesOpenedIssueState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for IssuesOpenedIssueState { - fn from(value: &IssuesOpenedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesOpenedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -49107,14 +43597,6 @@ impl ::std::convert::TryFrom<&str> for IssuesOpenedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesOpenedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesOpenedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -49177,11 +43659,6 @@ pub struct IssuesPinned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesPinned> for IssuesPinned { - fn from(value: &IssuesPinned) -> Self { - value.clone() - } -} #[doc = "`IssuesPinnedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -49211,11 +43688,6 @@ pub enum IssuesPinnedAction { #[serde(rename = "pinned")] Pinned, } -impl ::std::convert::From<&Self> for IssuesPinnedAction { - fn from(value: &IssuesPinnedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesPinnedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -49238,14 +43710,6 @@ impl ::std::convert::TryFrom<&str> for IssuesPinnedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesPinnedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesPinnedAction { type Error = self::error::ConversionError; fn try_from( @@ -49327,11 +43791,6 @@ pub struct IssuesReopened { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesReopened> for IssuesReopened { - fn from(value: &IssuesReopened) -> Self { - value.clone() - } -} #[doc = "`IssuesReopenedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -49361,11 +43820,6 @@ pub enum IssuesReopenedAction { #[serde(rename = "reopened")] Reopened, } -impl ::std::convert::From<&Self> for IssuesReopenedAction { - fn from(value: &IssuesReopenedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesReopenedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -49388,14 +43842,6 @@ impl ::std::convert::TryFrom<&str> for IssuesReopenedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesReopenedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesReopenedAction { type Error = self::error::ConversionError; fn try_from( @@ -49471,11 +43917,6 @@ pub struct IssuesReopenedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssuesReopenedIssue> for IssuesReopenedIssue { - fn from(value: &IssuesReopenedIssue) -> Self { - value.clone() - } -} #[doc = "`IssuesReopenedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -49514,11 +43955,6 @@ pub enum IssuesReopenedIssueActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for IssuesReopenedIssueActiveLockReason { - fn from(value: &IssuesReopenedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesReopenedIssueActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -49547,14 +43983,6 @@ impl ::std::convert::TryFrom<&str> for IssuesReopenedIssueActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesReopenedIssueActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesReopenedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -49604,11 +44032,6 @@ pub struct IssuesReopenedIssuePullRequest { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&IssuesReopenedIssuePullRequest> for IssuesReopenedIssuePullRequest { - fn from(value: &IssuesReopenedIssuePullRequest) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuesReopenedIssuePullRequest { fn default() -> Self { Self { @@ -49648,11 +44071,6 @@ pub enum IssuesReopenedIssueState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for IssuesReopenedIssueState { - fn from(value: &IssuesReopenedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesReopenedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -49675,14 +44093,6 @@ impl ::std::convert::TryFrom<&str> for IssuesReopenedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesReopenedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesReopenedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -49763,11 +44173,6 @@ pub struct IssuesTransferred { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesTransferred> for IssuesTransferred { - fn from(value: &IssuesTransferred) -> Self { - value.clone() - } -} #[doc = "`IssuesTransferredAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -49797,11 +44202,6 @@ pub enum IssuesTransferredAction { #[serde(rename = "transferred")] Transferred, } -impl ::std::convert::From<&Self> for IssuesTransferredAction { - fn from(value: &IssuesTransferredAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesTransferredAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -49824,14 +44224,6 @@ impl ::std::convert::TryFrom<&str> for IssuesTransferredAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesTransferredAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesTransferredAction { type Error = self::error::ConversionError; fn try_from( @@ -49869,11 +44261,6 @@ pub struct IssuesTransferredChanges { pub new_issue: Issue, pub new_repository: Repository, } -impl ::std::convert::From<&IssuesTransferredChanges> for IssuesTransferredChanges { - fn from(value: &IssuesTransferredChanges) -> Self { - value.clone() - } -} #[doc = "`IssuesUnassigned`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -49944,11 +44331,6 @@ pub struct IssuesUnassigned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesUnassigned> for IssuesUnassigned { - fn from(value: &IssuesUnassigned) -> Self { - value.clone() - } -} #[doc = "The action that was performed."] #[doc = r""] #[doc = r"
JSON schema"] @@ -49979,11 +44361,6 @@ pub enum IssuesUnassignedAction { #[serde(rename = "unassigned")] Unassigned, } -impl ::std::convert::From<&Self> for IssuesUnassignedAction { - fn from(value: &IssuesUnassignedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesUnassignedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -50006,14 +44383,6 @@ impl ::std::convert::TryFrom<&str> for IssuesUnassignedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesUnassignedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesUnassignedAction { type Error = self::error::ConversionError; fn try_from( @@ -50083,11 +44452,6 @@ pub struct IssuesUnlabeled { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesUnlabeled> for IssuesUnlabeled { - fn from(value: &IssuesUnlabeled) -> Self { - value.clone() - } -} #[doc = "`IssuesUnlabeledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -50117,11 +44481,6 @@ pub enum IssuesUnlabeledAction { #[serde(rename = "unlabeled")] Unlabeled, } -impl ::std::convert::From<&Self> for IssuesUnlabeledAction { - fn from(value: &IssuesUnlabeledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesUnlabeledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -50144,14 +44503,6 @@ impl ::std::convert::TryFrom<&str> for IssuesUnlabeledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesUnlabeledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesUnlabeledAction { type Error = self::error::ConversionError; fn try_from( @@ -50237,11 +44588,6 @@ pub struct IssuesUnlocked { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesUnlocked> for IssuesUnlocked { - fn from(value: &IssuesUnlocked) -> Self { - value.clone() - } -} #[doc = "`IssuesUnlockedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -50271,11 +44617,6 @@ pub enum IssuesUnlockedAction { #[serde(rename = "unlocked")] Unlocked, } -impl ::std::convert::From<&Self> for IssuesUnlockedAction { - fn from(value: &IssuesUnlockedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesUnlockedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -50298,14 +44639,6 @@ impl ::std::convert::TryFrom<&str> for IssuesUnlockedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesUnlockedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesUnlockedAction { type Error = self::error::ConversionError; fn try_from( @@ -50386,11 +44719,6 @@ pub struct IssuesUnlockedIssue { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&IssuesUnlockedIssue> for IssuesUnlockedIssue { - fn from(value: &IssuesUnlockedIssue) -> Self { - value.clone() - } -} #[doc = "`IssuesUnlockedIssueActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -50418,13 +44746,6 @@ impl ::std::convert::From for () { value.0 } } -impl ::std::convert::From<&IssuesUnlockedIssueActiveLockReason> - for IssuesUnlockedIssueActiveLockReason -{ - fn from(value: &IssuesUnlockedIssueActiveLockReason) -> Self { - value.clone() - } -} impl ::std::convert::TryFrom<()> for IssuesUnlockedIssueActiveLockReason { type Error = self::error::ConversionError; fn try_from(value: ()) -> ::std::result::Result { @@ -50485,11 +44806,6 @@ pub struct IssuesUnlockedIssuePullRequest { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&IssuesUnlockedIssuePullRequest> for IssuesUnlockedIssuePullRequest { - fn from(value: &IssuesUnlockedIssuePullRequest) -> Self { - value.clone() - } -} impl ::std::default::Default for IssuesUnlockedIssuePullRequest { fn default() -> Self { Self { @@ -50533,11 +44849,6 @@ pub enum IssuesUnlockedIssueState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for IssuesUnlockedIssueState { - fn from(value: &IssuesUnlockedIssueState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesUnlockedIssueState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -50562,14 +44873,6 @@ impl ::std::convert::TryFrom<&str> for IssuesUnlockedIssueState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesUnlockedIssueState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesUnlockedIssueState { type Error = self::error::ConversionError; fn try_from( @@ -50632,11 +44935,6 @@ pub struct IssuesUnpinned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&IssuesUnpinned> for IssuesUnpinned { - fn from(value: &IssuesUnpinned) -> Self { - value.clone() - } -} #[doc = "`IssuesUnpinnedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -50666,11 +44964,6 @@ pub enum IssuesUnpinnedAction { #[serde(rename = "unpinned")] Unpinned, } -impl ::std::convert::From<&Self> for IssuesUnpinnedAction { - fn from(value: &IssuesUnpinnedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for IssuesUnpinnedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -50693,14 +44986,6 @@ impl ::std::convert::TryFrom<&str> for IssuesUnpinnedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for IssuesUnpinnedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for IssuesUnpinnedAction { type Error = self::error::ConversionError; fn try_from( @@ -50775,11 +45060,6 @@ pub struct Label { #[doc = "URL for the label"] pub url: ::std::string::String, } -impl ::std::convert::From<&Label> for Label { - fn from(value: &Label) -> Self { - value.clone() - } -} #[doc = "`LabelCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -50836,11 +45116,6 @@ pub struct LabelCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&LabelCreated> for LabelCreated { - fn from(value: &LabelCreated) -> Self { - value.clone() - } -} #[doc = "`LabelCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -50870,11 +45145,6 @@ pub enum LabelCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for LabelCreatedAction { - fn from(value: &LabelCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for LabelCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -50897,14 +45167,6 @@ impl ::std::convert::TryFrom<&str> for LabelCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for LabelCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for LabelCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -50969,11 +45231,6 @@ pub struct LabelDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&LabelDeleted> for LabelDeleted { - fn from(value: &LabelDeleted) -> Self { - value.clone() - } -} #[doc = "`LabelDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51003,11 +45260,6 @@ pub enum LabelDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for LabelDeletedAction { - fn from(value: &LabelDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for LabelDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -51030,14 +45282,6 @@ impl ::std::convert::TryFrom<&str> for LabelDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for LabelDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for LabelDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -51150,11 +45394,6 @@ pub struct LabelEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&LabelEdited> for LabelEdited { - fn from(value: &LabelEdited) -> Self { - value.clone() - } -} #[doc = "`LabelEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51184,11 +45423,6 @@ pub enum LabelEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for LabelEditedAction { - fn from(value: &LabelEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for LabelEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -51211,14 +45445,6 @@ impl ::std::convert::TryFrom<&str> for LabelEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for LabelEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for LabelEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -51290,11 +45516,6 @@ pub struct LabelEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub name: ::std::option::Option, } -impl ::std::convert::From<&LabelEditedChanges> for LabelEditedChanges { - fn from(value: &LabelEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for LabelEditedChanges { fn default() -> Self { Self { @@ -51330,11 +45551,6 @@ pub struct LabelEditedChangesColor { #[doc = "The previous version of the color if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&LabelEditedChangesColor> for LabelEditedChangesColor { - fn from(value: &LabelEditedChangesColor) -> Self { - value.clone() - } -} #[doc = "`LabelEditedChangesDescription`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51361,11 +45577,6 @@ pub struct LabelEditedChangesDescription { #[doc = "The previous version of the description if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&LabelEditedChangesDescription> for LabelEditedChangesDescription { - fn from(value: &LabelEditedChangesDescription) -> Self { - value.clone() - } -} #[doc = "`LabelEditedChangesName`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51392,11 +45603,6 @@ pub struct LabelEditedChangesName { #[doc = "The previous version of the name if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&LabelEditedChangesName> for LabelEditedChangesName { - fn from(value: &LabelEditedChangesName) -> Self { - value.clone() - } -} #[doc = "`LabelEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51424,11 +45630,6 @@ pub enum LabelEvent { Deleted(LabelDeleted), Edited(LabelEdited), } -impl ::std::convert::From<&Self> for LabelEvent { - fn from(value: &LabelEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for LabelEvent { fn from(value: LabelCreated) -> Self { Self::Created(value) @@ -51494,11 +45695,6 @@ pub struct License { pub spdx_id: ::std::string::String, pub url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&License> for License { - fn from(value: &License) -> Self { - value.clone() - } -} #[doc = "`Link`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51526,11 +45722,6 @@ impl ::std::convert::From<&License> for License { pub struct Link { pub href: ::std::string::String, } -impl ::std::convert::From<&Link> for Link { - fn from(value: &Link) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchase`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51659,11 +45850,6 @@ pub struct MarketplacePurchase { pub plan: MarketplacePurchasePlan, pub unit_count: i64, } -impl ::std::convert::From<&MarketplacePurchase> for MarketplacePurchase { - fn from(value: &MarketplacePurchase) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseAccount`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51709,11 +45895,6 @@ pub struct MarketplacePurchaseAccount { #[serde(rename = "type")] pub type_: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchaseAccount> for MarketplacePurchaseAccount { - fn from(value: &MarketplacePurchaseAccount) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseCancelled`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51868,11 +46049,6 @@ pub struct MarketplacePurchaseCancelled { pub previous_marketplace_purchase: ::std::option::Option, pub sender: MarketplacePurchaseCancelledSender, } -impl ::std::convert::From<&MarketplacePurchaseCancelled> for MarketplacePurchaseCancelled { - fn from(value: &MarketplacePurchaseCancelled) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseCancelledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -51902,11 +46078,6 @@ pub enum MarketplacePurchaseCancelledAction { #[serde(rename = "cancelled")] Cancelled, } -impl ::std::convert::From<&Self> for MarketplacePurchaseCancelledAction { - fn from(value: &MarketplacePurchaseCancelledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MarketplacePurchaseCancelledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -51929,14 +46100,6 @@ impl ::std::convert::TryFrom<&str> for MarketplacePurchaseCancelledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MarketplacePurchaseCancelledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MarketplacePurchaseCancelledAction { type Error = self::error::ConversionError; fn try_from( @@ -51982,13 +46145,6 @@ pub struct MarketplacePurchaseCancelledMarketplacePurchase { pub plan: MarketplacePurchaseCancelledMarketplacePurchasePlan, pub unit_count: i64, } -impl ::std::convert::From<&MarketplacePurchaseCancelledMarketplacePurchase> - for MarketplacePurchaseCancelledMarketplacePurchase -{ - fn from(value: &MarketplacePurchaseCancelledMarketplacePurchase) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseCancelledMarketplacePurchaseAccount`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52034,13 +46190,6 @@ pub struct MarketplacePurchaseCancelledMarketplacePurchaseAccount { #[serde(rename = "type")] pub type_: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchaseCancelledMarketplacePurchaseAccount> - for MarketplacePurchaseCancelledMarketplacePurchaseAccount -{ - fn from(value: &MarketplacePurchaseCancelledMarketplacePurchaseAccount) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseCancelledMarketplacePurchasePlan`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52111,13 +46260,6 @@ pub struct MarketplacePurchaseCancelledMarketplacePurchasePlan { pub unit_name: ::std::option::Option<::std::string::String>, pub yearly_price_in_cents: i64, } -impl ::std::convert::From<&MarketplacePurchaseCancelledMarketplacePurchasePlan> - for MarketplacePurchaseCancelledMarketplacePurchasePlan -{ - fn from(value: &MarketplacePurchaseCancelledMarketplacePurchasePlan) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseCancelledSender`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52240,13 +46382,6 @@ pub struct MarketplacePurchaseCancelledSender { pub type_: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchaseCancelledSender> - for MarketplacePurchaseCancelledSender -{ - fn from(value: &MarketplacePurchaseCancelledSender) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseChanged`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52401,11 +46536,6 @@ pub struct MarketplacePurchaseChanged { pub previous_marketplace_purchase: ::std::option::Option, pub sender: MarketplacePurchaseChangedSender, } -impl ::std::convert::From<&MarketplacePurchaseChanged> for MarketplacePurchaseChanged { - fn from(value: &MarketplacePurchaseChanged) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseChangedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52435,11 +46565,6 @@ pub enum MarketplacePurchaseChangedAction { #[serde(rename = "changed")] Changed, } -impl ::std::convert::From<&Self> for MarketplacePurchaseChangedAction { - fn from(value: &MarketplacePurchaseChangedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MarketplacePurchaseChangedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -52462,14 +46587,6 @@ impl ::std::convert::TryFrom<&str> for MarketplacePurchaseChangedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MarketplacePurchaseChangedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MarketplacePurchaseChangedAction { type Error = self::error::ConversionError; fn try_from( @@ -52515,13 +46632,6 @@ pub struct MarketplacePurchaseChangedMarketplacePurchase { pub plan: MarketplacePurchaseChangedMarketplacePurchasePlan, pub unit_count: i64, } -impl ::std::convert::From<&MarketplacePurchaseChangedMarketplacePurchase> - for MarketplacePurchaseChangedMarketplacePurchase -{ - fn from(value: &MarketplacePurchaseChangedMarketplacePurchase) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseChangedMarketplacePurchaseAccount`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52567,13 +46677,6 @@ pub struct MarketplacePurchaseChangedMarketplacePurchaseAccount { #[serde(rename = "type")] pub type_: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchaseChangedMarketplacePurchaseAccount> - for MarketplacePurchaseChangedMarketplacePurchaseAccount -{ - fn from(value: &MarketplacePurchaseChangedMarketplacePurchaseAccount) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseChangedMarketplacePurchasePlan`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52644,13 +46747,6 @@ pub struct MarketplacePurchaseChangedMarketplacePurchasePlan { pub unit_name: ::std::option::Option<::std::string::String>, pub yearly_price_in_cents: i64, } -impl ::std::convert::From<&MarketplacePurchaseChangedMarketplacePurchasePlan> - for MarketplacePurchaseChangedMarketplacePurchasePlan -{ - fn from(value: &MarketplacePurchaseChangedMarketplacePurchasePlan) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseChangedSender`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52773,11 +46869,6 @@ pub struct MarketplacePurchaseChangedSender { pub type_: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchaseChangedSender> for MarketplacePurchaseChangedSender { - fn from(value: &MarketplacePurchaseChangedSender) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchaseEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -52813,11 +46904,6 @@ pub enum MarketplacePurchaseEvent { PendingChangeCancelled(MarketplacePurchasePendingChangeCancelled), Purchased(MarketplacePurchasePurchased), } -impl ::std::convert::From<&Self> for MarketplacePurchaseEvent { - fn from(value: &MarketplacePurchaseEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for MarketplacePurchaseEvent { fn from(value: MarketplacePurchaseCancelled) -> Self { Self::Cancelled(value) @@ -52997,11 +47083,6 @@ pub struct MarketplacePurchasePendingChange { pub previous_marketplace_purchase: ::std::option::Option, pub sender: MarketplacePurchasePendingChangeSender, } -impl ::std::convert::From<&MarketplacePurchasePendingChange> for MarketplacePurchasePendingChange { - fn from(value: &MarketplacePurchasePendingChange) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53031,11 +47112,6 @@ pub enum MarketplacePurchasePendingChangeAction { #[serde(rename = "pending_change")] PendingChange, } -impl ::std::convert::From<&Self> for MarketplacePurchasePendingChangeAction { - fn from(value: &MarketplacePurchasePendingChangeAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MarketplacePurchasePendingChangeAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -53058,14 +47134,6 @@ impl ::std::convert::TryFrom<&str> for MarketplacePurchasePendingChangeAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MarketplacePurchasePendingChangeAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MarketplacePurchasePendingChangeAction { type Error = self::error::ConversionError; fn try_from( @@ -53228,13 +47296,6 @@ pub struct MarketplacePurchasePendingChangeCancelled { pub previous_marketplace_purchase: ::std::option::Option, pub sender: MarketplacePurchasePendingChangeCancelledSender, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeCancelled> - for MarketplacePurchasePendingChangeCancelled -{ - fn from(value: &MarketplacePurchasePendingChangeCancelled) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeCancelledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53264,11 +47325,6 @@ pub enum MarketplacePurchasePendingChangeCancelledAction { #[serde(rename = "pending_change_cancelled")] PendingChangeCancelled, } -impl ::std::convert::From<&Self> for MarketplacePurchasePendingChangeCancelledAction { - fn from(value: &MarketplacePurchasePendingChangeCancelledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MarketplacePurchasePendingChangeCancelledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -53291,16 +47347,6 @@ impl ::std::convert::TryFrom<&str> for MarketplacePurchasePendingChangeCancelled value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for MarketplacePurchasePendingChangeCancelledAction -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MarketplacePurchasePendingChangeCancelledAction { @@ -53348,13 +47394,6 @@ pub struct MarketplacePurchasePendingChangeCancelledMarketplacePurchase { pub plan: MarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan, pub unit_count: i64, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeCancelledMarketplacePurchase> - for MarketplacePurchasePendingChangeCancelledMarketplacePurchase -{ - fn from(value: &MarketplacePurchasePendingChangeCancelledMarketplacePurchase) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53400,13 +47439,6 @@ pub struct MarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount { #[serde(rename = "type")] pub type_: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount> - for MarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount -{ - fn from(value: &MarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53477,13 +47509,6 @@ pub struct MarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan { pub unit_name: ::std::option::Option<::std::string::String>, pub yearly_price_in_cents: i64, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan> - for MarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan -{ - fn from(value: &MarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeCancelledSender`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53606,13 +47631,6 @@ pub struct MarketplacePurchasePendingChangeCancelledSender { pub type_: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeCancelledSender> - for MarketplacePurchasePendingChangeCancelledSender -{ - fn from(value: &MarketplacePurchasePendingChangeCancelledSender) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeMarketplacePurchase`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53650,13 +47668,6 @@ pub struct MarketplacePurchasePendingChangeMarketplacePurchase { pub plan: MarketplacePurchasePendingChangeMarketplacePurchasePlan, pub unit_count: i64, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeMarketplacePurchase> - for MarketplacePurchasePendingChangeMarketplacePurchase -{ - fn from(value: &MarketplacePurchasePendingChangeMarketplacePurchase) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeMarketplacePurchaseAccount`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53702,13 +47713,6 @@ pub struct MarketplacePurchasePendingChangeMarketplacePurchaseAccount { #[serde(rename = "type")] pub type_: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeMarketplacePurchaseAccount> - for MarketplacePurchasePendingChangeMarketplacePurchaseAccount -{ - fn from(value: &MarketplacePurchasePendingChangeMarketplacePurchaseAccount) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeMarketplacePurchasePlan`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53779,13 +47783,6 @@ pub struct MarketplacePurchasePendingChangeMarketplacePurchasePlan { pub unit_name: ::std::option::Option<::std::string::String>, pub yearly_price_in_cents: i64, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeMarketplacePurchasePlan> - for MarketplacePurchasePendingChangeMarketplacePurchasePlan -{ - fn from(value: &MarketplacePurchasePendingChangeMarketplacePurchasePlan) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePendingChangeSender`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53908,13 +47905,6 @@ pub struct MarketplacePurchasePendingChangeSender { pub type_: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchasePendingChangeSender> - for MarketplacePurchasePendingChangeSender -{ - fn from(value: &MarketplacePurchasePendingChangeSender) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePlan`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -53985,11 +47975,6 @@ pub struct MarketplacePurchasePlan { pub unit_name: ::std::option::Option<::std::string::String>, pub yearly_price_in_cents: i64, } -impl ::std::convert::From<&MarketplacePurchasePlan> for MarketplacePurchasePlan { - fn from(value: &MarketplacePurchasePlan) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePurchased`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -54144,11 +48129,6 @@ pub struct MarketplacePurchasePurchased { pub previous_marketplace_purchase: ::std::option::Option, pub sender: MarketplacePurchasePurchasedSender, } -impl ::std::convert::From<&MarketplacePurchasePurchased> for MarketplacePurchasePurchased { - fn from(value: &MarketplacePurchasePurchased) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePurchasedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -54178,11 +48158,6 @@ pub enum MarketplacePurchasePurchasedAction { #[serde(rename = "purchased")] Purchased, } -impl ::std::convert::From<&Self> for MarketplacePurchasePurchasedAction { - fn from(value: &MarketplacePurchasePurchasedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MarketplacePurchasePurchasedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -54205,14 +48180,6 @@ impl ::std::convert::TryFrom<&str> for MarketplacePurchasePurchasedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MarketplacePurchasePurchasedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MarketplacePurchasePurchasedAction { type Error = self::error::ConversionError; fn try_from( @@ -54258,13 +48225,6 @@ pub struct MarketplacePurchasePurchasedMarketplacePurchase { pub plan: MarketplacePurchasePurchasedMarketplacePurchasePlan, pub unit_count: i64, } -impl ::std::convert::From<&MarketplacePurchasePurchasedMarketplacePurchase> - for MarketplacePurchasePurchasedMarketplacePurchase -{ - fn from(value: &MarketplacePurchasePurchasedMarketplacePurchase) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePurchasedMarketplacePurchaseAccount`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -54310,13 +48270,6 @@ pub struct MarketplacePurchasePurchasedMarketplacePurchaseAccount { #[serde(rename = "type")] pub type_: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchasePurchasedMarketplacePurchaseAccount> - for MarketplacePurchasePurchasedMarketplacePurchaseAccount -{ - fn from(value: &MarketplacePurchasePurchasedMarketplacePurchaseAccount) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePurchasedMarketplacePurchasePlan`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -54387,13 +48340,6 @@ pub struct MarketplacePurchasePurchasedMarketplacePurchasePlan { pub unit_name: ::std::option::Option<::std::string::String>, pub yearly_price_in_cents: i64, } -impl ::std::convert::From<&MarketplacePurchasePurchasedMarketplacePurchasePlan> - for MarketplacePurchasePurchasedMarketplacePurchasePlan -{ - fn from(value: &MarketplacePurchasePurchasedMarketplacePurchasePlan) -> Self { - value.clone() - } -} #[doc = "`MarketplacePurchasePurchasedSender`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -54516,13 +48462,6 @@ pub struct MarketplacePurchasePurchasedSender { pub type_: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&MarketplacePurchasePurchasedSender> - for MarketplacePurchasePurchasedSender -{ - fn from(value: &MarketplacePurchasePurchasedSender) -> Self { - value.clone() - } -} #[doc = "Activity related to repository collaborators. The type of activity is specified in the action property."] #[doc = r""] #[doc = r"
JSON schema"] @@ -54599,11 +48538,6 @@ pub struct MemberAdded { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MemberAdded> for MemberAdded { - fn from(value: &MemberAdded) -> Self { - value.clone() - } -} #[doc = "`MemberAddedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -54633,11 +48567,6 @@ pub enum MemberAddedAction { #[serde(rename = "added")] Added, } -impl ::std::convert::From<&Self> for MemberAddedAction { - fn from(value: &MemberAddedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MemberAddedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -54660,14 +48589,6 @@ impl ::std::convert::TryFrom<&str> for MemberAddedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MemberAddedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MemberAddedAction { type Error = self::error::ConversionError; fn try_from( @@ -54711,11 +48632,6 @@ pub struct MemberAddedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub permission: ::std::option::Option, } -impl ::std::convert::From<&MemberAddedChanges> for MemberAddedChanges { - fn from(value: &MemberAddedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for MemberAddedChanges { fn default() -> Self { Self { @@ -54751,11 +48667,6 @@ impl ::std::default::Default for MemberAddedChanges { pub struct MemberAddedChangesPermission { pub to: MemberAddedChangesPermissionTo, } -impl ::std::convert::From<&MemberAddedChangesPermission> for MemberAddedChangesPermission { - fn from(value: &MemberAddedChangesPermission) -> Self { - value.clone() - } -} #[doc = "`MemberAddedChangesPermissionTo`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -54788,11 +48699,6 @@ pub enum MemberAddedChangesPermissionTo { #[serde(rename = "admin")] Admin, } -impl ::std::convert::From<&Self> for MemberAddedChangesPermissionTo { - fn from(value: &MemberAddedChangesPermissionTo) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MemberAddedChangesPermissionTo { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -54817,14 +48723,6 @@ impl ::std::convert::TryFrom<&str> for MemberAddedChangesPermissionTo { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MemberAddedChangesPermissionTo { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MemberAddedChangesPermissionTo { type Error = self::error::ConversionError; fn try_from( @@ -54909,11 +48807,6 @@ pub struct MemberEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MemberEdited> for MemberEdited { - fn from(value: &MemberEdited) -> Self { - value.clone() - } -} #[doc = "`MemberEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -54943,11 +48836,6 @@ pub enum MemberEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for MemberEditedAction { - fn from(value: &MemberEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MemberEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -54970,14 +48858,6 @@ impl ::std::convert::TryFrom<&str> for MemberEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MemberEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MemberEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -55021,11 +48901,6 @@ impl ::std::convert::TryFrom<::std::string::String> for MemberEditedAction { pub struct MemberEditedChanges { pub old_permission: MemberEditedChangesOldPermission, } -impl ::std::convert::From<&MemberEditedChanges> for MemberEditedChanges { - fn from(value: &MemberEditedChanges) -> Self { - value.clone() - } -} #[doc = "`MemberEditedChangesOldPermission`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -55052,11 +48927,6 @@ pub struct MemberEditedChangesOldPermission { #[doc = "The previous permissions of the collaborator if the action was edited."] pub from: ::std::string::String, } -impl ::std::convert::From<&MemberEditedChangesOldPermission> for MemberEditedChangesOldPermission { - fn from(value: &MemberEditedChangesOldPermission) -> Self { - value.clone() - } -} #[doc = "`MemberEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -55084,11 +48954,6 @@ pub enum MemberEvent { Edited(MemberEdited), Removed(MemberRemoved), } -impl ::std::convert::From<&Self> for MemberEvent { - fn from(value: &MemberEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for MemberEvent { fn from(value: MemberAdded) -> Self { Self::Added(value) @@ -55155,11 +49020,6 @@ pub struct MemberRemoved { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MemberRemoved> for MemberRemoved { - fn from(value: &MemberRemoved) -> Self { - value.clone() - } -} #[doc = "`MemberRemovedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -55189,11 +49049,6 @@ pub enum MemberRemovedAction { #[serde(rename = "removed")] Removed, } -impl ::std::convert::From<&Self> for MemberRemovedAction { - fn from(value: &MemberRemovedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MemberRemovedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -55216,14 +49071,6 @@ impl ::std::convert::TryFrom<&str> for MemberRemovedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MemberRemovedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MemberRemovedAction { type Error = self::error::ConversionError; fn try_from( @@ -55281,11 +49128,6 @@ pub struct Membership { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&Membership> for Membership { - fn from(value: &Membership) -> Self { - value.clone() - } -} #[doc = "`MembershipAdded`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -55354,11 +49196,6 @@ pub struct MembershipAdded { #[doc = "The [team](https://docs.github.com/en/rest/reference/teams) for the membership."] pub team: Team, } -impl ::std::convert::From<&MembershipAdded> for MembershipAdded { - fn from(value: &MembershipAdded) -> Self { - value.clone() - } -} #[doc = "`MembershipAddedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -55388,11 +49225,6 @@ pub enum MembershipAddedAction { #[serde(rename = "added")] Added, } -impl ::std::convert::From<&Self> for MembershipAddedAction { - fn from(value: &MembershipAddedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MembershipAddedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -55415,14 +49247,6 @@ impl ::std::convert::TryFrom<&str> for MembershipAddedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MembershipAddedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MembershipAddedAction { type Error = self::error::ConversionError; fn try_from( @@ -55461,11 +49285,6 @@ pub enum MembershipAddedScope { #[serde(rename = "team")] Team, } -impl ::std::convert::From<&Self> for MembershipAddedScope { - fn from(value: &MembershipAddedScope) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MembershipAddedScope { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -55488,14 +49307,6 @@ impl ::std::convert::TryFrom<&str> for MembershipAddedScope { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MembershipAddedScope { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MembershipAddedScope { type Error = self::error::ConversionError; fn try_from( @@ -55527,11 +49338,6 @@ pub enum MembershipEvent { Added(MembershipAdded), Removed(MembershipRemoved), } -impl ::std::convert::From<&Self> for MembershipEvent { - fn from(value: &MembershipEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for MembershipEvent { fn from(value: MembershipAdded) -> Self { Self::Added(value) @@ -55634,11 +49440,6 @@ pub struct MembershipRemoved { #[doc = "The [team](https://docs.github.com/en/rest/reference/teams) for the membership."] pub team: MembershipRemovedTeam, } -impl ::std::convert::From<&MembershipRemoved> for MembershipRemoved { - fn from(value: &MembershipRemoved) -> Self { - value.clone() - } -} #[doc = "`MembershipRemovedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -55668,11 +49469,6 @@ pub enum MembershipRemovedAction { #[serde(rename = "removed")] Removed, } -impl ::std::convert::From<&Self> for MembershipRemovedAction { - fn from(value: &MembershipRemovedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MembershipRemovedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -55695,14 +49491,6 @@ impl ::std::convert::TryFrom<&str> for MembershipRemovedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MembershipRemovedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MembershipRemovedAction { type Error = self::error::ConversionError; fn try_from( @@ -55744,11 +49532,6 @@ pub enum MembershipRemovedScope { #[serde(rename = "organization")] Organization, } -impl ::std::convert::From<&Self> for MembershipRemovedScope { - fn from(value: &MembershipRemovedScope) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MembershipRemovedScope { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -55773,14 +49556,6 @@ impl ::std::convert::TryFrom<&str> for MembershipRemovedScope { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MembershipRemovedScope { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MembershipRemovedScope { type Error = self::error::ConversionError; fn try_from( @@ -55834,11 +49609,6 @@ pub enum MembershipRemovedTeam { name: ::std::string::String, }, } -impl ::std::convert::From<&Self> for MembershipRemovedTeam { - fn from(value: &MembershipRemovedTeam) -> Self { - value.clone() - } -} impl ::std::convert::From for MembershipRemovedTeam { fn from(value: Team) -> Self { Self::Team(value) @@ -55955,11 +49725,6 @@ pub struct MetaDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MetaDeleted> for MetaDeleted { - fn from(value: &MetaDeleted) -> Self { - value.clone() - } -} #[doc = "`MetaDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -55989,11 +49754,6 @@ pub enum MetaDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for MetaDeletedAction { - fn from(value: &MetaDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MetaDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -56016,14 +49776,6 @@ impl ::std::convert::TryFrom<&str> for MetaDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MetaDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MetaDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -56115,11 +49867,6 @@ pub struct MetaDeletedHook { pub type_: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&MetaDeletedHook> for MetaDeletedHook { - fn from(value: &MetaDeletedHook) -> Self { - value.clone() - } -} #[doc = "`MetaDeletedHookConfig`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -56159,11 +49906,6 @@ pub struct MetaDeletedHookConfig { pub insecure_ssl: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&MetaDeletedHookConfig> for MetaDeletedHookConfig { - fn from(value: &MetaDeletedHookConfig) -> Self { - value.clone() - } -} #[doc = "`MetaDeletedHookConfigContentType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -56196,11 +49938,6 @@ pub enum MetaDeletedHookConfigContentType { #[serde(rename = "form")] Form, } -impl ::std::convert::From<&Self> for MetaDeletedHookConfigContentType { - fn from(value: &MetaDeletedHookConfigContentType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MetaDeletedHookConfigContentType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -56225,14 +49962,6 @@ impl ::std::convert::TryFrom<&str> for MetaDeletedHookConfigContentType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MetaDeletedHookConfigContentType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MetaDeletedHookConfigContentType { type Error = self::error::ConversionError; fn try_from( @@ -56269,11 +49998,6 @@ impl ::std::convert::From for MetaDeleted { value.0 } } -impl ::std::convert::From<&MetaEvent> for MetaEvent { - fn from(value: &MetaEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for MetaEvent { fn from(value: MetaDeleted) -> Self { Self(value) @@ -56407,11 +50131,6 @@ pub struct Milestone { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&Milestone> for Milestone { - fn from(value: &Milestone) -> Self { - value.clone() - } -} #[doc = "`MilestoneClosed`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -56489,11 +50208,6 @@ pub struct MilestoneClosed { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MilestoneClosed> for MilestoneClosed { - fn from(value: &MilestoneClosed) -> Self { - value.clone() - } -} #[doc = "`MilestoneClosedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -56523,11 +50237,6 @@ pub enum MilestoneClosedAction { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for MilestoneClosedAction { - fn from(value: &MilestoneClosedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneClosedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -56550,14 +50259,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneClosedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneClosedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneClosedAction { type Error = self::error::ConversionError; fn try_from( @@ -56621,11 +50322,6 @@ pub struct MilestoneClosedMilestone { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&MilestoneClosedMilestone> for MilestoneClosedMilestone { - fn from(value: &MilestoneClosedMilestone) -> Self { - value.clone() - } -} #[doc = "`MilestoneClosedMilestoneState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -56655,11 +50351,6 @@ pub enum MilestoneClosedMilestoneState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for MilestoneClosedMilestoneState { - fn from(value: &MilestoneClosedMilestoneState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneClosedMilestoneState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -56682,14 +50373,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneClosedMilestoneState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneClosedMilestoneState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneClosedMilestoneState { type Error = self::error::ConversionError; fn try_from( @@ -56775,11 +50458,6 @@ pub struct MilestoneCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MilestoneCreated> for MilestoneCreated { - fn from(value: &MilestoneCreated) -> Self { - value.clone() - } -} #[doc = "`MilestoneCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -56809,11 +50487,6 @@ pub enum MilestoneCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for MilestoneCreatedAction { - fn from(value: &MilestoneCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -56836,14 +50509,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -56907,11 +50572,6 @@ pub struct MilestoneCreatedMilestone { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&MilestoneCreatedMilestone> for MilestoneCreatedMilestone { - fn from(value: &MilestoneCreatedMilestone) -> Self { - value.clone() - } -} #[doc = "`MilestoneCreatedMilestoneState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -56941,11 +50601,6 @@ pub enum MilestoneCreatedMilestoneState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for MilestoneCreatedMilestoneState { - fn from(value: &MilestoneCreatedMilestoneState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneCreatedMilestoneState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -56968,14 +50623,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneCreatedMilestoneState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneCreatedMilestoneState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneCreatedMilestoneState { type Error = self::error::ConversionError; fn try_from( @@ -57038,11 +50685,6 @@ pub struct MilestoneDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MilestoneDeleted> for MilestoneDeleted { - fn from(value: &MilestoneDeleted) -> Self { - value.clone() - } -} #[doc = "`MilestoneDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -57072,11 +50714,6 @@ pub enum MilestoneDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for MilestoneDeletedAction { - fn from(value: &MilestoneDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -57099,14 +50736,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -57217,11 +50846,6 @@ pub struct MilestoneEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MilestoneEdited> for MilestoneEdited { - fn from(value: &MilestoneEdited) -> Self { - value.clone() - } -} #[doc = "`MilestoneEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -57251,11 +50875,6 @@ pub enum MilestoneEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for MilestoneEditedAction { - fn from(value: &MilestoneEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -57278,14 +50897,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -57357,11 +50968,6 @@ pub struct MilestoneEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option, } -impl ::std::convert::From<&MilestoneEditedChanges> for MilestoneEditedChanges { - fn from(value: &MilestoneEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for MilestoneEditedChanges { fn default() -> Self { Self { @@ -57397,13 +51003,6 @@ pub struct MilestoneEditedChangesDescription { #[doc = "The previous version of the description if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&MilestoneEditedChangesDescription> - for MilestoneEditedChangesDescription -{ - fn from(value: &MilestoneEditedChangesDescription) -> Self { - value.clone() - } -} #[doc = "`MilestoneEditedChangesDueOn`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -57430,11 +51029,6 @@ pub struct MilestoneEditedChangesDueOn { #[doc = "The previous version of the due date if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&MilestoneEditedChangesDueOn> for MilestoneEditedChangesDueOn { - fn from(value: &MilestoneEditedChangesDueOn) -> Self { - value.clone() - } -} #[doc = "`MilestoneEditedChangesTitle`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -57461,11 +51055,6 @@ pub struct MilestoneEditedChangesTitle { #[doc = "The previous version of the title if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&MilestoneEditedChangesTitle> for MilestoneEditedChangesTitle { - fn from(value: &MilestoneEditedChangesTitle) -> Self { - value.clone() - } -} #[doc = "`MilestoneEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -57501,11 +51090,6 @@ pub enum MilestoneEvent { Edited(MilestoneEdited), Opened(MilestoneOpened), } -impl ::std::convert::From<&Self> for MilestoneEvent { - fn from(value: &MilestoneEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for MilestoneEvent { fn from(value: MilestoneClosed) -> Self { Self::Closed(value) @@ -57608,11 +51192,6 @@ pub struct MilestoneOpened { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&MilestoneOpened> for MilestoneOpened { - fn from(value: &MilestoneOpened) -> Self { - value.clone() - } -} #[doc = "`MilestoneOpenedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -57642,11 +51221,6 @@ pub enum MilestoneOpenedAction { #[serde(rename = "opened")] Opened, } -impl ::std::convert::From<&Self> for MilestoneOpenedAction { - fn from(value: &MilestoneOpenedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneOpenedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -57669,14 +51243,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneOpenedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneOpenedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneOpenedAction { type Error = self::error::ConversionError; fn try_from( @@ -57740,11 +51306,6 @@ pub struct MilestoneOpenedMilestone { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&MilestoneOpenedMilestone> for MilestoneOpenedMilestone { - fn from(value: &MilestoneOpenedMilestone) -> Self { - value.clone() - } -} #[doc = "`MilestoneOpenedMilestoneState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -57774,11 +51335,6 @@ pub enum MilestoneOpenedMilestoneState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for MilestoneOpenedMilestoneState { - fn from(value: &MilestoneOpenedMilestoneState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneOpenedMilestoneState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -57801,14 +51357,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneOpenedMilestoneState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneOpenedMilestoneState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneOpenedMilestoneState { type Error = self::error::ConversionError; fn try_from( @@ -57850,11 +51398,6 @@ pub enum MilestoneState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for MilestoneState { - fn from(value: &MilestoneState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for MilestoneState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -57879,14 +51422,6 @@ impl ::std::convert::TryFrom<&str> for MilestoneState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for MilestoneState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for MilestoneState { type Error = self::error::ConversionError; fn try_from( @@ -57946,11 +51481,6 @@ pub struct OrgBlockBlocked { pub organization: Organization, pub sender: User, } -impl ::std::convert::From<&OrgBlockBlocked> for OrgBlockBlocked { - fn from(value: &OrgBlockBlocked) -> Self { - value.clone() - } -} #[doc = "`OrgBlockBlockedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -57980,11 +51510,6 @@ pub enum OrgBlockBlockedAction { #[serde(rename = "blocked")] Blocked, } -impl ::std::convert::From<&Self> for OrgBlockBlockedAction { - fn from(value: &OrgBlockBlockedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for OrgBlockBlockedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -58007,14 +51532,6 @@ impl ::std::convert::TryFrom<&str> for OrgBlockBlockedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for OrgBlockBlockedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for OrgBlockBlockedAction { type Error = self::error::ConversionError; fn try_from( @@ -58046,11 +51563,6 @@ pub enum OrgBlockEvent { Blocked(OrgBlockBlocked), Unblocked(OrgBlockUnblocked), } -impl ::std::convert::From<&Self> for OrgBlockEvent { - fn from(value: &OrgBlockEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for OrgBlockEvent { fn from(value: OrgBlockBlocked) -> Self { Self::Blocked(value) @@ -58112,11 +51624,6 @@ pub struct OrgBlockUnblocked { pub organization: Organization, pub sender: User, } -impl ::std::convert::From<&OrgBlockUnblocked> for OrgBlockUnblocked { - fn from(value: &OrgBlockUnblocked) -> Self { - value.clone() - } -} #[doc = "`OrgBlockUnblockedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -58146,11 +51653,6 @@ pub enum OrgBlockUnblockedAction { #[serde(rename = "unblocked")] Unblocked, } -impl ::std::convert::From<&Self> for OrgBlockUnblockedAction { - fn from(value: &OrgBlockUnblockedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for OrgBlockUnblockedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -58173,14 +51675,6 @@ impl ::std::convert::TryFrom<&str> for OrgBlockUnblockedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for OrgBlockUnblockedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for OrgBlockUnblockedAction { type Error = self::error::ConversionError; fn try_from( @@ -58287,11 +51781,6 @@ pub struct Organization { pub repos_url: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&Organization> for Organization { - fn from(value: &Organization) -> Self { - value.clone() - } -} #[doc = "`OrganizationDeleted`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -58341,11 +51830,6 @@ pub struct OrganizationDeleted { pub organization: Organization, pub sender: User, } -impl ::std::convert::From<&OrganizationDeleted> for OrganizationDeleted { - fn from(value: &OrganizationDeleted) -> Self { - value.clone() - } -} #[doc = "`OrganizationDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -58375,11 +51859,6 @@ pub enum OrganizationDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for OrganizationDeletedAction { - fn from(value: &OrganizationDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for OrganizationDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -58402,14 +51881,6 @@ impl ::std::convert::TryFrom<&str> for OrganizationDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for OrganizationDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for OrganizationDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -58453,11 +51924,6 @@ pub enum OrganizationEvent { MemberRemoved(OrganizationMemberRemoved), Renamed(OrganizationRenamed), } -impl ::std::convert::From<&Self> for OrganizationEvent { - fn from(value: &OrganizationEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for OrganizationEvent { fn from(value: OrganizationDeleted) -> Self { Self::Deleted(value) @@ -58532,11 +51998,6 @@ pub struct OrganizationMemberAdded { pub organization: Organization, pub sender: User, } -impl ::std::convert::From<&OrganizationMemberAdded> for OrganizationMemberAdded { - fn from(value: &OrganizationMemberAdded) -> Self { - value.clone() - } -} #[doc = "`OrganizationMemberAddedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -58566,11 +52027,6 @@ pub enum OrganizationMemberAddedAction { #[serde(rename = "member_added")] MemberAdded, } -impl ::std::convert::From<&Self> for OrganizationMemberAddedAction { - fn from(value: &OrganizationMemberAddedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for OrganizationMemberAddedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -58593,14 +52049,6 @@ impl ::std::convert::TryFrom<&str> for OrganizationMemberAddedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for OrganizationMemberAddedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for OrganizationMemberAddedAction { type Error = self::error::ConversionError; fn try_from( @@ -58729,11 +52177,6 @@ pub struct OrganizationMemberInvited { pub sender: User, pub user: User, } -impl ::std::convert::From<&OrganizationMemberInvited> for OrganizationMemberInvited { - fn from(value: &OrganizationMemberInvited) -> Self { - value.clone() - } -} #[doc = "`OrganizationMemberInvitedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -58763,11 +52206,6 @@ pub enum OrganizationMemberInvitedAction { #[serde(rename = "member_invited")] MemberInvited, } -impl ::std::convert::From<&Self> for OrganizationMemberInvitedAction { - fn from(value: &OrganizationMemberInvitedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for OrganizationMemberInvitedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -58790,14 +52228,6 @@ impl ::std::convert::TryFrom<&str> for OrganizationMemberInvitedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for OrganizationMemberInvitedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for OrganizationMemberInvitedAction { type Error = self::error::ConversionError; fn try_from( @@ -58897,13 +52327,6 @@ pub struct OrganizationMemberInvitedInvitation { pub role: ::std::string::String, pub team_count: f64, } -impl ::std::convert::From<&OrganizationMemberInvitedInvitation> - for OrganizationMemberInvitedInvitation -{ - fn from(value: &OrganizationMemberInvitedInvitation) -> Self { - value.clone() - } -} #[doc = "`OrganizationMemberRemoved`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -58953,11 +52376,6 @@ pub struct OrganizationMemberRemoved { pub organization: Organization, pub sender: User, } -impl ::std::convert::From<&OrganizationMemberRemoved> for OrganizationMemberRemoved { - fn from(value: &OrganizationMemberRemoved) -> Self { - value.clone() - } -} #[doc = "`OrganizationMemberRemovedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -58987,11 +52405,6 @@ pub enum OrganizationMemberRemovedAction { #[serde(rename = "member_removed")] MemberRemoved, } -impl ::std::convert::From<&Self> for OrganizationMemberRemovedAction { - fn from(value: &OrganizationMemberRemovedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for OrganizationMemberRemovedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -59014,14 +52427,6 @@ impl ::std::convert::TryFrom<&str> for OrganizationMemberRemovedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for OrganizationMemberRemovedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for OrganizationMemberRemovedAction { type Error = self::error::ConversionError; fn try_from( @@ -59079,11 +52484,6 @@ pub struct OrganizationRenamed { pub organization: Organization, pub sender: User, } -impl ::std::convert::From<&OrganizationRenamed> for OrganizationRenamed { - fn from(value: &OrganizationRenamed) -> Self { - value.clone() - } -} #[doc = "`OrganizationRenamedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -59113,11 +52513,6 @@ pub enum OrganizationRenamedAction { #[serde(rename = "renamed")] Renamed, } -impl ::std::convert::From<&Self> for OrganizationRenamedAction { - fn from(value: &OrganizationRenamedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for OrganizationRenamedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -59140,14 +52535,6 @@ impl ::std::convert::TryFrom<&str> for OrganizationRenamedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for OrganizationRenamedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for OrganizationRenamedAction { type Error = self::error::ConversionError; fn try_from( @@ -59179,11 +52566,6 @@ pub enum PackageEvent { Published(PackagePublished), Updated(PackageUpdated), } -impl ::std::convert::From<&Self> for PackageEvent { - fn from(value: &PackageEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for PackageEvent { fn from(value: PackagePublished) -> Self { Self::Published(value) @@ -59532,11 +52914,6 @@ pub struct PackagePublished { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PackagePublished> for PackagePublished { - fn from(value: &PackagePublished) -> Self { - value.clone() - } -} #[doc = "`PackagePublishedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -59566,11 +52943,6 @@ pub enum PackagePublishedAction { #[serde(rename = "published")] Published, } -impl ::std::convert::From<&Self> for PackagePublishedAction { - fn from(value: &PackagePublishedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PackagePublishedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -59593,14 +52965,6 @@ impl ::std::convert::TryFrom<&str> for PackagePublishedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PackagePublishedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PackagePublishedAction { type Error = self::error::ConversionError; fn try_from( @@ -59924,11 +53288,6 @@ pub struct PackagePublishedPackage { pub registry: PackagePublishedPackageRegistry, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&PackagePublishedPackage> for PackagePublishedPackage { - fn from(value: &PackagePublishedPackage) -> Self { - value.clone() - } -} #[doc = "`PackagePublishedPackagePackageVersion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -60170,13 +53529,6 @@ pub struct PackagePublishedPackagePackageVersion { pub updated_at: ::std::string::String, pub version: ::std::string::String, } -impl ::std::convert::From<&PackagePublishedPackagePackageVersion> - for PackagePublishedPackagePackageVersion -{ - fn from(value: &PackagePublishedPackagePackageVersion) -> Self { - value.clone() - } -} #[doc = "`PackagePublishedPackagePackageVersionPackageFilesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -60252,13 +53604,6 @@ pub struct PackagePublishedPackagePackageVersionPackageFilesItem { pub state: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&PackagePublishedPackagePackageVersionPackageFilesItem> - for PackagePublishedPackagePackageVersionPackageFilesItem -{ - fn from(value: &PackagePublishedPackagePackageVersionPackageFilesItem) -> Self { - value.clone() - } -} #[doc = "`PackagePublishedPackagePackageVersionRelease`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -60335,13 +53680,6 @@ pub struct PackagePublishedPackagePackageVersionRelease { pub target_commitish: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&PackagePublishedPackagePackageVersionRelease> - for PackagePublishedPackagePackageVersionRelease -{ - fn from(value: &PackagePublishedPackagePackageVersionRelease) -> Self { - value.clone() - } -} #[doc = "`PackagePublishedPackageRegistry`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -60389,11 +53727,6 @@ pub struct PackagePublishedPackageRegistry { pub url: ::std::string::String, pub vendor: ::std::string::String, } -impl ::std::convert::From<&PackagePublishedPackageRegistry> for PackagePublishedPackageRegistry { - fn from(value: &PackagePublishedPackageRegistry) -> Self { - value.clone() - } -} #[doc = "`PackageUpdated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -60733,11 +54066,6 @@ pub struct PackageUpdated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PackageUpdated> for PackageUpdated { - fn from(value: &PackageUpdated) -> Self { - value.clone() - } -} #[doc = "`PackageUpdatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -60767,11 +54095,6 @@ pub enum PackageUpdatedAction { #[serde(rename = "updated")] Updated, } -impl ::std::convert::From<&Self> for PackageUpdatedAction { - fn from(value: &PackageUpdatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PackageUpdatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -60794,14 +54117,6 @@ impl ::std::convert::TryFrom<&str> for PackageUpdatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PackageUpdatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PackageUpdatedAction { type Error = self::error::ConversionError; fn try_from( @@ -61126,11 +54441,6 @@ pub struct PackageUpdatedPackage { pub registry: PackageUpdatedPackageRegistry, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&PackageUpdatedPackage> for PackageUpdatedPackage { - fn from(value: &PackageUpdatedPackage) -> Self { - value.clone() - } -} #[doc = "`PackageUpdatedPackagePackageVersion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -61373,13 +54683,6 @@ pub struct PackageUpdatedPackagePackageVersion { pub updated_at: ::std::string::String, pub version: ::std::string::String, } -impl ::std::convert::From<&PackageUpdatedPackagePackageVersion> - for PackageUpdatedPackagePackageVersion -{ - fn from(value: &PackageUpdatedPackagePackageVersion) -> Self { - value.clone() - } -} #[doc = "`PackageUpdatedPackagePackageVersionPackageFilesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -61455,13 +54758,6 @@ pub struct PackageUpdatedPackagePackageVersionPackageFilesItem { pub state: ::std::string::String, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&PackageUpdatedPackagePackageVersionPackageFilesItem> - for PackageUpdatedPackagePackageVersionPackageFilesItem -{ - fn from(value: &PackageUpdatedPackagePackageVersionPackageFilesItem) -> Self { - value.clone() - } -} #[doc = "`PackageUpdatedPackagePackageVersionRelease`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -61538,13 +54834,6 @@ pub struct PackageUpdatedPackagePackageVersionRelease { pub target_commitish: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&PackageUpdatedPackagePackageVersionRelease> - for PackageUpdatedPackagePackageVersionRelease -{ - fn from(value: &PackageUpdatedPackagePackageVersionRelease) -> Self { - value.clone() - } -} #[doc = "`PackageUpdatedPackageRegistry`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -61592,11 +54881,6 @@ pub struct PackageUpdatedPackageRegistry { pub url: ::std::string::String, pub vendor: ::std::string::String, } -impl ::std::convert::From<&PackageUpdatedPackageRegistry> for PackageUpdatedPackageRegistry { - fn from(value: &PackageUpdatedPackageRegistry) -> Self { - value.clone() - } -} #[doc = "Page Build"] #[doc = r""] #[doc = r"
JSON schema"] @@ -61700,11 +54984,6 @@ pub struct PageBuildEvent { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PageBuildEvent> for PageBuildEvent { - fn from(value: &PageBuildEvent) -> Self { - value.clone() - } -} #[doc = "The [List GitHub Pages builds](https://docs.github.com/en/rest/reference/repos#list-github-pages-builds) itself."] #[doc = r""] #[doc = r"
JSON schema"] @@ -61778,11 +55057,6 @@ pub struct PageBuildEventBuild { pub updated_at: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&PageBuildEventBuild> for PageBuildEventBuild { - fn from(value: &PageBuildEventBuild) -> Self { - value.clone() - } -} #[doc = "`PageBuildEventBuildError`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -61810,11 +55084,6 @@ impl ::std::convert::From<&PageBuildEventBuild> for PageBuildEventBuild { pub struct PageBuildEventBuildError { pub message: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&PageBuildEventBuildError> for PageBuildEventBuildError { - fn from(value: &PageBuildEventBuildError) -> Self { - value.clone() - } -} #[doc = "`PingEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -61969,11 +55238,6 @@ pub struct PingEvent { pub sender: ::std::option::Option, pub zen: ::std::string::String, } -impl ::std::convert::From<&PingEvent> for PingEvent { - fn from(value: &PingEvent) -> Self { - value.clone() - } -} #[doc = "The [webhook configuration](https://docs.github.com/en/rest/reference/repos#get-a-repository-webhook)."] #[doc = r""] #[doc = r"
JSON schema"] @@ -62107,11 +55371,6 @@ pub struct PingEventHook { pub updated_at: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&PingEventHook> for PingEventHook { - fn from(value: &PingEventHook) -> Self { - value.clone() - } -} #[doc = "`PingEventHookConfig`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62156,11 +55415,6 @@ pub struct PingEventHookConfig { pub secret: ::std::option::Option<::std::string::String>, pub url: ::std::string::String, } -impl ::std::convert::From<&PingEventHookConfig> for PingEventHookConfig { - fn from(value: &PingEventHookConfig) -> Self { - value.clone() - } -} #[doc = "`PingEventHookConfigContentType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62193,11 +55447,6 @@ pub enum PingEventHookConfigContentType { #[serde(rename = "form")] Form, } -impl ::std::convert::From<&Self> for PingEventHookConfigContentType { - fn from(value: &PingEventHookConfigContentType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PingEventHookConfigContentType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -62222,14 +55471,6 @@ impl ::std::convert::TryFrom<&str> for PingEventHookConfigContentType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PingEventHookConfigContentType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PingEventHookConfigContentType { type Error = self::error::ConversionError; fn try_from( @@ -62272,11 +55513,6 @@ pub struct PingEventHookLastResponse { pub message: (), pub status: ::std::string::String, } -impl ::std::convert::From<&PingEventHookLastResponse> for PingEventHookLastResponse { - fn from(value: &PingEventHookLastResponse) -> Self { - value.clone() - } -} #[doc = "`Project`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62382,11 +55618,6 @@ pub struct Project { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&Project> for Project { - fn from(value: &Project) -> Self { - value.clone() - } -} #[doc = "`ProjectCard`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62486,11 +55717,6 @@ pub struct ProjectCard { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&ProjectCard> for ProjectCard { - fn from(value: &ProjectCard) -> Self { - value.clone() - } -} #[doc = "`ProjectCardConverted`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62568,11 +55794,6 @@ pub struct ProjectCardConverted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectCardConverted> for ProjectCardConverted { - fn from(value: &ProjectCardConverted) -> Self { - value.clone() - } -} #[doc = "`ProjectCardConvertedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62602,11 +55823,6 @@ pub enum ProjectCardConvertedAction { #[serde(rename = "converted")] Converted, } -impl ::std::convert::From<&Self> for ProjectCardConvertedAction { - fn from(value: &ProjectCardConvertedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectCardConvertedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -62629,14 +55845,6 @@ impl ::std::convert::TryFrom<&str> for ProjectCardConvertedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectCardConvertedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectCardConvertedAction { type Error = self::error::ConversionError; fn try_from( @@ -62678,11 +55886,6 @@ impl ::std::convert::TryFrom<::std::string::String> for ProjectCardConvertedActi pub struct ProjectCardConvertedChanges { pub note: ProjectCardConvertedChangesNote, } -impl ::std::convert::From<&ProjectCardConvertedChanges> for ProjectCardConvertedChanges { - fn from(value: &ProjectCardConvertedChanges) -> Self { - value.clone() - } -} #[doc = "`ProjectCardConvertedChangesNote`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62707,11 +55910,6 @@ impl ::std::convert::From<&ProjectCardConvertedChanges> for ProjectCardConverted pub struct ProjectCardConvertedChangesNote { pub from: ::std::string::String, } -impl ::std::convert::From<&ProjectCardConvertedChangesNote> for ProjectCardConvertedChangesNote { - fn from(value: &ProjectCardConvertedChangesNote) -> Self { - value.clone() - } -} #[doc = "`ProjectCardCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62766,11 +55964,6 @@ pub struct ProjectCardCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectCardCreated> for ProjectCardCreated { - fn from(value: &ProjectCardCreated) -> Self { - value.clone() - } -} #[doc = "`ProjectCardCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62800,11 +55993,6 @@ pub enum ProjectCardCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for ProjectCardCreatedAction { - fn from(value: &ProjectCardCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectCardCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -62827,14 +56015,6 @@ impl ::std::convert::TryFrom<&str> for ProjectCardCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectCardCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectCardCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -62897,11 +56077,6 @@ pub struct ProjectCardDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectCardDeleted> for ProjectCardDeleted { - fn from(value: &ProjectCardDeleted) -> Self { - value.clone() - } -} #[doc = "`ProjectCardDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -62931,11 +56106,6 @@ pub enum ProjectCardDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for ProjectCardDeletedAction { - fn from(value: &ProjectCardDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectCardDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -62958,14 +56128,6 @@ impl ::std::convert::TryFrom<&str> for ProjectCardDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectCardDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectCardDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -63051,11 +56213,6 @@ pub struct ProjectCardEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectCardEdited> for ProjectCardEdited { - fn from(value: &ProjectCardEdited) -> Self { - value.clone() - } -} #[doc = "`ProjectCardEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63085,11 +56242,6 @@ pub enum ProjectCardEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for ProjectCardEditedAction { - fn from(value: &ProjectCardEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectCardEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -63112,14 +56264,6 @@ impl ::std::convert::TryFrom<&str> for ProjectCardEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectCardEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectCardEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -63161,11 +56305,6 @@ impl ::std::convert::TryFrom<::std::string::String> for ProjectCardEditedAction pub struct ProjectCardEditedChanges { pub note: ProjectCardEditedChangesNote, } -impl ::std::convert::From<&ProjectCardEditedChanges> for ProjectCardEditedChanges { - fn from(value: &ProjectCardEditedChanges) -> Self { - value.clone() - } -} #[doc = "`ProjectCardEditedChangesNote`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63190,11 +56329,6 @@ impl ::std::convert::From<&ProjectCardEditedChanges> for ProjectCardEditedChange pub struct ProjectCardEditedChangesNote { pub from: ::std::string::String, } -impl ::std::convert::From<&ProjectCardEditedChangesNote> for ProjectCardEditedChangesNote { - fn from(value: &ProjectCardEditedChangesNote) -> Self { - value.clone() - } -} #[doc = "`ProjectCardEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63230,11 +56364,6 @@ pub enum ProjectCardEvent { Edited(ProjectCardEdited), Moved(ProjectCardMoved), } -impl ::std::convert::From<&Self> for ProjectCardEvent { - fn from(value: &ProjectCardEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for ProjectCardEvent { fn from(value: ProjectCardConverted) -> Self { Self::Converted(value) @@ -63356,11 +56485,6 @@ pub struct ProjectCardMoved { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectCardMoved> for ProjectCardMoved { - fn from(value: &ProjectCardMoved) -> Self { - value.clone() - } -} #[doc = "`ProjectCardMovedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63390,11 +56514,6 @@ pub enum ProjectCardMovedAction { #[serde(rename = "moved")] Moved, } -impl ::std::convert::From<&Self> for ProjectCardMovedAction { - fn from(value: &ProjectCardMovedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectCardMovedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -63417,14 +56536,6 @@ impl ::std::convert::TryFrom<&str> for ProjectCardMovedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectCardMovedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectCardMovedAction { type Error = self::error::ConversionError; fn try_from( @@ -63466,11 +56577,6 @@ impl ::std::convert::TryFrom<::std::string::String> for ProjectCardMovedAction { pub struct ProjectCardMovedChanges { pub column_id: ProjectCardMovedChangesColumnId, } -impl ::std::convert::From<&ProjectCardMovedChanges> for ProjectCardMovedChanges { - fn from(value: &ProjectCardMovedChanges) -> Self { - value.clone() - } -} #[doc = "`ProjectCardMovedChangesColumnId`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63495,11 +56601,6 @@ impl ::std::convert::From<&ProjectCardMovedChanges> for ProjectCardMovedChanges pub struct ProjectCardMovedChangesColumnId { pub from: i64, } -impl ::std::convert::From<&ProjectCardMovedChangesColumnId> for ProjectCardMovedChangesColumnId { - fn from(value: &ProjectCardMovedChangesColumnId) -> Self { - value.clone() - } -} #[doc = "`ProjectCardMovedProjectCard`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63549,11 +56650,6 @@ pub struct ProjectCardMovedProjectCard { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&ProjectCardMovedProjectCard> for ProjectCardMovedProjectCard { - fn from(value: &ProjectCardMovedProjectCard) -> Self { - value.clone() - } -} #[doc = "`ProjectClosed`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63608,11 +56704,6 @@ pub struct ProjectClosed { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectClosed> for ProjectClosed { - fn from(value: &ProjectClosed) -> Self { - value.clone() - } -} #[doc = "`ProjectClosedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63642,11 +56733,6 @@ pub enum ProjectClosedAction { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for ProjectClosedAction { - fn from(value: &ProjectClosedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectClosedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -63669,14 +56755,6 @@ impl ::std::convert::TryFrom<&str> for ProjectClosedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectClosedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectClosedAction { type Error = self::error::ConversionError; fn try_from( @@ -63755,11 +56833,6 @@ pub struct ProjectColumn { pub updated_at: ::chrono::DateTime<::chrono::offset::Utc>, pub url: ::std::string::String, } -impl ::std::convert::From<&ProjectColumn> for ProjectColumn { - fn from(value: &ProjectColumn) -> Self { - value.clone() - } -} #[doc = "`ProjectColumnCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63814,11 +56887,6 @@ pub struct ProjectColumnCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectColumnCreated> for ProjectColumnCreated { - fn from(value: &ProjectColumnCreated) -> Self { - value.clone() - } -} #[doc = "`ProjectColumnCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63848,11 +56916,6 @@ pub enum ProjectColumnCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for ProjectColumnCreatedAction { - fn from(value: &ProjectColumnCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectColumnCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -63875,14 +56938,6 @@ impl ::std::convert::TryFrom<&str> for ProjectColumnCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectColumnCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectColumnCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -63945,11 +57000,6 @@ pub struct ProjectColumnDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectColumnDeleted> for ProjectColumnDeleted { - fn from(value: &ProjectColumnDeleted) -> Self { - value.clone() - } -} #[doc = "`ProjectColumnDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -63979,11 +57029,6 @@ pub enum ProjectColumnDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for ProjectColumnDeletedAction { - fn from(value: &ProjectColumnDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectColumnDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -64006,14 +57051,6 @@ impl ::std::convert::TryFrom<&str> for ProjectColumnDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectColumnDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectColumnDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -64096,11 +57133,6 @@ pub struct ProjectColumnEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectColumnEdited> for ProjectColumnEdited { - fn from(value: &ProjectColumnEdited) -> Self { - value.clone() - } -} #[doc = "`ProjectColumnEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -64130,11 +57162,6 @@ pub enum ProjectColumnEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for ProjectColumnEditedAction { - fn from(value: &ProjectColumnEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectColumnEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -64157,14 +57184,6 @@ impl ::std::convert::TryFrom<&str> for ProjectColumnEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectColumnEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectColumnEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -64204,11 +57223,6 @@ pub struct ProjectColumnEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub name: ::std::option::Option, } -impl ::std::convert::From<&ProjectColumnEditedChanges> for ProjectColumnEditedChanges { - fn from(value: &ProjectColumnEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for ProjectColumnEditedChanges { fn default() -> Self { Self { @@ -64240,11 +57254,6 @@ impl ::std::default::Default for ProjectColumnEditedChanges { pub struct ProjectColumnEditedChangesName { pub from: ::std::string::String, } -impl ::std::convert::From<&ProjectColumnEditedChangesName> for ProjectColumnEditedChangesName { - fn from(value: &ProjectColumnEditedChangesName) -> Self { - value.clone() - } -} #[doc = "`ProjectColumnEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -64276,11 +57285,6 @@ pub enum ProjectColumnEvent { Edited(ProjectColumnEdited), Moved(ProjectColumnMoved), } -impl ::std::convert::From<&Self> for ProjectColumnEvent { - fn from(value: &ProjectColumnEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for ProjectColumnEvent { fn from(value: ProjectColumnCreated) -> Self { Self::Created(value) @@ -64355,11 +57359,6 @@ pub struct ProjectColumnMoved { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectColumnMoved> for ProjectColumnMoved { - fn from(value: &ProjectColumnMoved) -> Self { - value.clone() - } -} #[doc = "`ProjectColumnMovedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -64389,11 +57388,6 @@ pub enum ProjectColumnMovedAction { #[serde(rename = "moved")] Moved, } -impl ::std::convert::From<&Self> for ProjectColumnMovedAction { - fn from(value: &ProjectColumnMovedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectColumnMovedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -64416,14 +57410,6 @@ impl ::std::convert::TryFrom<&str> for ProjectColumnMovedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectColumnMovedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectColumnMovedAction { type Error = self::error::ConversionError; fn try_from( @@ -64486,11 +57472,6 @@ pub struct ProjectCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectCreated> for ProjectCreated { - fn from(value: &ProjectCreated) -> Self { - value.clone() - } -} #[doc = "`ProjectCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -64520,11 +57501,6 @@ pub enum ProjectCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for ProjectCreatedAction { - fn from(value: &ProjectCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -64547,14 +57523,6 @@ impl ::std::convert::TryFrom<&str> for ProjectCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -64617,11 +57585,6 @@ pub struct ProjectDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectDeleted> for ProjectDeleted { - fn from(value: &ProjectDeleted) -> Self { - value.clone() - } -} #[doc = "`ProjectDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -64651,11 +57614,6 @@ pub enum ProjectDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for ProjectDeletedAction { - fn from(value: &ProjectDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -64678,14 +57636,6 @@ impl ::std::convert::TryFrom<&str> for ProjectDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -64783,11 +57733,6 @@ pub struct ProjectEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectEdited> for ProjectEdited { - fn from(value: &ProjectEdited) -> Self { - value.clone() - } -} #[doc = "`ProjectEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -64817,11 +57762,6 @@ pub enum ProjectEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for ProjectEditedAction { - fn from(value: &ProjectEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -64844,14 +57784,6 @@ impl ::std::convert::TryFrom<&str> for ProjectEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -64908,11 +57840,6 @@ pub struct ProjectEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub name: ::std::option::Option, } -impl ::std::convert::From<&ProjectEditedChanges> for ProjectEditedChanges { - fn from(value: &ProjectEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for ProjectEditedChanges { fn default() -> Self { Self { @@ -64947,11 +57874,6 @@ pub struct ProjectEditedChangesBody { #[doc = "The previous version of the body if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&ProjectEditedChangesBody> for ProjectEditedChangesBody { - fn from(value: &ProjectEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "`ProjectEditedChangesName`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -64978,11 +57900,6 @@ pub struct ProjectEditedChangesName { #[doc = "The changes to the project if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&ProjectEditedChangesName> for ProjectEditedChangesName { - fn from(value: &ProjectEditedChangesName) -> Self { - value.clone() - } -} #[doc = "`ProjectEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -65018,11 +57935,6 @@ pub enum ProjectEvent { Edited(ProjectEdited), Reopened(ProjectReopened), } -impl ::std::convert::From<&Self> for ProjectEvent { - fn from(value: &ProjectEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for ProjectEvent { fn from(value: ProjectClosed) -> Self { Self::Closed(value) @@ -65102,11 +58014,6 @@ pub struct ProjectReopened { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ProjectReopened> for ProjectReopened { - fn from(value: &ProjectReopened) -> Self { - value.clone() - } -} #[doc = "`ProjectReopenedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -65136,11 +58043,6 @@ pub enum ProjectReopenedAction { #[serde(rename = "reopened")] Reopened, } -impl ::std::convert::From<&Self> for ProjectReopenedAction { - fn from(value: &ProjectReopenedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectReopenedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -65163,14 +58065,6 @@ impl ::std::convert::TryFrom<&str> for ProjectReopenedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectReopenedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectReopenedAction { type Error = self::error::ConversionError; fn try_from( @@ -65212,11 +58106,6 @@ pub enum ProjectState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for ProjectState { - fn from(value: &ProjectState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ProjectState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -65241,14 +58130,6 @@ impl ::std::convert::TryFrom<&str> for ProjectState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ProjectState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ProjectState { type Error = self::error::ConversionError; fn try_from( @@ -65318,11 +58199,6 @@ pub struct PublicEvent { pub repository: PublicEventRepository, pub sender: User, } -impl ::std::convert::From<&PublicEvent> for PublicEvent { - fn from(value: &PublicEvent) -> Self { - value.clone() - } -} #[doc = "`PublicEventRepository`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -65467,11 +58343,6 @@ pub struct PublicEventRepository { pub watchers: i64, pub watchers_count: i64, } -impl ::std::convert::From<&PublicEventRepository> for PublicEventRepository { - fn from(value: &PublicEventRepository) -> Self { - value.clone() - } -} #[doc = "`PublicEventRepositoryCreatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -65496,11 +58367,6 @@ pub enum PublicEventRepositoryCreatedAt { Integer(i64), DateTime(::chrono::DateTime<::chrono::offset::Utc>), } -impl ::std::convert::From<&Self> for PublicEventRepositoryCreatedAt { - fn from(value: &PublicEventRepositoryCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for PublicEventRepositoryCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -65519,14 +58385,6 @@ impl ::std::convert::TryFrom<&str> for PublicEventRepositoryCreatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PublicEventRepositoryCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PublicEventRepositoryCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -65599,11 +58457,6 @@ pub struct PublicEventRepositoryPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub triage: ::std::option::Option, } -impl ::std::convert::From<&PublicEventRepositoryPermissions> for PublicEventRepositoryPermissions { - fn from(value: &PublicEventRepositoryPermissions) -> Self { - value.clone() - } -} #[doc = "`PublicEventRepositoryPushedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -65632,11 +58485,6 @@ pub enum PublicEventRepositoryPushedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Null, } -impl ::std::convert::From<&Self> for PublicEventRepositoryPushedAt { - fn from(value: &PublicEventRepositoryPushedAt) -> Self { - value.clone() - } -} impl ::std::convert::From for PublicEventRepositoryPushedAt { fn from(value: i64) -> Self { Self::Integer(value) @@ -66097,11 +58945,6 @@ pub struct PullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequest> for PullRequest { - fn from(value: &PullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -66140,11 +58983,6 @@ pub enum PullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for PullRequestActiveLockReason { - fn from(value: &PullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -66173,14 +59011,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -66255,11 +59085,6 @@ pub struct PullRequestAssigned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestAssigned> for PullRequestAssigned { - fn from(value: &PullRequestAssigned) -> Self { - value.clone() - } -} #[doc = "`PullRequestAssignedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -66289,11 +59114,6 @@ pub enum PullRequestAssignedAction { #[serde(rename = "assigned")] Assigned, } -impl ::std::convert::From<&Self> for PullRequestAssignedAction { - fn from(value: &PullRequestAssignedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestAssignedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -66316,14 +59136,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestAssignedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestAssignedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestAssignedAction { type Error = self::error::ConversionError; fn try_from( @@ -66391,11 +59203,6 @@ pub struct PullRequestAutoMergeDisabled { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestAutoMergeDisabled> for PullRequestAutoMergeDisabled { - fn from(value: &PullRequestAutoMergeDisabled) -> Self { - value.clone() - } -} #[doc = "`PullRequestAutoMergeDisabledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -66425,11 +59232,6 @@ pub enum PullRequestAutoMergeDisabledAction { #[serde(rename = "auto_merge_disabled")] AutoMergeDisabled, } -impl ::std::convert::From<&Self> for PullRequestAutoMergeDisabledAction { - fn from(value: &PullRequestAutoMergeDisabledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestAutoMergeDisabledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -66452,14 +59254,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestAutoMergeDisabledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestAutoMergeDisabledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestAutoMergeDisabledAction { type Error = self::error::ConversionError; fn try_from( @@ -66527,11 +59321,6 @@ pub struct PullRequestAutoMergeEnabled { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestAutoMergeEnabled> for PullRequestAutoMergeEnabled { - fn from(value: &PullRequestAutoMergeEnabled) -> Self { - value.clone() - } -} #[doc = "`PullRequestAutoMergeEnabledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -66561,11 +59350,6 @@ pub enum PullRequestAutoMergeEnabledAction { #[serde(rename = "auto_merge_enabled")] AutoMergeEnabled, } -impl ::std::convert::From<&Self> for PullRequestAutoMergeEnabledAction { - fn from(value: &PullRequestAutoMergeEnabledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestAutoMergeEnabledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -66588,14 +59372,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestAutoMergeEnabledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestAutoMergeEnabledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestAutoMergeEnabledAction { type Error = self::error::ConversionError; fn try_from( @@ -66649,11 +59425,6 @@ pub struct PullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestBase> for PullRequestBase { - fn from(value: &PullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestClosed`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -66744,11 +59515,6 @@ pub struct PullRequestClosed { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestClosed> for PullRequestClosed { - fn from(value: &PullRequestClosed) -> Self { - value.clone() - } -} #[doc = "`PullRequestClosedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -66778,11 +59544,6 @@ pub enum PullRequestClosedAction { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for PullRequestClosedAction { - fn from(value: &PullRequestClosedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestClosedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -66805,14 +59566,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestClosedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestClosedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestClosedAction { type Error = self::error::ConversionError; fn try_from( @@ -66917,11 +59670,6 @@ pub struct PullRequestClosedPullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestClosedPullRequest> for PullRequestClosedPullRequest { - fn from(value: &PullRequestClosedPullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestClosedPullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -66960,11 +59708,6 @@ pub enum PullRequestClosedPullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for PullRequestClosedPullRequestActiveLockReason { - fn from(value: &PullRequestClosedPullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestClosedPullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -66993,16 +59736,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestClosedPullRequestActiveLockRea value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestClosedPullRequestActiveLockReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestClosedPullRequestActiveLockReason { @@ -67058,11 +59791,6 @@ pub struct PullRequestClosedPullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestClosedPullRequestBase> for PullRequestClosedPullRequestBase { - fn from(value: &PullRequestClosedPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestClosedPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -67108,11 +59836,6 @@ pub struct PullRequestClosedPullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestClosedPullRequestHead> for PullRequestClosedPullRequestHead { - fn from(value: &PullRequestClosedPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestClosedPullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -67173,13 +59896,6 @@ pub struct PullRequestClosedPullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestClosedPullRequestLinks> - for PullRequestClosedPullRequestLinks -{ - fn from(value: &PullRequestClosedPullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestClosedPullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -67203,11 +59919,6 @@ pub enum PullRequestClosedPullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> for PullRequestClosedPullRequestRequestedReviewersItem { - fn from(value: &PullRequestClosedPullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestClosedPullRequestRequestedReviewersItem { fn from(value: User) -> Self { Self::User(value) @@ -67247,11 +59958,6 @@ pub enum PullRequestClosedPullRequestState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for PullRequestClosedPullRequestState { - fn from(value: &PullRequestClosedPullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestClosedPullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -67274,14 +59980,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestClosedPullRequestState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestClosedPullRequestState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestClosedPullRequestState { type Error = self::error::ConversionError; fn try_from( @@ -67390,11 +60088,6 @@ pub struct PullRequestConvertedToDraft { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestConvertedToDraft> for PullRequestConvertedToDraft { - fn from(value: &PullRequestConvertedToDraft) -> Self { - value.clone() - } -} #[doc = "`PullRequestConvertedToDraftAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -67424,11 +60117,6 @@ pub enum PullRequestConvertedToDraftAction { #[serde(rename = "converted_to_draft")] ConvertedToDraft, } -impl ::std::convert::From<&Self> for PullRequestConvertedToDraftAction { - fn from(value: &PullRequestConvertedToDraftAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestConvertedToDraftAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -67451,14 +60139,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestConvertedToDraftAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestConvertedToDraftAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestConvertedToDraftAction { type Error = self::error::ConversionError; fn try_from( @@ -67575,13 +60255,6 @@ pub struct PullRequestConvertedToDraftPullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestConvertedToDraftPullRequest> - for PullRequestConvertedToDraftPullRequest -{ - fn from(value: &PullRequestConvertedToDraftPullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestConvertedToDraftPullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -67620,11 +60293,6 @@ pub enum PullRequestConvertedToDraftPullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for PullRequestConvertedToDraftPullRequestActiveLockReason { - fn from(value: &PullRequestConvertedToDraftPullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestConvertedToDraftPullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -67653,16 +60321,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestConvertedToDraftPullRequestAct value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestConvertedToDraftPullRequestActiveLockReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestConvertedToDraftPullRequestActiveLockReason { @@ -67718,13 +60376,6 @@ pub struct PullRequestConvertedToDraftPullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestConvertedToDraftPullRequestBase> - for PullRequestConvertedToDraftPullRequestBase -{ - fn from(value: &PullRequestConvertedToDraftPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestConvertedToDraftPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -67770,13 +60421,6 @@ pub struct PullRequestConvertedToDraftPullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestConvertedToDraftPullRequestHead> - for PullRequestConvertedToDraftPullRequestHead -{ - fn from(value: &PullRequestConvertedToDraftPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestConvertedToDraftPullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -67837,13 +60481,6 @@ pub struct PullRequestConvertedToDraftPullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestConvertedToDraftPullRequestLinks> - for PullRequestConvertedToDraftPullRequestLinks -{ - fn from(value: &PullRequestConvertedToDraftPullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestConvertedToDraftPullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -67867,11 +60504,6 @@ pub enum PullRequestConvertedToDraftPullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> for PullRequestConvertedToDraftPullRequestRequestedReviewersItem { - fn from(value: &PullRequestConvertedToDraftPullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestConvertedToDraftPullRequestRequestedReviewersItem { fn from(value: User) -> Self { Self::User(value) @@ -67915,11 +60547,6 @@ pub enum PullRequestConvertedToDraftPullRequestState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for PullRequestConvertedToDraftPullRequestState { - fn from(value: &PullRequestConvertedToDraftPullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestConvertedToDraftPullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -67944,16 +60571,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestConvertedToDraftPullRequestSta value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestConvertedToDraftPullRequestState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestConvertedToDraftPullRequestState { @@ -68060,11 +60677,6 @@ pub struct PullRequestEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestEdited> for PullRequestEdited { - fn from(value: &PullRequestEdited) -> Self { - value.clone() - } -} #[doc = "`PullRequestEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -68094,11 +60706,6 @@ pub enum PullRequestEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for PullRequestEditedAction { - fn from(value: &PullRequestEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -68121,14 +60728,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -68185,11 +60784,6 @@ pub struct PullRequestEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option, } -impl ::std::convert::From<&PullRequestEditedChanges> for PullRequestEditedChanges { - fn from(value: &PullRequestEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for PullRequestEditedChanges { fn default() -> Self { Self { @@ -68224,11 +60818,6 @@ pub struct PullRequestEditedChangesBody { #[doc = "The previous version of the body if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&PullRequestEditedChangesBody> for PullRequestEditedChangesBody { - fn from(value: &PullRequestEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "`PullRequestEditedChangesTitle`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -68255,11 +60844,6 @@ pub struct PullRequestEditedChangesTitle { #[doc = "The previous version of the title if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&PullRequestEditedChangesTitle> for PullRequestEditedChangesTitle { - fn from(value: &PullRequestEditedChangesTitle) -> Self { - value.clone() - } -} #[doc = "`PullRequestEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -68343,11 +60927,6 @@ pub enum PullRequestEvent { Unlabeled(PullRequestUnlabeled), Unlocked(PullRequestUnlocked), } -impl ::std::convert::From<&Self> for PullRequestEvent { - fn from(value: &PullRequestEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestEvent { fn from(value: PullRequestAssigned) -> Self { Self::Assigned(value) @@ -68478,11 +61057,6 @@ pub struct PullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestHead> for PullRequestHead { - fn from(value: &PullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestLabeled`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -68549,11 +61123,6 @@ pub struct PullRequestLabeled { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestLabeled> for PullRequestLabeled { - fn from(value: &PullRequestLabeled) -> Self { - value.clone() - } -} #[doc = "`PullRequestLabeledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -68583,11 +61152,6 @@ pub enum PullRequestLabeledAction { #[serde(rename = "labeled")] Labeled, } -impl ::std::convert::From<&Self> for PullRequestLabeledAction { - fn from(value: &PullRequestLabeledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestLabeledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -68610,14 +61174,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestLabeledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestLabeledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestLabeledAction { type Error = self::error::ConversionError; fn try_from( @@ -68686,11 +61242,6 @@ pub struct PullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestLinks> for PullRequestLinks { - fn from(value: &PullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestLocked`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -68752,11 +61303,6 @@ pub struct PullRequestLocked { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestLocked> for PullRequestLocked { - fn from(value: &PullRequestLocked) -> Self { - value.clone() - } -} #[doc = "`PullRequestLockedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -68786,11 +61332,6 @@ pub enum PullRequestLockedAction { #[serde(rename = "locked")] Locked, } -impl ::std::convert::From<&Self> for PullRequestLockedAction { - fn from(value: &PullRequestLockedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestLockedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -68813,14 +61354,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestLockedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestLockedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestLockedAction { type Error = self::error::ConversionError; fn try_from( @@ -68929,11 +61462,6 @@ pub struct PullRequestOpened { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestOpened> for PullRequestOpened { - fn from(value: &PullRequestOpened) -> Self { - value.clone() - } -} #[doc = "`PullRequestOpenedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -68963,11 +61491,6 @@ pub enum PullRequestOpenedAction { #[serde(rename = "opened")] Opened, } -impl ::std::convert::From<&Self> for PullRequestOpenedAction { - fn from(value: &PullRequestOpenedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestOpenedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -68990,14 +61513,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestOpenedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestOpenedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestOpenedAction { type Error = self::error::ConversionError; fn try_from( @@ -69112,11 +61627,6 @@ pub struct PullRequestOpenedPullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestOpenedPullRequest> for PullRequestOpenedPullRequest { - fn from(value: &PullRequestOpenedPullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestOpenedPullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -69144,13 +61654,6 @@ impl ::std::convert::From for () { value.0 } } -impl ::std::convert::From<&PullRequestOpenedPullRequestActiveLockReason> - for PullRequestOpenedPullRequestActiveLockReason -{ - fn from(value: &PullRequestOpenedPullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::convert::TryFrom<()> for PullRequestOpenedPullRequestActiveLockReason { type Error = self::error::ConversionError; fn try_from(value: ()) -> ::std::result::Result { @@ -69215,11 +61718,6 @@ pub struct PullRequestOpenedPullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestOpenedPullRequestBase> for PullRequestOpenedPullRequestBase { - fn from(value: &PullRequestOpenedPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestOpenedPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -69265,11 +61763,6 @@ pub struct PullRequestOpenedPullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestOpenedPullRequestHead> for PullRequestOpenedPullRequestHead { - fn from(value: &PullRequestOpenedPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestOpenedPullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -69330,13 +61823,6 @@ pub struct PullRequestOpenedPullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestOpenedPullRequestLinks> - for PullRequestOpenedPullRequestLinks -{ - fn from(value: &PullRequestOpenedPullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestOpenedPullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -69360,11 +61846,6 @@ pub enum PullRequestOpenedPullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> for PullRequestOpenedPullRequestRequestedReviewersItem { - fn from(value: &PullRequestOpenedPullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestOpenedPullRequestRequestedReviewersItem { fn from(value: User) -> Self { Self::User(value) @@ -69404,11 +61885,6 @@ pub enum PullRequestOpenedPullRequestState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for PullRequestOpenedPullRequestState { - fn from(value: &PullRequestOpenedPullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestOpenedPullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -69431,14 +61907,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestOpenedPullRequestState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestOpenedPullRequestState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestOpenedPullRequestState { type Error = self::error::ConversionError; fn try_from( @@ -69551,11 +62019,6 @@ pub struct PullRequestReadyForReview { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestReadyForReview> for PullRequestReadyForReview { - fn from(value: &PullRequestReadyForReview) -> Self { - value.clone() - } -} #[doc = "`PullRequestReadyForReviewAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -69585,11 +62048,6 @@ pub enum PullRequestReadyForReviewAction { #[serde(rename = "ready_for_review")] ReadyForReview, } -impl ::std::convert::From<&Self> for PullRequestReadyForReviewAction { - fn from(value: &PullRequestReadyForReviewAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReadyForReviewAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -69612,14 +62070,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReadyForReviewAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReadyForReviewAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReadyForReviewAction { type Error = self::error::ConversionError; fn try_from( @@ -69739,13 +62189,6 @@ pub struct PullRequestReadyForReviewPullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReadyForReviewPullRequest> - for PullRequestReadyForReviewPullRequest -{ - fn from(value: &PullRequestReadyForReviewPullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestReadyForReviewPullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -69784,11 +62227,6 @@ pub enum PullRequestReadyForReviewPullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for PullRequestReadyForReviewPullRequestActiveLockReason { - fn from(value: &PullRequestReadyForReviewPullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReadyForReviewPullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -69817,16 +62255,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReadyForReviewPullRequestActiv value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReadyForReviewPullRequestActiveLockReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReadyForReviewPullRequestActiveLockReason { @@ -69882,13 +62310,6 @@ pub struct PullRequestReadyForReviewPullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReadyForReviewPullRequestBase> - for PullRequestReadyForReviewPullRequestBase -{ - fn from(value: &PullRequestReadyForReviewPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestReadyForReviewPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -69934,13 +62355,6 @@ pub struct PullRequestReadyForReviewPullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReadyForReviewPullRequestHead> - for PullRequestReadyForReviewPullRequestHead -{ - fn from(value: &PullRequestReadyForReviewPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestReadyForReviewPullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -70001,13 +62415,6 @@ pub struct PullRequestReadyForReviewPullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestReadyForReviewPullRequestLinks> - for PullRequestReadyForReviewPullRequestLinks -{ - fn from(value: &PullRequestReadyForReviewPullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestReadyForReviewPullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -70031,11 +62438,6 @@ pub enum PullRequestReadyForReviewPullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> for PullRequestReadyForReviewPullRequestRequestedReviewersItem { - fn from(value: &PullRequestReadyForReviewPullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestReadyForReviewPullRequestRequestedReviewersItem { fn from(value: User) -> Self { Self::User(value) @@ -70075,11 +62477,6 @@ pub enum PullRequestReadyForReviewPullRequestState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for PullRequestReadyForReviewPullRequestState { - fn from(value: &PullRequestReadyForReviewPullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReadyForReviewPullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -70102,14 +62499,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReadyForReviewPullRequestState value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReadyForReviewPullRequestState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReadyForReviewPullRequestState { type Error = self::error::ConversionError; fn try_from( @@ -70218,11 +62607,6 @@ pub struct PullRequestReopened { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestReopened> for PullRequestReopened { - fn from(value: &PullRequestReopened) -> Self { - value.clone() - } -} #[doc = "`PullRequestReopenedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -70252,11 +62636,6 @@ pub enum PullRequestReopenedAction { #[serde(rename = "reopened")] Reopened, } -impl ::std::convert::From<&Self> for PullRequestReopenedAction { - fn from(value: &PullRequestReopenedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReopenedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -70279,14 +62658,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReopenedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReopenedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReopenedAction { type Error = self::error::ConversionError; fn try_from( @@ -70401,11 +62772,6 @@ pub struct PullRequestReopenedPullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReopenedPullRequest> for PullRequestReopenedPullRequest { - fn from(value: &PullRequestReopenedPullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestReopenedPullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -70444,11 +62810,6 @@ pub enum PullRequestReopenedPullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for PullRequestReopenedPullRequestActiveLockReason { - fn from(value: &PullRequestReopenedPullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReopenedPullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -70477,16 +62838,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReopenedPullRequestActiveLockR value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReopenedPullRequestActiveLockReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReopenedPullRequestActiveLockReason { @@ -70542,13 +62893,6 @@ pub struct PullRequestReopenedPullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReopenedPullRequestBase> - for PullRequestReopenedPullRequestBase -{ - fn from(value: &PullRequestReopenedPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestReopenedPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -70594,13 +62938,6 @@ pub struct PullRequestReopenedPullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReopenedPullRequestHead> - for PullRequestReopenedPullRequestHead -{ - fn from(value: &PullRequestReopenedPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestReopenedPullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -70661,13 +62998,6 @@ pub struct PullRequestReopenedPullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestReopenedPullRequestLinks> - for PullRequestReopenedPullRequestLinks -{ - fn from(value: &PullRequestReopenedPullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestReopenedPullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -70691,11 +63021,6 @@ pub enum PullRequestReopenedPullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> for PullRequestReopenedPullRequestRequestedReviewersItem { - fn from(value: &PullRequestReopenedPullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestReopenedPullRequestRequestedReviewersItem { fn from(value: User) -> Self { Self::User(value) @@ -70735,11 +63060,6 @@ pub enum PullRequestReopenedPullRequestState { #[serde(rename = "open")] Open, } -impl ::std::convert::From<&Self> for PullRequestReopenedPullRequestState { - fn from(value: &PullRequestReopenedPullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReopenedPullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -70762,14 +63082,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReopenedPullRequestState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReopenedPullRequestState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReopenedPullRequestState { type Error = self::error::ConversionError; fn try_from( @@ -70801,11 +63113,6 @@ pub enum PullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> for PullRequestRequestedReviewersItem { - fn from(value: &PullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestRequestedReviewersItem { fn from(value: User) -> Self { Self::User(value) @@ -71051,11 +63358,6 @@ pub struct PullRequestReviewComment { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewComment> for PullRequestReviewComment { - fn from(value: &PullRequestReviewComment) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -71415,11 +63717,6 @@ pub struct PullRequestReviewCommentCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestReviewCommentCreated> for PullRequestReviewCommentCreated { - fn from(value: &PullRequestReviewCommentCreated) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -71449,11 +63746,6 @@ pub enum PullRequestReviewCommentCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentCreatedAction { - fn from(value: &PullRequestReviewCommentCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -71476,14 +63768,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewCommentCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -71847,13 +64131,6 @@ pub struct PullRequestReviewCommentCreatedPullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentCreatedPullRequest> - for PullRequestReviewCommentCreatedPullRequest -{ - fn from(value: &PullRequestReviewCommentCreatedPullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentCreatedPullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -71892,11 +64169,6 @@ pub enum PullRequestReviewCommentCreatedPullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentCreatedPullRequestActiveLockReason { - fn from(value: &PullRequestReviewCommentCreatedPullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentCreatedPullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -71925,16 +64197,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentCreatedPullReques value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReviewCommentCreatedPullRequestActiveLockReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentCreatedPullRequestActiveLockReason { @@ -71990,13 +64252,6 @@ pub struct PullRequestReviewCommentCreatedPullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentCreatedPullRequestBase> - for PullRequestReviewCommentCreatedPullRequestBase -{ - fn from(value: &PullRequestReviewCommentCreatedPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentCreatedPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -72042,13 +64297,6 @@ pub struct PullRequestReviewCommentCreatedPullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentCreatedPullRequestHead> - for PullRequestReviewCommentCreatedPullRequestHead -{ - fn from(value: &PullRequestReviewCommentCreatedPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentCreatedPullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -72109,13 +64357,6 @@ pub struct PullRequestReviewCommentCreatedPullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestReviewCommentCreatedPullRequestLinks> - for PullRequestReviewCommentCreatedPullRequestLinks -{ - fn from(value: &PullRequestReviewCommentCreatedPullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentCreatedPullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -72139,13 +64380,6 @@ pub enum PullRequestReviewCommentCreatedPullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> - for PullRequestReviewCommentCreatedPullRequestRequestedReviewersItem -{ - fn from(value: &PullRequestReviewCommentCreatedPullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestReviewCommentCreatedPullRequestRequestedReviewersItem { @@ -72192,11 +64426,6 @@ pub enum PullRequestReviewCommentCreatedPullRequestState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentCreatedPullRequestState { - fn from(value: &PullRequestReviewCommentCreatedPullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentCreatedPullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -72221,16 +64450,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentCreatedPullReques value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReviewCommentCreatedPullRequestState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentCreatedPullRequestState { @@ -72600,11 +64819,6 @@ pub struct PullRequestReviewCommentDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestReviewCommentDeleted> for PullRequestReviewCommentDeleted { - fn from(value: &PullRequestReviewCommentDeleted) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -72634,11 +64848,6 @@ pub enum PullRequestReviewCommentDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentDeletedAction { - fn from(value: &PullRequestReviewCommentDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -72661,14 +64870,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewCommentDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -73032,13 +65233,6 @@ pub struct PullRequestReviewCommentDeletedPullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentDeletedPullRequest> - for PullRequestReviewCommentDeletedPullRequest -{ - fn from(value: &PullRequestReviewCommentDeletedPullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentDeletedPullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -73077,11 +65271,6 @@ pub enum PullRequestReviewCommentDeletedPullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentDeletedPullRequestActiveLockReason { - fn from(value: &PullRequestReviewCommentDeletedPullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentDeletedPullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -73110,16 +65299,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentDeletedPullReques value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReviewCommentDeletedPullRequestActiveLockReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentDeletedPullRequestActiveLockReason { @@ -73175,13 +65354,6 @@ pub struct PullRequestReviewCommentDeletedPullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentDeletedPullRequestBase> - for PullRequestReviewCommentDeletedPullRequestBase -{ - fn from(value: &PullRequestReviewCommentDeletedPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentDeletedPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -73227,13 +65399,6 @@ pub struct PullRequestReviewCommentDeletedPullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentDeletedPullRequestHead> - for PullRequestReviewCommentDeletedPullRequestHead -{ - fn from(value: &PullRequestReviewCommentDeletedPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentDeletedPullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -73294,13 +65459,6 @@ pub struct PullRequestReviewCommentDeletedPullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestReviewCommentDeletedPullRequestLinks> - for PullRequestReviewCommentDeletedPullRequestLinks -{ - fn from(value: &PullRequestReviewCommentDeletedPullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentDeletedPullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -73324,13 +65482,6 @@ pub enum PullRequestReviewCommentDeletedPullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> - for PullRequestReviewCommentDeletedPullRequestRequestedReviewersItem -{ - fn from(value: &PullRequestReviewCommentDeletedPullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestReviewCommentDeletedPullRequestRequestedReviewersItem { @@ -73377,11 +65528,6 @@ pub enum PullRequestReviewCommentDeletedPullRequestState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentDeletedPullRequestState { - fn from(value: &PullRequestReviewCommentDeletedPullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentDeletedPullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -73406,16 +65552,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentDeletedPullReques value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReviewCommentDeletedPullRequestState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentDeletedPullRequestState { @@ -73807,11 +65943,6 @@ pub struct PullRequestReviewCommentEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestReviewCommentEdited> for PullRequestReviewCommentEdited { - fn from(value: &PullRequestReviewCommentEdited) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -73841,11 +65972,6 @@ pub enum PullRequestReviewCommentEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentEditedAction { - fn from(value: &PullRequestReviewCommentEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -73868,14 +65994,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewCommentEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -73917,13 +66035,6 @@ pub struct PullRequestReviewCommentEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub body: ::std::option::Option, } -impl ::std::convert::From<&PullRequestReviewCommentEditedChanges> - for PullRequestReviewCommentEditedChanges -{ - fn from(value: &PullRequestReviewCommentEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for PullRequestReviewCommentEditedChanges { fn default() -> Self { Self { @@ -73957,13 +66068,6 @@ pub struct PullRequestReviewCommentEditedChangesBody { #[doc = "The previous version of the body."] pub from: ::std::string::String, } -impl ::std::convert::From<&PullRequestReviewCommentEditedChangesBody> - for PullRequestReviewCommentEditedChangesBody -{ - fn from(value: &PullRequestReviewCommentEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentEditedPullRequest`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -74319,13 +66423,6 @@ pub struct PullRequestReviewCommentEditedPullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentEditedPullRequest> - for PullRequestReviewCommentEditedPullRequest -{ - fn from(value: &PullRequestReviewCommentEditedPullRequest) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentEditedPullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -74364,11 +66461,6 @@ pub enum PullRequestReviewCommentEditedPullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentEditedPullRequestActiveLockReason { - fn from(value: &PullRequestReviewCommentEditedPullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentEditedPullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -74397,16 +66489,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentEditedPullRequest value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReviewCommentEditedPullRequestActiveLockReason -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentEditedPullRequestActiveLockReason { @@ -74462,13 +66544,6 @@ pub struct PullRequestReviewCommentEditedPullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentEditedPullRequestBase> - for PullRequestReviewCommentEditedPullRequestBase -{ - fn from(value: &PullRequestReviewCommentEditedPullRequestBase) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentEditedPullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -74514,13 +66589,6 @@ pub struct PullRequestReviewCommentEditedPullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&PullRequestReviewCommentEditedPullRequestHead> - for PullRequestReviewCommentEditedPullRequestHead -{ - fn from(value: &PullRequestReviewCommentEditedPullRequestHead) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentEditedPullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -74581,13 +66649,6 @@ pub struct PullRequestReviewCommentEditedPullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&PullRequestReviewCommentEditedPullRequestLinks> - for PullRequestReviewCommentEditedPullRequestLinks -{ - fn from(value: &PullRequestReviewCommentEditedPullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewCommentEditedPullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -74611,13 +66672,6 @@ pub enum PullRequestReviewCommentEditedPullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> - for PullRequestReviewCommentEditedPullRequestRequestedReviewersItem -{ - fn from(value: &PullRequestReviewCommentEditedPullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestReviewCommentEditedPullRequestRequestedReviewersItem { @@ -74664,11 +66718,6 @@ pub enum PullRequestReviewCommentEditedPullRequestState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentEditedPullRequestState { - fn from(value: &PullRequestReviewCommentEditedPullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentEditedPullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -74693,16 +66742,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentEditedPullRequest value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReviewCommentEditedPullRequestState -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentEditedPullRequestState { @@ -74740,11 +66779,6 @@ pub enum PullRequestReviewCommentEvent { Deleted(PullRequestReviewCommentDeleted), Edited(PullRequestReviewCommentEdited), } -impl ::std::convert::From<&Self> for PullRequestReviewCommentEvent { - fn from(value: &PullRequestReviewCommentEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestReviewCommentEvent { fn from(value: PullRequestReviewCommentCreated) -> Self { Self::Created(value) @@ -74795,11 +66829,6 @@ pub struct PullRequestReviewCommentLinks { #[serde(rename = "self")] pub self_: Link, } -impl ::std::convert::From<&PullRequestReviewCommentLinks> for PullRequestReviewCommentLinks { - fn from(value: &PullRequestReviewCommentLinks) -> Self { - value.clone() - } -} #[doc = "The side of the first line of the range for a multi-line comment."] #[doc = r""] #[doc = r"
JSON schema"] @@ -74833,11 +66862,6 @@ pub enum PullRequestReviewCommentSide { #[serde(rename = "RIGHT")] Right, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentSide { - fn from(value: &PullRequestReviewCommentSide) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentSide { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -74862,14 +66886,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentSide { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewCommentSide { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentSide { type Error = self::error::ConversionError; fn try_from( @@ -74912,11 +66928,6 @@ pub enum PullRequestReviewCommentStartSide { #[serde(rename = "RIGHT")] Right, } -impl ::std::convert::From<&Self> for PullRequestReviewCommentStartSide { - fn from(value: &PullRequestReviewCommentStartSide) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewCommentStartSide { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -74941,14 +66952,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewCommentStartSide { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewCommentStartSide { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewCommentStartSide { type Error = self::error::ConversionError; fn try_from( @@ -75091,11 +67094,6 @@ pub struct PullRequestReviewDismissed { pub review: PullRequestReviewDismissedReview, pub sender: User, } -impl ::std::convert::From<&PullRequestReviewDismissed> for PullRequestReviewDismissed { - fn from(value: &PullRequestReviewDismissed) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewDismissedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -75125,11 +67123,6 @@ pub enum PullRequestReviewDismissedAction { #[serde(rename = "dismissed")] Dismissed, } -impl ::std::convert::From<&Self> for PullRequestReviewDismissedAction { - fn from(value: &PullRequestReviewDismissedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewDismissedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -75152,14 +67145,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewDismissedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewDismissedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewDismissedAction { type Error = self::error::ConversionError; fn try_from( @@ -75272,11 +67257,6 @@ pub struct PullRequestReviewDismissedReview { pub submitted_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&PullRequestReviewDismissedReview> for PullRequestReviewDismissedReview { - fn from(value: &PullRequestReviewDismissedReview) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewDismissedReviewLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -75306,13 +67286,6 @@ pub struct PullRequestReviewDismissedReviewLinks { pub html: Link, pub pull_request: Link, } -impl ::std::convert::From<&PullRequestReviewDismissedReviewLinks> - for PullRequestReviewDismissedReviewLinks -{ - fn from(value: &PullRequestReviewDismissedReviewLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewDismissedReviewState`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -75342,11 +67315,6 @@ pub enum PullRequestReviewDismissedReviewState { #[serde(rename = "dismissed")] Dismissed, } -impl ::std::convert::From<&Self> for PullRequestReviewDismissedReviewState { - fn from(value: &PullRequestReviewDismissedReviewState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewDismissedReviewState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -75369,14 +67337,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewDismissedReviewState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewDismissedReviewState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewDismissedReviewState { type Error = self::error::ConversionError; fn try_from( @@ -75537,11 +67497,6 @@ pub struct PullRequestReviewEdited { pub review: PullRequestReviewEditedReview, pub sender: User, } -impl ::std::convert::From<&PullRequestReviewEdited> for PullRequestReviewEdited { - fn from(value: &PullRequestReviewEdited) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -75571,11 +67526,6 @@ pub enum PullRequestReviewEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for PullRequestReviewEditedAction { - fn from(value: &PullRequestReviewEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -75598,14 +67548,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -75646,11 +67588,6 @@ pub struct PullRequestReviewEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub body: ::std::option::Option, } -impl ::std::convert::From<&PullRequestReviewEditedChanges> for PullRequestReviewEditedChanges { - fn from(value: &PullRequestReviewEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for PullRequestReviewEditedChanges { fn default() -> Self { Self { @@ -75684,13 +67621,6 @@ pub struct PullRequestReviewEditedChangesBody { #[doc = "The previous version of the body if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&PullRequestReviewEditedChangesBody> - for PullRequestReviewEditedChangesBody -{ - fn from(value: &PullRequestReviewEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "The review that was affected."] #[doc = r""] #[doc = r"
JSON schema"] @@ -75792,11 +67722,6 @@ pub struct PullRequestReviewEditedReview { pub submitted_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&PullRequestReviewEditedReview> for PullRequestReviewEditedReview { - fn from(value: &PullRequestReviewEditedReview) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewEditedReviewLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -75826,13 +67751,6 @@ pub struct PullRequestReviewEditedReviewLinks { pub html: Link, pub pull_request: Link, } -impl ::std::convert::From<&PullRequestReviewEditedReviewLinks> - for PullRequestReviewEditedReviewLinks -{ - fn from(value: &PullRequestReviewEditedReviewLinks) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -75860,11 +67778,6 @@ pub enum PullRequestReviewEvent { Edited(PullRequestReviewEdited), Submitted(PullRequestReviewSubmitted), } -impl ::std::convert::From<&Self> for PullRequestReviewEvent { - fn from(value: &PullRequestReviewEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for PullRequestReviewEvent { fn from(value: PullRequestReviewDismissed) -> Self { Self::Dismissed(value) @@ -76007,11 +67920,6 @@ pub enum PullRequestReviewRequestRemoved { sender: User, }, } -impl ::std::convert::From<&Self> for PullRequestReviewRequestRemoved { - fn from(value: &PullRequestReviewRequestRemoved) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewRequestRemovedVariant0Action`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -76041,11 +67949,6 @@ pub enum PullRequestReviewRequestRemovedVariant0Action { #[serde(rename = "review_request_removed")] ReviewRequestRemoved, } -impl ::std::convert::From<&Self> for PullRequestReviewRequestRemovedVariant0Action { - fn from(value: &PullRequestReviewRequestRemovedVariant0Action) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewRequestRemovedVariant0Action { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -76068,16 +67971,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewRequestRemovedVariant0Ac value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReviewRequestRemovedVariant0Action -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewRequestRemovedVariant0Action { @@ -76117,11 +68010,6 @@ pub enum PullRequestReviewRequestRemovedVariant1Action { #[serde(rename = "review_request_removed")] ReviewRequestRemoved, } -impl ::std::convert::From<&Self> for PullRequestReviewRequestRemovedVariant1Action { - fn from(value: &PullRequestReviewRequestRemovedVariant1Action) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewRequestRemovedVariant1Action { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -76144,16 +68032,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewRequestRemovedVariant1Ac value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for PullRequestReviewRequestRemovedVariant1Action -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewRequestRemovedVariant1Action { @@ -76291,11 +68169,6 @@ pub enum PullRequestReviewRequested { sender: User, }, } -impl ::std::convert::From<&Self> for PullRequestReviewRequested { - fn from(value: &PullRequestReviewRequested) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewRequestedVariant0Action`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -76325,11 +68198,6 @@ pub enum PullRequestReviewRequestedVariant0Action { #[serde(rename = "review_requested")] ReviewRequested, } -impl ::std::convert::From<&Self> for PullRequestReviewRequestedVariant0Action { - fn from(value: &PullRequestReviewRequestedVariant0Action) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewRequestedVariant0Action { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -76352,14 +68220,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewRequestedVariant0Action value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewRequestedVariant0Action { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewRequestedVariant0Action { type Error = self::error::ConversionError; fn try_from( @@ -76397,11 +68257,6 @@ pub enum PullRequestReviewRequestedVariant1Action { #[serde(rename = "review_requested")] ReviewRequested, } -impl ::std::convert::From<&Self> for PullRequestReviewRequestedVariant1Action { - fn from(value: &PullRequestReviewRequestedVariant1Action) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewRequestedVariant1Action { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -76424,14 +68279,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewRequestedVariant1Action value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewRequestedVariant1Action { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewRequestedVariant1Action { type Error = self::error::ConversionError; fn try_from( @@ -76571,11 +68418,6 @@ pub struct PullRequestReviewSubmitted { pub review: PullRequestReviewSubmittedReview, pub sender: User, } -impl ::std::convert::From<&PullRequestReviewSubmitted> for PullRequestReviewSubmitted { - fn from(value: &PullRequestReviewSubmitted) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewSubmittedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -76605,11 +68447,6 @@ pub enum PullRequestReviewSubmittedAction { #[serde(rename = "submitted")] Submitted, } -impl ::std::convert::From<&Self> for PullRequestReviewSubmittedAction { - fn from(value: &PullRequestReviewSubmittedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestReviewSubmittedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -76632,14 +68469,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestReviewSubmittedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestReviewSubmittedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestReviewSubmittedAction { type Error = self::error::ConversionError; fn try_from( @@ -76749,11 +68578,6 @@ pub struct PullRequestReviewSubmittedReview { pub submitted_at: ::chrono::DateTime<::chrono::offset::Utc>, pub user: User, } -impl ::std::convert::From<&PullRequestReviewSubmittedReview> for PullRequestReviewSubmittedReview { - fn from(value: &PullRequestReviewSubmittedReview) -> Self { - value.clone() - } -} #[doc = "`PullRequestReviewSubmittedReviewLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -76783,13 +68607,6 @@ pub struct PullRequestReviewSubmittedReviewLinks { pub html: Link, pub pull_request: Link, } -impl ::std::convert::From<&PullRequestReviewSubmittedReviewLinks> - for PullRequestReviewSubmittedReviewLinks -{ - fn from(value: &PullRequestReviewSubmittedReviewLinks) -> Self { - value.clone() - } -} #[doc = "State of this Pull Request. Either `open` or `closed`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -76823,11 +68640,6 @@ pub enum PullRequestState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for PullRequestState { - fn from(value: &PullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -76852,14 +68664,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestState { type Error = self::error::ConversionError; fn try_from( @@ -76939,11 +68743,6 @@ pub struct PullRequestSynchronize { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestSynchronize> for PullRequestSynchronize { - fn from(value: &PullRequestSynchronize) -> Self { - value.clone() - } -} #[doc = "`PullRequestSynchronizeAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -76973,11 +68772,6 @@ pub enum PullRequestSynchronizeAction { #[serde(rename = "synchronize")] Synchronize, } -impl ::std::convert::From<&Self> for PullRequestSynchronizeAction { - fn from(value: &PullRequestSynchronizeAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestSynchronizeAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -77000,14 +68794,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestSynchronizeAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestSynchronizeAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestSynchronizeAction { type Error = self::error::ConversionError; fn try_from( @@ -77082,11 +68868,6 @@ pub struct PullRequestUnassigned { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestUnassigned> for PullRequestUnassigned { - fn from(value: &PullRequestUnassigned) -> Self { - value.clone() - } -} #[doc = "`PullRequestUnassignedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -77116,11 +68897,6 @@ pub enum PullRequestUnassignedAction { #[serde(rename = "unassigned")] Unassigned, } -impl ::std::convert::From<&Self> for PullRequestUnassignedAction { - fn from(value: &PullRequestUnassignedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestUnassignedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -77143,14 +68919,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestUnassignedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestUnassignedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestUnassignedAction { type Error = self::error::ConversionError; fn try_from( @@ -77225,11 +68993,6 @@ pub struct PullRequestUnlabeled { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestUnlabeled> for PullRequestUnlabeled { - fn from(value: &PullRequestUnlabeled) -> Self { - value.clone() - } -} #[doc = "`PullRequestUnlabeledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -77259,11 +69022,6 @@ pub enum PullRequestUnlabeledAction { #[serde(rename = "unlabeled")] Unlabeled, } -impl ::std::convert::From<&Self> for PullRequestUnlabeledAction { - fn from(value: &PullRequestUnlabeledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestUnlabeledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -77286,14 +69044,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestUnlabeledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestUnlabeledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestUnlabeledAction { type Error = self::error::ConversionError; fn try_from( @@ -77363,11 +69113,6 @@ pub struct PullRequestUnlocked { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PullRequestUnlocked> for PullRequestUnlocked { - fn from(value: &PullRequestUnlocked) -> Self { - value.clone() - } -} #[doc = "`PullRequestUnlockedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -77397,11 +69142,6 @@ pub enum PullRequestUnlockedAction { #[serde(rename = "unlocked")] Unlocked, } -impl ::std::convert::From<&Self> for PullRequestUnlockedAction { - fn from(value: &PullRequestUnlockedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for PullRequestUnlockedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -77424,14 +69164,6 @@ impl ::std::convert::TryFrom<&str> for PullRequestUnlockedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for PullRequestUnlockedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for PullRequestUnlockedAction { type Error = self::error::ConversionError; fn try_from( @@ -77558,11 +69290,6 @@ pub struct PushEvent { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&PushEvent> for PushEvent { - fn from(value: &PushEvent) -> Self { - value.clone() - } -} #[doc = "The [release](https://docs.github.com/en/rest/reference/repos/#get-a-release) object."] #[doc = r""] #[doc = r"
JSON schema"] @@ -77706,11 +69433,6 @@ pub struct Release { pub url: ::std::string::String, pub zipball_url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&Release> for Release { - fn from(value: &Release) -> Self { - value.clone() - } -} #[doc = "Data related to a release."] #[doc = r""] #[doc = r"
JSON schema"] @@ -77812,11 +69534,6 @@ pub struct ReleaseAsset { pub uploader: ::std::option::Option, pub url: ::std::string::String, } -impl ::std::convert::From<&ReleaseAsset> for ReleaseAsset { - fn from(value: &ReleaseAsset) -> Self { - value.clone() - } -} #[doc = "State of the release asset."] #[doc = r""] #[doc = r"
JSON schema"] @@ -77847,11 +69564,6 @@ pub enum ReleaseAssetState { #[serde(rename = "uploaded")] Uploaded, } -impl ::std::convert::From<&Self> for ReleaseAssetState { - fn from(value: &ReleaseAssetState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ReleaseAssetState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -77874,14 +69586,6 @@ impl ::std::convert::TryFrom<&str> for ReleaseAssetState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ReleaseAssetState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ReleaseAssetState { type Error = self::error::ConversionError; fn try_from( @@ -77944,11 +69648,6 @@ pub struct ReleaseCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ReleaseCreated> for ReleaseCreated { - fn from(value: &ReleaseCreated) -> Self { - value.clone() - } -} #[doc = "`ReleaseCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -77978,11 +69677,6 @@ pub enum ReleaseCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for ReleaseCreatedAction { - fn from(value: &ReleaseCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ReleaseCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -78005,14 +69699,6 @@ impl ::std::convert::TryFrom<&str> for ReleaseCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ReleaseCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ReleaseCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -78075,11 +69761,6 @@ pub struct ReleaseDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ReleaseDeleted> for ReleaseDeleted { - fn from(value: &ReleaseDeleted) -> Self { - value.clone() - } -} #[doc = "`ReleaseDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -78109,11 +69790,6 @@ pub enum ReleaseDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for ReleaseDeletedAction { - fn from(value: &ReleaseDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ReleaseDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -78136,14 +69812,6 @@ impl ::std::convert::TryFrom<&str> for ReleaseDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ReleaseDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ReleaseDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -78240,11 +69908,6 @@ pub struct ReleaseEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ReleaseEdited> for ReleaseEdited { - fn from(value: &ReleaseEdited) -> Self { - value.clone() - } -} #[doc = "`ReleaseEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -78274,11 +69937,6 @@ pub enum ReleaseEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for ReleaseEditedAction { - fn from(value: &ReleaseEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ReleaseEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -78301,14 +69959,6 @@ impl ::std::convert::TryFrom<&str> for ReleaseEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ReleaseEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ReleaseEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -78364,11 +70014,6 @@ pub struct ReleaseEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub name: ::std::option::Option, } -impl ::std::convert::From<&ReleaseEditedChanges> for ReleaseEditedChanges { - fn from(value: &ReleaseEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for ReleaseEditedChanges { fn default() -> Self { Self { @@ -78403,11 +70048,6 @@ pub struct ReleaseEditedChangesBody { #[doc = "The previous version of the body if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&ReleaseEditedChangesBody> for ReleaseEditedChangesBody { - fn from(value: &ReleaseEditedChangesBody) -> Self { - value.clone() - } -} #[doc = "`ReleaseEditedChangesName`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -78434,11 +70074,6 @@ pub struct ReleaseEditedChangesName { #[doc = "The previous version of the name if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&ReleaseEditedChangesName> for ReleaseEditedChangesName { - fn from(value: &ReleaseEditedChangesName) -> Self { - value.clone() - } -} #[doc = "`ReleaseEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -78482,11 +70117,6 @@ pub enum ReleaseEvent { Released(ReleaseReleased), Unpublished(ReleaseUnpublished), } -impl ::std::convert::From<&Self> for ReleaseEvent { - fn from(value: &ReleaseEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for ReleaseEvent { fn from(value: ReleaseCreated) -> Self { Self::Created(value) @@ -78596,11 +70226,6 @@ pub struct ReleasePrereleased { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ReleasePrereleased> for ReleasePrereleased { - fn from(value: &ReleasePrereleased) -> Self { - value.clone() - } -} #[doc = "`ReleasePrereleasedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -78630,11 +70255,6 @@ pub enum ReleasePrereleasedAction { #[serde(rename = "prereleased")] Prereleased, } -impl ::std::convert::From<&Self> for ReleasePrereleasedAction { - fn from(value: &ReleasePrereleasedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ReleasePrereleasedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -78657,14 +70277,6 @@ impl ::std::convert::TryFrom<&str> for ReleasePrereleasedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ReleasePrereleasedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ReleasePrereleasedAction { type Error = self::error::ConversionError; fn try_from( @@ -78728,11 +70340,6 @@ pub struct ReleasePrereleasedRelease { pub url: ::std::string::String, pub zipball_url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&ReleasePrereleasedRelease> for ReleasePrereleasedRelease { - fn from(value: &ReleasePrereleasedRelease) -> Self { - value.clone() - } -} #[doc = "`ReleasePublished`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -78804,11 +70411,6 @@ pub struct ReleasePublished { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ReleasePublished> for ReleasePublished { - fn from(value: &ReleasePublished) -> Self { - value.clone() - } -} #[doc = "`ReleasePublishedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -78838,11 +70440,6 @@ pub enum ReleasePublishedAction { #[serde(rename = "published")] Published, } -impl ::std::convert::From<&Self> for ReleasePublishedAction { - fn from(value: &ReleasePublishedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ReleasePublishedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -78865,14 +70462,6 @@ impl ::std::convert::TryFrom<&str> for ReleasePublishedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ReleasePublishedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ReleasePublishedAction { type Error = self::error::ConversionError; fn try_from( @@ -78934,11 +70523,6 @@ pub struct ReleasePublishedRelease { pub url: ::std::string::String, pub zipball_url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&ReleasePublishedRelease> for ReleasePublishedRelease { - fn from(value: &ReleasePublishedRelease) -> Self { - value.clone() - } -} #[doc = "`ReleaseReleased`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -78993,11 +70577,6 @@ pub struct ReleaseReleased { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ReleaseReleased> for ReleaseReleased { - fn from(value: &ReleaseReleased) -> Self { - value.clone() - } -} #[doc = "`ReleaseReleasedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -79027,11 +70606,6 @@ pub enum ReleaseReleasedAction { #[serde(rename = "released")] Released, } -impl ::std::convert::From<&Self> for ReleaseReleasedAction { - fn from(value: &ReleaseReleasedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ReleaseReleasedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -79054,14 +70628,6 @@ impl ::std::convert::TryFrom<&str> for ReleaseReleasedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ReleaseReleasedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ReleaseReleasedAction { type Error = self::error::ConversionError; fn try_from( @@ -79140,11 +70706,6 @@ pub struct ReleaseUnpublished { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&ReleaseUnpublished> for ReleaseUnpublished { - fn from(value: &ReleaseUnpublished) -> Self { - value.clone() - } -} #[doc = "`ReleaseUnpublishedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -79174,11 +70735,6 @@ pub enum ReleaseUnpublishedAction { #[serde(rename = "unpublished")] Unpublished, } -impl ::std::convert::From<&Self> for ReleaseUnpublishedAction { - fn from(value: &ReleaseUnpublishedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ReleaseUnpublishedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -79201,14 +70757,6 @@ impl ::std::convert::TryFrom<&str> for ReleaseUnpublishedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ReleaseUnpublishedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ReleaseUnpublishedAction { type Error = self::error::ConversionError; fn try_from( @@ -79269,11 +70817,6 @@ pub struct ReleaseUnpublishedRelease { pub url: ::std::string::String, pub zipball_url: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&ReleaseUnpublishedRelease> for ReleaseUnpublishedRelease { - fn from(value: &ReleaseUnpublishedRelease) -> Self { - value.clone() - } -} #[doc = "`RepoRef`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -79311,11 +70854,6 @@ pub struct RepoRef { pub name: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&RepoRef> for RepoRef { - fn from(value: &RepoRef) -> Self { - value.clone() - } -} #[doc = "A git repository"] #[doc = r""] #[doc = r"
JSON schema"] @@ -79904,11 +71442,6 @@ pub struct Repository { pub watchers: i64, pub watchers_count: i64, } -impl ::std::convert::From<&Repository> for Repository { - fn from(value: &Repository) -> Self { - value.clone() - } -} #[doc = "`RepositoryArchived`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -79979,11 +71512,6 @@ pub struct RepositoryArchived { pub repository: RepositoryArchivedRepository, pub sender: User, } -impl ::std::convert::From<&RepositoryArchived> for RepositoryArchived { - fn from(value: &RepositoryArchived) -> Self { - value.clone() - } -} #[doc = "`RepositoryArchivedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -80013,11 +71541,6 @@ pub enum RepositoryArchivedAction { #[serde(rename = "archived")] Archived, } -impl ::std::convert::From<&Self> for RepositoryArchivedAction { - fn from(value: &RepositoryArchivedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryArchivedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -80040,14 +71563,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryArchivedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryArchivedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryArchivedAction { type Error = self::error::ConversionError; fn try_from( @@ -80202,11 +71717,6 @@ pub struct RepositoryArchivedRepository { pub watchers: i64, pub watchers_count: i64, } -impl ::std::convert::From<&RepositoryArchivedRepository> for RepositoryArchivedRepository { - fn from(value: &RepositoryArchivedRepository) -> Self { - value.clone() - } -} #[doc = "`RepositoryArchivedRepositoryCreatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -80231,11 +71741,6 @@ pub enum RepositoryArchivedRepositoryCreatedAt { Integer(i64), DateTime(::chrono::DateTime<::chrono::offset::Utc>), } -impl ::std::convert::From<&Self> for RepositoryArchivedRepositoryCreatedAt { - fn from(value: &RepositoryArchivedRepositoryCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for RepositoryArchivedRepositoryCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -80254,14 +71759,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryArchivedRepositoryCreatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryArchivedRepositoryCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryArchivedRepositoryCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -80334,13 +71831,6 @@ pub struct RepositoryArchivedRepositoryPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub triage: ::std::option::Option, } -impl ::std::convert::From<&RepositoryArchivedRepositoryPermissions> - for RepositoryArchivedRepositoryPermissions -{ - fn from(value: &RepositoryArchivedRepositoryPermissions) -> Self { - value.clone() - } -} #[doc = "`RepositoryArchivedRepositoryPushedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -80369,11 +71859,6 @@ pub enum RepositoryArchivedRepositoryPushedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Null, } -impl ::std::convert::From<&Self> for RepositoryArchivedRepositoryPushedAt { - fn from(value: &RepositoryArchivedRepositoryPushedAt) -> Self { - value.clone() - } -} impl ::std::convert::From for RepositoryArchivedRepositoryPushedAt { fn from(value: i64) -> Self { Self::Integer(value) @@ -80435,11 +71920,6 @@ pub struct RepositoryCreated { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryCreated> for RepositoryCreated { - fn from(value: &RepositoryCreated) -> Self { - value.clone() - } -} #[doc = "`RepositoryCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -80469,11 +71949,6 @@ pub enum RepositoryCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for RepositoryCreatedAction { - fn from(value: &RepositoryCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -80496,14 +71971,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -80536,11 +72003,6 @@ pub enum RepositoryCreatedAt { Integer(i64), DateTime(::chrono::DateTime<::chrono::offset::Utc>), } -impl ::std::convert::From<&Self> for RepositoryCreatedAt { - fn from(value: &RepositoryCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for RepositoryCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -80559,14 +72021,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryCreatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -80642,11 +72096,6 @@ pub struct RepositoryDeleted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryDeleted> for RepositoryDeleted { - fn from(value: &RepositoryDeleted) -> Self { - value.clone() - } -} #[doc = "`RepositoryDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -80676,11 +72125,6 @@ pub enum RepositoryDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for RepositoryDeletedAction { - fn from(value: &RepositoryDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -80703,14 +72147,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -80747,11 +72183,6 @@ impl ::std::convert::From for RepositoryDispatchOnDeman value.0 } } -impl ::std::convert::From<&RepositoryDispatchEvent> for RepositoryDispatchEvent { - fn from(value: &RepositoryDispatchEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for RepositoryDispatchEvent { fn from(value: RepositoryDispatchOnDemandTest) -> Self { Self(value) @@ -80817,11 +72248,6 @@ pub struct RepositoryDispatchOnDemandTest { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryDispatchOnDemandTest> for RepositoryDispatchOnDemandTest { - fn from(value: &RepositoryDispatchOnDemandTest) -> Self { - value.clone() - } -} #[doc = "`RepositoryDispatchOnDemandTestAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -80851,11 +72277,6 @@ pub enum RepositoryDispatchOnDemandTestAction { #[serde(rename = "on-demand-test")] OnDemandTest, } -impl ::std::convert::From<&Self> for RepositoryDispatchOnDemandTestAction { - fn from(value: &RepositoryDispatchOnDemandTestAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryDispatchOnDemandTestAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -80878,14 +72299,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryDispatchOnDemandTestAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryDispatchOnDemandTestAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryDispatchOnDemandTestAction { type Error = self::error::ConversionError; fn try_from( @@ -80993,11 +72406,6 @@ pub struct RepositoryEdited { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryEdited> for RepositoryEdited { - fn from(value: &RepositoryEdited) -> Self { - value.clone() - } -} #[doc = "`RepositoryEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -81027,11 +72435,6 @@ pub enum RepositoryEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for RepositoryEditedAction { - fn from(value: &RepositoryEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -81054,14 +72457,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -81135,11 +72530,6 @@ pub struct RepositoryEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub homepage: ::std::option::Option, } -impl ::std::convert::From<&RepositoryEditedChanges> for RepositoryEditedChanges { - fn from(value: &RepositoryEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for RepositoryEditedChanges { fn default() -> Self { Self { @@ -81173,13 +72563,6 @@ impl ::std::default::Default for RepositoryEditedChanges { pub struct RepositoryEditedChangesDefaultBranch { pub from: ::std::string::String, } -impl ::std::convert::From<&RepositoryEditedChangesDefaultBranch> - for RepositoryEditedChangesDefaultBranch -{ - fn from(value: &RepositoryEditedChangesDefaultBranch) -> Self { - value.clone() - } -} #[doc = "`RepositoryEditedChangesDescription`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -81207,13 +72590,6 @@ impl ::std::convert::From<&RepositoryEditedChangesDefaultBranch> pub struct RepositoryEditedChangesDescription { pub from: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&RepositoryEditedChangesDescription> - for RepositoryEditedChangesDescription -{ - fn from(value: &RepositoryEditedChangesDescription) -> Self { - value.clone() - } -} #[doc = "`RepositoryEditedChangesHomepage`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -81241,11 +72617,6 @@ impl ::std::convert::From<&RepositoryEditedChangesDescription> pub struct RepositoryEditedChangesHomepage { pub from: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&RepositoryEditedChangesHomepage> for RepositoryEditedChangesHomepage { - fn from(value: &RepositoryEditedChangesHomepage) -> Self { - value.clone() - } -} #[doc = "`RepositoryEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -81297,11 +72668,6 @@ pub enum RepositoryEvent { Transferred(RepositoryTransferred), Unarchived(RepositoryUnarchived), } -impl ::std::convert::From<&Self> for RepositoryEvent { - fn from(value: &RepositoryEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for RepositoryEvent { fn from(value: RepositoryArchived) -> Self { Self::Archived(value) @@ -81398,11 +72764,6 @@ pub struct RepositoryImportEvent { pub sender: User, pub status: RepositoryImportEventStatus, } -impl ::std::convert::From<&RepositoryImportEvent> for RepositoryImportEvent { - fn from(value: &RepositoryImportEvent) -> Self { - value.clone() - } -} #[doc = "`RepositoryImportEventStatus`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -81438,11 +72799,6 @@ pub enum RepositoryImportEventStatus { #[serde(rename = "failure")] Failure, } -impl ::std::convert::From<&Self> for RepositoryImportEventStatus { - fn from(value: &RepositoryImportEventStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryImportEventStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -81469,14 +72825,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryImportEventStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryImportEventStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryImportEventStatus { type Error = self::error::ConversionError; fn try_from( @@ -81783,11 +73131,6 @@ pub struct RepositoryLite { pub trees_url: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&RepositoryLite> for RepositoryLite { - fn from(value: &RepositoryLite) -> Self { - value.clone() - } -} #[doc = "`RepositoryPermissions`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -81832,11 +73175,6 @@ pub struct RepositoryPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub triage: ::std::option::Option, } -impl ::std::convert::From<&RepositoryPermissions> for RepositoryPermissions { - fn from(value: &RepositoryPermissions) -> Self { - value.clone() - } -} #[doc = "`RepositoryPrivatized`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -81906,11 +73244,6 @@ pub struct RepositoryPrivatized { pub repository: RepositoryPrivatizedRepository, pub sender: User, } -impl ::std::convert::From<&RepositoryPrivatized> for RepositoryPrivatized { - fn from(value: &RepositoryPrivatized) -> Self { - value.clone() - } -} #[doc = "`RepositoryPrivatizedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -81940,11 +73273,6 @@ pub enum RepositoryPrivatizedAction { #[serde(rename = "privatized")] Privatized, } -impl ::std::convert::From<&Self> for RepositoryPrivatizedAction { - fn from(value: &RepositoryPrivatizedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryPrivatizedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -81967,14 +73295,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryPrivatizedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryPrivatizedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryPrivatizedAction { type Error = self::error::ConversionError; fn try_from( @@ -82128,11 +73448,6 @@ pub struct RepositoryPrivatizedRepository { pub watchers: i64, pub watchers_count: i64, } -impl ::std::convert::From<&RepositoryPrivatizedRepository> for RepositoryPrivatizedRepository { - fn from(value: &RepositoryPrivatizedRepository) -> Self { - value.clone() - } -} #[doc = "`RepositoryPrivatizedRepositoryCreatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -82157,11 +73472,6 @@ pub enum RepositoryPrivatizedRepositoryCreatedAt { Integer(i64), DateTime(::chrono::DateTime<::chrono::offset::Utc>), } -impl ::std::convert::From<&Self> for RepositoryPrivatizedRepositoryCreatedAt { - fn from(value: &RepositoryPrivatizedRepositoryCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for RepositoryPrivatizedRepositoryCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -82180,14 +73490,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryPrivatizedRepositoryCreatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryPrivatizedRepositoryCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryPrivatizedRepositoryCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -82260,13 +73562,6 @@ pub struct RepositoryPrivatizedRepositoryPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub triage: ::std::option::Option, } -impl ::std::convert::From<&RepositoryPrivatizedRepositoryPermissions> - for RepositoryPrivatizedRepositoryPermissions -{ - fn from(value: &RepositoryPrivatizedRepositoryPermissions) -> Self { - value.clone() - } -} #[doc = "`RepositoryPrivatizedRepositoryPushedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -82295,11 +73590,6 @@ pub enum RepositoryPrivatizedRepositoryPushedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Null, } -impl ::std::convert::From<&Self> for RepositoryPrivatizedRepositoryPushedAt { - fn from(value: &RepositoryPrivatizedRepositoryPushedAt) -> Self { - value.clone() - } -} impl ::std::convert::From for RepositoryPrivatizedRepositoryPushedAt { fn from(value: i64) -> Self { Self::Integer(value) @@ -82381,11 +73671,6 @@ pub struct RepositoryPublicized { pub repository: RepositoryPublicizedRepository, pub sender: User, } -impl ::std::convert::From<&RepositoryPublicized> for RepositoryPublicized { - fn from(value: &RepositoryPublicized) -> Self { - value.clone() - } -} #[doc = "`RepositoryPublicizedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -82415,11 +73700,6 @@ pub enum RepositoryPublicizedAction { #[serde(rename = "publicized")] Publicized, } -impl ::std::convert::From<&Self> for RepositoryPublicizedAction { - fn from(value: &RepositoryPublicizedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryPublicizedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -82442,14 +73722,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryPublicizedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryPublicizedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryPublicizedAction { type Error = self::error::ConversionError; fn try_from( @@ -82603,11 +73875,6 @@ pub struct RepositoryPublicizedRepository { pub watchers: i64, pub watchers_count: i64, } -impl ::std::convert::From<&RepositoryPublicizedRepository> for RepositoryPublicizedRepository { - fn from(value: &RepositoryPublicizedRepository) -> Self { - value.clone() - } -} #[doc = "`RepositoryPublicizedRepositoryCreatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -82632,11 +73899,6 @@ pub enum RepositoryPublicizedRepositoryCreatedAt { Integer(i64), DateTime(::chrono::DateTime<::chrono::offset::Utc>), } -impl ::std::convert::From<&Self> for RepositoryPublicizedRepositoryCreatedAt { - fn from(value: &RepositoryPublicizedRepositoryCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for RepositoryPublicizedRepositoryCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -82655,14 +73917,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryPublicizedRepositoryCreatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryPublicizedRepositoryCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryPublicizedRepositoryCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -82735,13 +73989,6 @@ pub struct RepositoryPublicizedRepositoryPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub triage: ::std::option::Option, } -impl ::std::convert::From<&RepositoryPublicizedRepositoryPermissions> - for RepositoryPublicizedRepositoryPermissions -{ - fn from(value: &RepositoryPublicizedRepositoryPermissions) -> Self { - value.clone() - } -} #[doc = "`RepositoryPublicizedRepositoryPushedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -82770,11 +74017,6 @@ pub enum RepositoryPublicizedRepositoryPushedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Null, } -impl ::std::convert::From<&Self> for RepositoryPublicizedRepositoryPushedAt { - fn from(value: &RepositoryPublicizedRepositoryPushedAt) -> Self { - value.clone() - } -} impl ::std::convert::From for RepositoryPublicizedRepositoryPushedAt { fn from(value: i64) -> Self { Self::Integer(value) @@ -82815,11 +74057,6 @@ pub enum RepositoryPushedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Null, } -impl ::std::convert::From<&Self> for RepositoryPushedAt { - fn from(value: &RepositoryPushedAt) -> Self { - value.clone() - } -} impl ::std::convert::From for RepositoryPushedAt { fn from(value: i64) -> Self { Self::Integer(value) @@ -82911,11 +74148,6 @@ pub struct RepositoryRenamed { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryRenamed> for RepositoryRenamed { - fn from(value: &RepositoryRenamed) -> Self { - value.clone() - } -} #[doc = "`RepositoryRenamedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -82945,11 +74177,6 @@ pub enum RepositoryRenamedAction { #[serde(rename = "renamed")] Renamed, } -impl ::std::convert::From<&Self> for RepositoryRenamedAction { - fn from(value: &RepositoryRenamedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryRenamedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -82972,14 +74199,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryRenamedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryRenamedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryRenamedAction { type Error = self::error::ConversionError; fn try_from( @@ -83030,11 +74249,6 @@ impl ::std::convert::TryFrom<::std::string::String> for RepositoryRenamedAction pub struct RepositoryRenamedChanges { pub repository: RepositoryRenamedChangesRepository, } -impl ::std::convert::From<&RepositoryRenamedChanges> for RepositoryRenamedChanges { - fn from(value: &RepositoryRenamedChanges) -> Self { - value.clone() - } -} #[doc = "`RepositoryRenamedChangesRepository`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83068,13 +74282,6 @@ impl ::std::convert::From<&RepositoryRenamedChanges> for RepositoryRenamedChange pub struct RepositoryRenamedChangesRepository { pub name: RepositoryRenamedChangesRepositoryName, } -impl ::std::convert::From<&RepositoryRenamedChangesRepository> - for RepositoryRenamedChangesRepository -{ - fn from(value: &RepositoryRenamedChangesRepository) -> Self { - value.clone() - } -} #[doc = "`RepositoryRenamedChangesRepositoryName`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83099,13 +74306,6 @@ impl ::std::convert::From<&RepositoryRenamedChangesRepository> pub struct RepositoryRenamedChangesRepositoryName { pub from: ::std::string::String, } -impl ::std::convert::From<&RepositoryRenamedChangesRepositoryName> - for RepositoryRenamedChangesRepositoryName -{ - fn from(value: &RepositoryRenamedChangesRepositoryName) -> Self { - value.clone() - } -} #[doc = "`RepositoryTransferred`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83184,11 +74384,6 @@ pub struct RepositoryTransferred { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryTransferred> for RepositoryTransferred { - fn from(value: &RepositoryTransferred) -> Self { - value.clone() - } -} #[doc = "`RepositoryTransferredAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83218,11 +74413,6 @@ pub enum RepositoryTransferredAction { #[serde(rename = "transferred")] Transferred, } -impl ::std::convert::From<&Self> for RepositoryTransferredAction { - fn from(value: &RepositoryTransferredAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryTransferredAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -83245,14 +74435,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryTransferredAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryTransferredAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryTransferredAction { type Error = self::error::ConversionError; fn try_from( @@ -83300,11 +74482,6 @@ impl ::std::convert::TryFrom<::std::string::String> for RepositoryTransferredAct pub struct RepositoryTransferredChanges { pub owner: RepositoryTransferredChangesOwner, } -impl ::std::convert::From<&RepositoryTransferredChanges> for RepositoryTransferredChanges { - fn from(value: &RepositoryTransferredChanges) -> Self { - value.clone() - } -} #[doc = "`RepositoryTransferredChangesOwner`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83335,13 +74512,6 @@ impl ::std::convert::From<&RepositoryTransferredChanges> for RepositoryTransferr pub struct RepositoryTransferredChangesOwner { pub from: RepositoryTransferredChangesOwnerFrom, } -impl ::std::convert::From<&RepositoryTransferredChangesOwner> - for RepositoryTransferredChangesOwner -{ - fn from(value: &RepositoryTransferredChangesOwner) -> Self { - value.clone() - } -} #[doc = "`RepositoryTransferredChangesOwnerFrom`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83364,13 +74534,6 @@ pub struct RepositoryTransferredChangesOwnerFrom { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub user: ::std::option::Option, } -impl ::std::convert::From<&RepositoryTransferredChangesOwnerFrom> - for RepositoryTransferredChangesOwnerFrom -{ - fn from(value: &RepositoryTransferredChangesOwnerFrom) -> Self { - value.clone() - } -} impl ::std::default::Default for RepositoryTransferredChangesOwnerFrom { fn default() -> Self { Self { @@ -83448,11 +74611,6 @@ pub struct RepositoryUnarchived { pub repository: RepositoryUnarchivedRepository, pub sender: User, } -impl ::std::convert::From<&RepositoryUnarchived> for RepositoryUnarchived { - fn from(value: &RepositoryUnarchived) -> Self { - value.clone() - } -} #[doc = "`RepositoryUnarchivedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83482,11 +74640,6 @@ pub enum RepositoryUnarchivedAction { #[serde(rename = "unarchived")] Unarchived, } -impl ::std::convert::From<&Self> for RepositoryUnarchivedAction { - fn from(value: &RepositoryUnarchivedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryUnarchivedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -83509,14 +74662,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryUnarchivedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryUnarchivedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryUnarchivedAction { type Error = self::error::ConversionError; fn try_from( @@ -83671,11 +74816,6 @@ pub struct RepositoryUnarchivedRepository { pub watchers: i64, pub watchers_count: i64, } -impl ::std::convert::From<&RepositoryUnarchivedRepository> for RepositoryUnarchivedRepository { - fn from(value: &RepositoryUnarchivedRepository) -> Self { - value.clone() - } -} #[doc = "`RepositoryUnarchivedRepositoryCreatedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83700,11 +74840,6 @@ pub enum RepositoryUnarchivedRepositoryCreatedAt { Integer(i64), DateTime(::chrono::DateTime<::chrono::offset::Utc>), } -impl ::std::convert::From<&Self> for RepositoryUnarchivedRepositoryCreatedAt { - fn from(value: &RepositoryUnarchivedRepositoryCreatedAt) -> Self { - value.clone() - } -} impl ::std::str::FromStr for RepositoryUnarchivedRepositoryCreatedAt { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -83723,14 +74858,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryUnarchivedRepositoryCreatedAt { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryUnarchivedRepositoryCreatedAt { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryUnarchivedRepositoryCreatedAt { type Error = self::error::ConversionError; fn try_from( @@ -83803,13 +74930,6 @@ pub struct RepositoryUnarchivedRepositoryPermissions { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub triage: ::std::option::Option, } -impl ::std::convert::From<&RepositoryUnarchivedRepositoryPermissions> - for RepositoryUnarchivedRepositoryPermissions -{ - fn from(value: &RepositoryUnarchivedRepositoryPermissions) -> Self { - value.clone() - } -} #[doc = "`RepositoryUnarchivedRepositoryPushedAt`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83838,11 +74958,6 @@ pub enum RepositoryUnarchivedRepositoryPushedAt { DateTime(::chrono::DateTime<::chrono::offset::Utc>), Null, } -impl ::std::convert::From<&Self> for RepositoryUnarchivedRepositoryPushedAt { - fn from(value: &RepositoryUnarchivedRepositoryPushedAt) -> Self { - value.clone() - } -} impl ::std::convert::From for RepositoryUnarchivedRepositoryPushedAt { fn from(value: i64) -> Self { Self::Integer(value) @@ -83953,13 +75068,6 @@ pub struct RepositoryVulnerabilityAlertCreate { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryVulnerabilityAlertCreate> - for RepositoryVulnerabilityAlertCreate -{ - fn from(value: &RepositoryVulnerabilityAlertCreate) -> Self { - value.clone() - } -} #[doc = "`RepositoryVulnerabilityAlertCreateAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -83989,11 +75097,6 @@ pub enum RepositoryVulnerabilityAlertCreateAction { #[serde(rename = "create")] Create, } -impl ::std::convert::From<&Self> for RepositoryVulnerabilityAlertCreateAction { - fn from(value: &RepositoryVulnerabilityAlertCreateAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryVulnerabilityAlertCreateAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -84016,14 +75119,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryVulnerabilityAlertCreateAction value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryVulnerabilityAlertCreateAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryVulnerabilityAlertCreateAction { type Error = self::error::ConversionError; fn try_from( @@ -84113,13 +75208,6 @@ pub struct RepositoryVulnerabilityAlertCreateAlert { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub severity: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&RepositoryVulnerabilityAlertCreateAlert> - for RepositoryVulnerabilityAlertCreateAlert -{ - fn from(value: &RepositoryVulnerabilityAlertCreateAlert) -> Self { - value.clone() - } -} #[doc = "`RepositoryVulnerabilityAlertDismiss`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -84221,13 +75309,6 @@ pub struct RepositoryVulnerabilityAlertDismiss { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryVulnerabilityAlertDismiss> - for RepositoryVulnerabilityAlertDismiss -{ - fn from(value: &RepositoryVulnerabilityAlertDismiss) -> Self { - value.clone() - } -} #[doc = "`RepositoryVulnerabilityAlertDismissAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -84257,11 +75338,6 @@ pub enum RepositoryVulnerabilityAlertDismissAction { #[serde(rename = "dismiss")] Dismiss, } -impl ::std::convert::From<&Self> for RepositoryVulnerabilityAlertDismissAction { - fn from(value: &RepositoryVulnerabilityAlertDismissAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryVulnerabilityAlertDismissAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -84284,14 +75360,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryVulnerabilityAlertDismissAction value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryVulnerabilityAlertDismissAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryVulnerabilityAlertDismissAction { type Error = self::error::ConversionError; fn try_from( @@ -84381,13 +75449,6 @@ pub struct RepositoryVulnerabilityAlertDismissAlert { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub severity: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&RepositoryVulnerabilityAlertDismissAlert> - for RepositoryVulnerabilityAlertDismissAlert -{ - fn from(value: &RepositoryVulnerabilityAlertDismissAlert) -> Self { - value.clone() - } -} #[doc = "`RepositoryVulnerabilityAlertEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -84415,11 +75476,6 @@ pub enum RepositoryVulnerabilityAlertEvent { Dismiss(RepositoryVulnerabilityAlertDismiss), Resolve(RepositoryVulnerabilityAlertResolve), } -impl ::std::convert::From<&Self> for RepositoryVulnerabilityAlertEvent { - fn from(value: &RepositoryVulnerabilityAlertEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for RepositoryVulnerabilityAlertEvent { @@ -84539,13 +75595,6 @@ pub struct RepositoryVulnerabilityAlertResolve { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&RepositoryVulnerabilityAlertResolve> - for RepositoryVulnerabilityAlertResolve -{ - fn from(value: &RepositoryVulnerabilityAlertResolve) -> Self { - value.clone() - } -} #[doc = "`RepositoryVulnerabilityAlertResolveAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -84575,11 +75624,6 @@ pub enum RepositoryVulnerabilityAlertResolveAction { #[serde(rename = "resolve")] Resolve, } -impl ::std::convert::From<&Self> for RepositoryVulnerabilityAlertResolveAction { - fn from(value: &RepositoryVulnerabilityAlertResolveAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for RepositoryVulnerabilityAlertResolveAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -84602,14 +75646,6 @@ impl ::std::convert::TryFrom<&str> for RepositoryVulnerabilityAlertResolveAction value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for RepositoryVulnerabilityAlertResolveAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for RepositoryVulnerabilityAlertResolveAction { type Error = self::error::ConversionError; fn try_from( @@ -84699,13 +75735,6 @@ pub struct RepositoryVulnerabilityAlertResolveAlert { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub severity: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&RepositoryVulnerabilityAlertResolveAlert> - for RepositoryVulnerabilityAlertResolveAlert -{ - fn from(value: &RepositoryVulnerabilityAlertResolveAlert) -> Self { - value.clone() - } -} #[doc = "`SecretScanningAlertCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -84781,11 +75810,6 @@ pub struct SecretScanningAlertCreated { pub organization: ::std::option::Option, pub repository: Repository, } -impl ::std::convert::From<&SecretScanningAlertCreated> for SecretScanningAlertCreated { - fn from(value: &SecretScanningAlertCreated) -> Self { - value.clone() - } -} #[doc = "`SecretScanningAlertCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -84815,11 +75839,6 @@ pub enum SecretScanningAlertCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for SecretScanningAlertCreatedAction { - fn from(value: &SecretScanningAlertCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SecretScanningAlertCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -84842,14 +75861,6 @@ impl ::std::convert::TryFrom<&str> for SecretScanningAlertCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SecretScanningAlertCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SecretScanningAlertCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -84903,11 +75914,6 @@ pub struct SecretScanningAlertCreatedAlert { pub resolved_by: (), pub secret_type: ::std::string::String, } -impl ::std::convert::From<&SecretScanningAlertCreatedAlert> for SecretScanningAlertCreatedAlert { - fn from(value: &SecretScanningAlertCreatedAlert) -> Self { - value.clone() - } -} #[doc = "`SecretScanningAlertEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -84935,11 +75941,6 @@ pub enum SecretScanningAlertEvent { Reopened(SecretScanningAlertReopened), Resolved(SecretScanningAlertResolved), } -impl ::std::convert::From<&Self> for SecretScanningAlertEvent { - fn from(value: &SecretScanningAlertEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for SecretScanningAlertEvent { fn from(value: SecretScanningAlertCreated) -> Self { Self::Created(value) @@ -85035,11 +76036,6 @@ pub struct SecretScanningAlertReopened { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&SecretScanningAlertReopened> for SecretScanningAlertReopened { - fn from(value: &SecretScanningAlertReopened) -> Self { - value.clone() - } -} #[doc = "`SecretScanningAlertReopenedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -85069,11 +76065,6 @@ pub enum SecretScanningAlertReopenedAction { #[serde(rename = "reopened")] Reopened, } -impl ::std::convert::From<&Self> for SecretScanningAlertReopenedAction { - fn from(value: &SecretScanningAlertReopenedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SecretScanningAlertReopenedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -85096,14 +76087,6 @@ impl ::std::convert::TryFrom<&str> for SecretScanningAlertReopenedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SecretScanningAlertReopenedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SecretScanningAlertReopenedAction { type Error = self::error::ConversionError; fn try_from( @@ -85157,11 +76140,6 @@ pub struct SecretScanningAlertReopenedAlert { pub resolved_by: (), pub secret_type: ::std::string::String, } -impl ::std::convert::From<&SecretScanningAlertReopenedAlert> for SecretScanningAlertReopenedAlert { - fn from(value: &SecretScanningAlertReopenedAlert) -> Self { - value.clone() - } -} #[doc = "`SecretScanningAlertResolved`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -85248,11 +76226,6 @@ pub struct SecretScanningAlertResolved { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&SecretScanningAlertResolved> for SecretScanningAlertResolved { - fn from(value: &SecretScanningAlertResolved) -> Self { - value.clone() - } -} #[doc = "`SecretScanningAlertResolvedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -85282,11 +76255,6 @@ pub enum SecretScanningAlertResolvedAction { #[serde(rename = "resolved")] Resolved, } -impl ::std::convert::From<&Self> for SecretScanningAlertResolvedAction { - fn from(value: &SecretScanningAlertResolvedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SecretScanningAlertResolvedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -85309,14 +76277,6 @@ impl ::std::convert::TryFrom<&str> for SecretScanningAlertResolvedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SecretScanningAlertResolvedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SecretScanningAlertResolvedAction { type Error = self::error::ConversionError; fn try_from( @@ -85376,11 +76336,6 @@ pub struct SecretScanningAlertResolvedAlert { pub resolved_by: User, pub secret_type: ::std::string::String, } -impl ::std::convert::From<&SecretScanningAlertResolvedAlert> for SecretScanningAlertResolvedAlert { - fn from(value: &SecretScanningAlertResolvedAlert) -> Self { - value.clone() - } -} #[doc = "`SecretScanningAlertResolvedAlertResolution`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -85419,11 +76374,6 @@ pub enum SecretScanningAlertResolvedAlertResolution { #[serde(rename = "used_in_tests")] UsedInTests, } -impl ::std::convert::From<&Self> for SecretScanningAlertResolvedAlertResolution { - fn from(value: &SecretScanningAlertResolvedAlertResolution) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SecretScanningAlertResolvedAlertResolution { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -85452,16 +76402,6 @@ impl ::std::convert::TryFrom<&str> for SecretScanningAlertResolvedAlertResolutio value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for SecretScanningAlertResolvedAlertResolution -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SecretScanningAlertResolvedAlertResolution { type Error = self::error::ConversionError; fn try_from( @@ -85501,11 +76441,6 @@ pub enum SecurityAdvisoryEvent { Updated(SecurityAdvisoryUpdated), Withdrawn(SecurityAdvisoryWithdrawn), } -impl ::std::convert::From<&Self> for SecurityAdvisoryEvent { - fn from(value: &SecurityAdvisoryEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for SecurityAdvisoryEvent { fn from(value: SecurityAdvisoryPerformed) -> Self { Self::Performed(value) @@ -85727,11 +76662,6 @@ pub struct SecurityAdvisoryPerformed { pub action: SecurityAdvisoryPerformedAction, pub security_advisory: SecurityAdvisoryPerformedSecurityAdvisory, } -impl ::std::convert::From<&SecurityAdvisoryPerformed> for SecurityAdvisoryPerformed { - fn from(value: &SecurityAdvisoryPerformed) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPerformedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -85761,11 +76691,6 @@ pub enum SecurityAdvisoryPerformedAction { #[serde(rename = "performed")] Performed, } -impl ::std::convert::From<&Self> for SecurityAdvisoryPerformedAction { - fn from(value: &SecurityAdvisoryPerformedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SecurityAdvisoryPerformedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -85788,14 +76713,6 @@ impl ::std::convert::TryFrom<&str> for SecurityAdvisoryPerformedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SecurityAdvisoryPerformedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SecurityAdvisoryPerformedAction { type Error = self::error::ConversionError; fn try_from( @@ -85998,13 +76915,6 @@ pub struct SecurityAdvisoryPerformedSecurityAdvisory { ::std::vec::Vec, pub withdrawn_at: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisory> - for SecurityAdvisoryPerformedSecurityAdvisory -{ - fn from(value: &SecurityAdvisoryPerformedSecurityAdvisory) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPerformedSecurityAdvisoryCvss`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86037,13 +76947,6 @@ pub struct SecurityAdvisoryPerformedSecurityAdvisoryCvss { pub score: f64, pub vector_string: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisoryCvss> - for SecurityAdvisoryPerformedSecurityAdvisoryCvss -{ - fn from(value: &SecurityAdvisoryPerformedSecurityAdvisoryCvss) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPerformedSecurityAdvisoryCwesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86073,13 +76976,6 @@ pub struct SecurityAdvisoryPerformedSecurityAdvisoryCwesItem { pub cwe_id: ::std::string::String, pub name: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisoryCwesItem> - for SecurityAdvisoryPerformedSecurityAdvisoryCwesItem -{ - fn from(value: &SecurityAdvisoryPerformedSecurityAdvisoryCwesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPerformedSecurityAdvisoryIdentifiersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86110,13 +77006,6 @@ pub struct SecurityAdvisoryPerformedSecurityAdvisoryIdentifiersItem { pub type_: ::std::string::String, pub value: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisoryIdentifiersItem> - for SecurityAdvisoryPerformedSecurityAdvisoryIdentifiersItem -{ - fn from(value: &SecurityAdvisoryPerformedSecurityAdvisoryIdentifiersItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPerformedSecurityAdvisoryReferencesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86142,13 +77031,6 @@ impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisoryIdentifiersI pub struct SecurityAdvisoryPerformedSecurityAdvisoryReferencesItem { pub url: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisoryReferencesItem> - for SecurityAdvisoryPerformedSecurityAdvisoryReferencesItem -{ - fn from(value: &SecurityAdvisoryPerformedSecurityAdvisoryReferencesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86215,13 +77097,6 @@ pub struct SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItem { pub severity: ::std::string::String, pub vulnerable_version_range: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItem> - for SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItem -{ - fn from(value: &SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86246,17 +77121,6 @@ impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilit pub struct SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion { pub identifier: ::std::string::String, } -impl - ::std::convert::From< - &SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion, - > for SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion -{ - fn from( - value: &SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion, - ) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemPackage`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86286,13 +77150,6 @@ pub struct SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemPackage { pub ecosystem: ::std::string::String, pub name: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemPackage> - for SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemPackage -{ - fn from(value: &SecurityAdvisoryPerformedSecurityAdvisoryVulnerabilitiesItemPackage) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublished`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86494,11 +77351,6 @@ pub struct SecurityAdvisoryPublished { pub action: SecurityAdvisoryPublishedAction, pub security_advisory: SecurityAdvisoryPublishedSecurityAdvisory, } -impl ::std::convert::From<&SecurityAdvisoryPublished> for SecurityAdvisoryPublished { - fn from(value: &SecurityAdvisoryPublished) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublishedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86528,11 +77380,6 @@ pub enum SecurityAdvisoryPublishedAction { #[serde(rename = "published")] Published, } -impl ::std::convert::From<&Self> for SecurityAdvisoryPublishedAction { - fn from(value: &SecurityAdvisoryPublishedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SecurityAdvisoryPublishedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -86555,14 +77402,6 @@ impl ::std::convert::TryFrom<&str> for SecurityAdvisoryPublishedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SecurityAdvisoryPublishedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SecurityAdvisoryPublishedAction { type Error = self::error::ConversionError; fn try_from( @@ -86765,13 +77604,6 @@ pub struct SecurityAdvisoryPublishedSecurityAdvisory { ::std::vec::Vec, pub withdrawn_at: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisory> - for SecurityAdvisoryPublishedSecurityAdvisory -{ - fn from(value: &SecurityAdvisoryPublishedSecurityAdvisory) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublishedSecurityAdvisoryCvss`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86804,13 +77636,6 @@ pub struct SecurityAdvisoryPublishedSecurityAdvisoryCvss { pub score: f64, pub vector_string: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisoryCvss> - for SecurityAdvisoryPublishedSecurityAdvisoryCvss -{ - fn from(value: &SecurityAdvisoryPublishedSecurityAdvisoryCvss) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublishedSecurityAdvisoryCwesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86840,13 +77665,6 @@ pub struct SecurityAdvisoryPublishedSecurityAdvisoryCwesItem { pub cwe_id: ::std::string::String, pub name: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisoryCwesItem> - for SecurityAdvisoryPublishedSecurityAdvisoryCwesItem -{ - fn from(value: &SecurityAdvisoryPublishedSecurityAdvisoryCwesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublishedSecurityAdvisoryIdentifiersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86877,13 +77695,6 @@ pub struct SecurityAdvisoryPublishedSecurityAdvisoryIdentifiersItem { pub type_: ::std::string::String, pub value: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisoryIdentifiersItem> - for SecurityAdvisoryPublishedSecurityAdvisoryIdentifiersItem -{ - fn from(value: &SecurityAdvisoryPublishedSecurityAdvisoryIdentifiersItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublishedSecurityAdvisoryReferencesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86909,13 +77720,6 @@ impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisoryIdentifiersI pub struct SecurityAdvisoryPublishedSecurityAdvisoryReferencesItem { pub url: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisoryReferencesItem> - for SecurityAdvisoryPublishedSecurityAdvisoryReferencesItem -{ - fn from(value: &SecurityAdvisoryPublishedSecurityAdvisoryReferencesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -86982,13 +77786,6 @@ pub struct SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItem { pub severity: ::std::string::String, pub vulnerable_version_range: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItem> - for SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItem -{ - fn from(value: &SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87013,17 +77810,6 @@ impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilit pub struct SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion { pub identifier: ::std::string::String, } -impl - ::std::convert::From< - &SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion, - > for SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion -{ - fn from( - value: &SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion, - ) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemPackage`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87053,13 +77839,6 @@ pub struct SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemPackage { pub ecosystem: ::std::string::String, pub name: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemPackage> - for SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemPackage -{ - fn from(value: &SecurityAdvisoryPublishedSecurityAdvisoryVulnerabilitiesItemPackage) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87261,11 +78040,6 @@ pub struct SecurityAdvisoryUpdated { pub action: SecurityAdvisoryUpdatedAction, pub security_advisory: SecurityAdvisoryUpdatedSecurityAdvisory, } -impl ::std::convert::From<&SecurityAdvisoryUpdated> for SecurityAdvisoryUpdated { - fn from(value: &SecurityAdvisoryUpdated) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87295,11 +78069,6 @@ pub enum SecurityAdvisoryUpdatedAction { #[serde(rename = "updated")] Updated, } -impl ::std::convert::From<&Self> for SecurityAdvisoryUpdatedAction { - fn from(value: &SecurityAdvisoryUpdatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SecurityAdvisoryUpdatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -87322,14 +78091,6 @@ impl ::std::convert::TryFrom<&str> for SecurityAdvisoryUpdatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SecurityAdvisoryUpdatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SecurityAdvisoryUpdatedAction { type Error = self::error::ConversionError; fn try_from( @@ -87532,13 +78293,6 @@ pub struct SecurityAdvisoryUpdatedSecurityAdvisory { ::std::vec::Vec, pub withdrawn_at: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisory> - for SecurityAdvisoryUpdatedSecurityAdvisory -{ - fn from(value: &SecurityAdvisoryUpdatedSecurityAdvisory) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdatedSecurityAdvisoryCvss`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87571,13 +78325,6 @@ pub struct SecurityAdvisoryUpdatedSecurityAdvisoryCvss { pub score: f64, pub vector_string: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisoryCvss> - for SecurityAdvisoryUpdatedSecurityAdvisoryCvss -{ - fn from(value: &SecurityAdvisoryUpdatedSecurityAdvisoryCvss) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdatedSecurityAdvisoryCwesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87607,13 +78354,6 @@ pub struct SecurityAdvisoryUpdatedSecurityAdvisoryCwesItem { pub cwe_id: ::std::string::String, pub name: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisoryCwesItem> - for SecurityAdvisoryUpdatedSecurityAdvisoryCwesItem -{ - fn from(value: &SecurityAdvisoryUpdatedSecurityAdvisoryCwesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdatedSecurityAdvisoryIdentifiersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87644,13 +78384,6 @@ pub struct SecurityAdvisoryUpdatedSecurityAdvisoryIdentifiersItem { pub type_: ::std::string::String, pub value: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisoryIdentifiersItem> - for SecurityAdvisoryUpdatedSecurityAdvisoryIdentifiersItem -{ - fn from(value: &SecurityAdvisoryUpdatedSecurityAdvisoryIdentifiersItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdatedSecurityAdvisoryReferencesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87676,13 +78409,6 @@ impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisoryIdentifiersIte pub struct SecurityAdvisoryUpdatedSecurityAdvisoryReferencesItem { pub url: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisoryReferencesItem> - for SecurityAdvisoryUpdatedSecurityAdvisoryReferencesItem -{ - fn from(value: &SecurityAdvisoryUpdatedSecurityAdvisoryReferencesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87749,13 +78475,6 @@ pub struct SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItem { pub severity: ::std::string::String, pub vulnerable_version_range: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItem> - for SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItem -{ - fn from(value: &SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87780,17 +78499,6 @@ impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitie pub struct SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion { pub identifier: ::std::string::String, } -impl - ::std::convert::From< - &SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion, - > for SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion -{ - fn from( - value: &SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion, - ) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemPackage`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -87820,13 +78528,6 @@ pub struct SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemPackage { pub ecosystem: ::std::string::String, pub name: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemPackage> - for SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemPackage -{ - fn from(value: &SecurityAdvisoryUpdatedSecurityAdvisoryVulnerabilitiesItemPackage) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawn`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88025,11 +78726,6 @@ pub struct SecurityAdvisoryWithdrawn { pub action: SecurityAdvisoryWithdrawnAction, pub security_advisory: SecurityAdvisoryWithdrawnSecurityAdvisory, } -impl ::std::convert::From<&SecurityAdvisoryWithdrawn> for SecurityAdvisoryWithdrawn { - fn from(value: &SecurityAdvisoryWithdrawn) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawnAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88059,11 +78755,6 @@ pub enum SecurityAdvisoryWithdrawnAction { #[serde(rename = "withdrawn")] Withdrawn, } -impl ::std::convert::From<&Self> for SecurityAdvisoryWithdrawnAction { - fn from(value: &SecurityAdvisoryWithdrawnAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SecurityAdvisoryWithdrawnAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -88086,14 +78777,6 @@ impl ::std::convert::TryFrom<&str> for SecurityAdvisoryWithdrawnAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SecurityAdvisoryWithdrawnAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SecurityAdvisoryWithdrawnAction { type Error = self::error::ConversionError; fn try_from( @@ -88293,13 +78976,6 @@ pub struct SecurityAdvisoryWithdrawnSecurityAdvisory { ::std::vec::Vec, pub withdrawn_at: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisory> - for SecurityAdvisoryWithdrawnSecurityAdvisory -{ - fn from(value: &SecurityAdvisoryWithdrawnSecurityAdvisory) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawnSecurityAdvisoryCvss`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88332,13 +79008,6 @@ pub struct SecurityAdvisoryWithdrawnSecurityAdvisoryCvss { pub score: f64, pub vector_string: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisoryCvss> - for SecurityAdvisoryWithdrawnSecurityAdvisoryCvss -{ - fn from(value: &SecurityAdvisoryWithdrawnSecurityAdvisoryCvss) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawnSecurityAdvisoryCwesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88368,13 +79037,6 @@ pub struct SecurityAdvisoryWithdrawnSecurityAdvisoryCwesItem { pub cwe_id: ::std::string::String, pub name: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisoryCwesItem> - for SecurityAdvisoryWithdrawnSecurityAdvisoryCwesItem -{ - fn from(value: &SecurityAdvisoryWithdrawnSecurityAdvisoryCwesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88405,13 +79067,6 @@ pub struct SecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiersItem { pub type_: ::std::string::String, pub value: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiersItem> - for SecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiersItem -{ - fn from(value: &SecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiersItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawnSecurityAdvisoryReferencesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88437,13 +79092,6 @@ impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiersI pub struct SecurityAdvisoryWithdrawnSecurityAdvisoryReferencesItem { pub url: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisoryReferencesItem> - for SecurityAdvisoryWithdrawnSecurityAdvisoryReferencesItem -{ - fn from(value: &SecurityAdvisoryWithdrawnSecurityAdvisoryReferencesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88510,13 +79158,6 @@ pub struct SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItem { pub severity: ::std::string::String, pub vulnerable_version_range: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItem> - for SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItem -{ - fn from(value: &SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItem) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88541,17 +79182,6 @@ impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilit pub struct SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion { pub identifier: ::std::string::String, } -impl - ::std::convert::From< - &SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion, - > for SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion -{ - fn from( - value: &SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion, - ) -> Self { - value.clone() - } -} #[doc = "`SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemPackage`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88581,13 +79211,6 @@ pub struct SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemPackage { pub ecosystem: ::std::string::String, pub name: ::std::string::String, } -impl ::std::convert::From<&SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemPackage> - for SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemPackage -{ - fn from(value: &SecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesItemPackage) -> Self { - value.clone() - } -} #[doc = "`SimplePullRequest`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88943,11 +79566,6 @@ pub struct SimplePullRequest { pub url: ::std::string::String, pub user: User, } -impl ::std::convert::From<&SimplePullRequest> for SimplePullRequest { - fn from(value: &SimplePullRequest) -> Self { - value.clone() - } -} #[doc = "`SimplePullRequestActiveLockReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -88986,11 +79604,6 @@ pub enum SimplePullRequestActiveLockReason { #[serde(rename = "spam")] Spam, } -impl ::std::convert::From<&Self> for SimplePullRequestActiveLockReason { - fn from(value: &SimplePullRequestActiveLockReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SimplePullRequestActiveLockReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -89019,14 +79632,6 @@ impl ::std::convert::TryFrom<&str> for SimplePullRequestActiveLockReason { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SimplePullRequestActiveLockReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SimplePullRequestActiveLockReason { type Error = self::error::ConversionError; fn try_from( @@ -89080,11 +79685,6 @@ pub struct SimplePullRequestBase { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&SimplePullRequestBase> for SimplePullRequestBase { - fn from(value: &SimplePullRequestBase) -> Self { - value.clone() - } -} #[doc = "`SimplePullRequestHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -89130,11 +79730,6 @@ pub struct SimplePullRequestHead { pub sha: ::std::string::String, pub user: User, } -impl ::std::convert::From<&SimplePullRequestHead> for SimplePullRequestHead { - fn from(value: &SimplePullRequestHead) -> Self { - value.clone() - } -} #[doc = "`SimplePullRequestLinks`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -89195,11 +79790,6 @@ pub struct SimplePullRequestLinks { pub self_: Link, pub statuses: Link, } -impl ::std::convert::From<&SimplePullRequestLinks> for SimplePullRequestLinks { - fn from(value: &SimplePullRequestLinks) -> Self { - value.clone() - } -} #[doc = "`SimplePullRequestRequestedReviewersItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -89223,11 +79813,6 @@ pub enum SimplePullRequestRequestedReviewersItem { User(User), Team(Team), } -impl ::std::convert::From<&Self> for SimplePullRequestRequestedReviewersItem { - fn from(value: &SimplePullRequestRequestedReviewersItem) -> Self { - value.clone() - } -} impl ::std::convert::From for SimplePullRequestRequestedReviewersItem { fn from(value: User) -> Self { Self::User(value) @@ -89270,11 +79855,6 @@ pub enum SimplePullRequestState { #[serde(rename = "closed")] Closed, } -impl ::std::convert::From<&Self> for SimplePullRequestState { - fn from(value: &SimplePullRequestState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SimplePullRequestState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -89299,14 +79879,6 @@ impl ::std::convert::TryFrom<&str> for SimplePullRequestState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SimplePullRequestState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SimplePullRequestState { type Error = self::error::ConversionError; fn try_from( @@ -89383,11 +79955,6 @@ pub struct SponsorshipCancelled { pub sender: User, pub sponsorship: SponsorshipCancelledSponsorship, } -impl ::std::convert::From<&SponsorshipCancelled> for SponsorshipCancelled { - fn from(value: &SponsorshipCancelled) -> Self { - value.clone() - } -} #[doc = "`SponsorshipCancelledAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -89417,11 +79984,6 @@ pub enum SponsorshipCancelledAction { #[serde(rename = "cancelled")] Cancelled, } -impl ::std::convert::From<&Self> for SponsorshipCancelledAction { - fn from(value: &SponsorshipCancelledAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SponsorshipCancelledAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -89444,14 +80006,6 @@ impl ::std::convert::TryFrom<&str> for SponsorshipCancelledAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SponsorshipCancelledAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SponsorshipCancelledAction { type Error = self::error::ConversionError; fn try_from( @@ -89509,11 +80063,6 @@ pub struct SponsorshipCancelledSponsorship { pub sponsorable: User, pub tier: SponsorshipTier, } -impl ::std::convert::From<&SponsorshipCancelledSponsorship> for SponsorshipCancelledSponsorship { - fn from(value: &SponsorshipCancelledSponsorship) -> Self { - value.clone() - } -} #[doc = "`SponsorshipCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -89582,11 +80131,6 @@ pub struct SponsorshipCreated { pub sender: User, pub sponsorship: SponsorshipCreatedSponsorship, } -impl ::std::convert::From<&SponsorshipCreated> for SponsorshipCreated { - fn from(value: &SponsorshipCreated) -> Self { - value.clone() - } -} #[doc = "`SponsorshipCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -89616,11 +80160,6 @@ pub enum SponsorshipCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for SponsorshipCreatedAction { - fn from(value: &SponsorshipCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SponsorshipCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -89643,14 +80182,6 @@ impl ::std::convert::TryFrom<&str> for SponsorshipCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SponsorshipCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SponsorshipCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -89708,11 +80239,6 @@ pub struct SponsorshipCreatedSponsorship { pub sponsorable: User, pub tier: SponsorshipTier, } -impl ::std::convert::From<&SponsorshipCreatedSponsorship> for SponsorshipCreatedSponsorship { - fn from(value: &SponsorshipCreatedSponsorship) -> Self { - value.clone() - } -} #[doc = "`SponsorshipEdited`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -89802,11 +80328,6 @@ pub struct SponsorshipEdited { pub sender: User, pub sponsorship: SponsorshipEditedSponsorship, } -impl ::std::convert::From<&SponsorshipEdited> for SponsorshipEdited { - fn from(value: &SponsorshipEdited) -> Self { - value.clone() - } -} #[doc = "`SponsorshipEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -89836,11 +80357,6 @@ pub enum SponsorshipEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for SponsorshipEditedAction { - fn from(value: &SponsorshipEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SponsorshipEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -89863,14 +80379,6 @@ impl ::std::convert::TryFrom<&str> for SponsorshipEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SponsorshipEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SponsorshipEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -89911,11 +80419,6 @@ pub struct SponsorshipEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub privacy_level: ::std::option::Option, } -impl ::std::convert::From<&SponsorshipEditedChanges> for SponsorshipEditedChanges { - fn from(value: &SponsorshipEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for SponsorshipEditedChanges { fn default() -> Self { Self { @@ -89949,13 +80452,6 @@ pub struct SponsorshipEditedChangesPrivacyLevel { #[doc = "The `edited` event types include the details about the change when someone edits a sponsorship to change the privacy."] pub from: ::std::string::String, } -impl ::std::convert::From<&SponsorshipEditedChangesPrivacyLevel> - for SponsorshipEditedChangesPrivacyLevel -{ - fn from(value: &SponsorshipEditedChangesPrivacyLevel) -> Self { - value.clone() - } -} #[doc = "`SponsorshipEditedSponsorship`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90005,11 +80501,6 @@ pub struct SponsorshipEditedSponsorship { pub sponsorable: User, pub tier: SponsorshipTier, } -impl ::std::convert::From<&SponsorshipEditedSponsorship> for SponsorshipEditedSponsorship { - fn from(value: &SponsorshipEditedSponsorship) -> Self { - value.clone() - } -} #[doc = "`SponsorshipEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90049,11 +80540,6 @@ pub enum SponsorshipEvent { PendingTierChange(SponsorshipPendingTierChange), TierChanged(SponsorshipTierChanged), } -impl ::std::convert::From<&Self> for SponsorshipEvent { - fn from(value: &SponsorshipEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for SponsorshipEvent { fn from(value: SponsorshipCancelled) -> Self { Self::Cancelled(value) @@ -90159,11 +80645,6 @@ pub struct SponsorshipPendingCancellation { pub sender: User, pub sponsorship: SponsorshipPendingCancellationSponsorship, } -impl ::std::convert::From<&SponsorshipPendingCancellation> for SponsorshipPendingCancellation { - fn from(value: &SponsorshipPendingCancellation) -> Self { - value.clone() - } -} #[doc = "`SponsorshipPendingCancellationAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90193,11 +80674,6 @@ pub enum SponsorshipPendingCancellationAction { #[serde(rename = "pending_cancellation")] PendingCancellation, } -impl ::std::convert::From<&Self> for SponsorshipPendingCancellationAction { - fn from(value: &SponsorshipPendingCancellationAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SponsorshipPendingCancellationAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -90220,14 +80696,6 @@ impl ::std::convert::TryFrom<&str> for SponsorshipPendingCancellationAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SponsorshipPendingCancellationAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SponsorshipPendingCancellationAction { type Error = self::error::ConversionError; fn try_from( @@ -90285,13 +80753,6 @@ pub struct SponsorshipPendingCancellationSponsorship { pub sponsorable: User, pub tier: SponsorshipTier, } -impl ::std::convert::From<&SponsorshipPendingCancellationSponsorship> - for SponsorshipPendingCancellationSponsorship -{ - fn from(value: &SponsorshipPendingCancellationSponsorship) -> Self { - value.clone() - } -} #[doc = "`SponsorshipPendingTierChange`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90390,11 +80851,6 @@ pub struct SponsorshipPendingTierChange { pub sender: User, pub sponsorship: SponsorshipPendingTierChangeSponsorship, } -impl ::std::convert::From<&SponsorshipPendingTierChange> for SponsorshipPendingTierChange { - fn from(value: &SponsorshipPendingTierChange) -> Self { - value.clone() - } -} #[doc = "`SponsorshipPendingTierChangeAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90424,11 +80880,6 @@ pub enum SponsorshipPendingTierChangeAction { #[serde(rename = "pending_tier_change")] PendingTierChange, } -impl ::std::convert::From<&Self> for SponsorshipPendingTierChangeAction { - fn from(value: &SponsorshipPendingTierChangeAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SponsorshipPendingTierChangeAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -90451,14 +80902,6 @@ impl ::std::convert::TryFrom<&str> for SponsorshipPendingTierChangeAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SponsorshipPendingTierChangeAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SponsorshipPendingTierChangeAction { type Error = self::error::ConversionError; fn try_from( @@ -90500,13 +80943,6 @@ impl ::std::convert::TryFrom<::std::string::String> for SponsorshipPendingTierCh pub struct SponsorshipPendingTierChangeChanges { pub tier: SponsorshipPendingTierChangeChangesTier, } -impl ::std::convert::From<&SponsorshipPendingTierChangeChanges> - for SponsorshipPendingTierChangeChanges -{ - fn from(value: &SponsorshipPendingTierChangeChanges) -> Self { - value.clone() - } -} #[doc = "`SponsorshipPendingTierChangeChangesTier`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90531,13 +80967,6 @@ impl ::std::convert::From<&SponsorshipPendingTierChangeChanges> pub struct SponsorshipPendingTierChangeChangesTier { pub from: SponsorshipTier, } -impl ::std::convert::From<&SponsorshipPendingTierChangeChangesTier> - for SponsorshipPendingTierChangeChangesTier -{ - fn from(value: &SponsorshipPendingTierChangeChangesTier) -> Self { - value.clone() - } -} #[doc = "`SponsorshipPendingTierChangeSponsorship`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90587,13 +81016,6 @@ pub struct SponsorshipPendingTierChangeSponsorship { pub sponsorable: User, pub tier: SponsorshipTier, } -impl ::std::convert::From<&SponsorshipPendingTierChangeSponsorship> - for SponsorshipPendingTierChangeSponsorship -{ - fn from(value: &SponsorshipPendingTierChangeSponsorship) -> Self { - value.clone() - } -} #[doc = "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload."] #[doc = r""] #[doc = r"
JSON schema"] @@ -90656,11 +81078,6 @@ pub struct SponsorshipTier { pub name: ::std::string::String, pub node_id: ::std::string::String, } -impl ::std::convert::From<&SponsorshipTier> for SponsorshipTier { - fn from(value: &SponsorshipTier) -> Self { - value.clone() - } -} #[doc = "`SponsorshipTierChanged`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90752,11 +81169,6 @@ pub struct SponsorshipTierChanged { pub sender: User, pub sponsorship: SponsorshipTierChangedSponsorship, } -impl ::std::convert::From<&SponsorshipTierChanged> for SponsorshipTierChanged { - fn from(value: &SponsorshipTierChanged) -> Self { - value.clone() - } -} #[doc = "`SponsorshipTierChangedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90786,11 +81198,6 @@ pub enum SponsorshipTierChangedAction { #[serde(rename = "tier_changed")] TierChanged, } -impl ::std::convert::From<&Self> for SponsorshipTierChangedAction { - fn from(value: &SponsorshipTierChangedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for SponsorshipTierChangedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -90813,14 +81220,6 @@ impl ::std::convert::TryFrom<&str> for SponsorshipTierChangedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for SponsorshipTierChangedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for SponsorshipTierChangedAction { type Error = self::error::ConversionError; fn try_from( @@ -90862,11 +81261,6 @@ impl ::std::convert::TryFrom<::std::string::String> for SponsorshipTierChangedAc pub struct SponsorshipTierChangedChanges { pub tier: SponsorshipTierChangedChangesTier, } -impl ::std::convert::From<&SponsorshipTierChangedChanges> for SponsorshipTierChangedChanges { - fn from(value: &SponsorshipTierChangedChanges) -> Self { - value.clone() - } -} #[doc = "`SponsorshipTierChangedChangesTier`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90891,13 +81285,6 @@ impl ::std::convert::From<&SponsorshipTierChangedChanges> for SponsorshipTierCha pub struct SponsorshipTierChangedChangesTier { pub from: SponsorshipTier, } -impl ::std::convert::From<&SponsorshipTierChangedChangesTier> - for SponsorshipTierChangedChangesTier -{ - fn from(value: &SponsorshipTierChangedChangesTier) -> Self { - value.clone() - } -} #[doc = "`SponsorshipTierChangedSponsorship`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -90947,13 +81334,6 @@ pub struct SponsorshipTierChangedSponsorship { pub sponsorable: User, pub tier: SponsorshipTier, } -impl ::std::convert::From<&SponsorshipTierChangedSponsorship> - for SponsorshipTierChangedSponsorship -{ - fn from(value: &SponsorshipTierChangedSponsorship) -> Self { - value.clone() - } -} #[doc = "`StarCreated`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -91010,11 +81390,6 @@ pub struct StarCreated { #[doc = "The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action."] pub starred_at: ::std::string::String, } -impl ::std::convert::From<&StarCreated> for StarCreated { - fn from(value: &StarCreated) -> Self { - value.clone() - } -} #[doc = "`StarCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -91044,11 +81419,6 @@ pub enum StarCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for StarCreatedAction { - fn from(value: &StarCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for StarCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -91071,14 +81441,6 @@ impl ::std::convert::TryFrom<&str> for StarCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for StarCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for StarCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -91143,11 +81505,6 @@ pub struct StarDeleted { #[doc = "The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action."] pub starred_at: (), } -impl ::std::convert::From<&StarDeleted> for StarDeleted { - fn from(value: &StarDeleted) -> Self { - value.clone() - } -} #[doc = "`StarDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -91177,11 +81534,6 @@ pub enum StarDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for StarDeletedAction { - fn from(value: &StarDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for StarDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -91204,14 +81556,6 @@ impl ::std::convert::TryFrom<&str> for StarDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for StarDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for StarDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -91243,11 +81587,6 @@ pub enum StarEvent { Created(StarCreated), Deleted(StarDeleted), } -impl ::std::convert::From<&Self> for StarEvent { - fn from(value: &StarEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for StarEvent { fn from(value: StarCreated) -> Self { Self::Created(value) @@ -91623,11 +81962,6 @@ pub struct StatusEvent { pub target_url: ::std::option::Option<::std::string::String>, pub updated_at: ::std::string::String, } -impl ::std::convert::From<&StatusEvent> for StatusEvent { - fn from(value: &StatusEvent) -> Self { - value.clone() - } -} #[doc = "`StatusEventBranchesItem`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -91676,11 +82010,6 @@ pub struct StatusEventBranchesItem { pub name: ::std::string::String, pub protected: bool, } -impl ::std::convert::From<&StatusEventBranchesItem> for StatusEventBranchesItem { - fn from(value: &StatusEventBranchesItem) -> Self { - value.clone() - } -} #[doc = "`StatusEventBranchesItemCommit`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -91711,11 +82040,6 @@ pub struct StatusEventBranchesItemCommit { pub sha: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&StatusEventBranchesItemCommit> for StatusEventBranchesItemCommit { - fn from(value: &StatusEventBranchesItemCommit) -> Self { - value.clone() - } -} #[doc = "`StatusEventCommit`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -91941,11 +82265,6 @@ pub struct StatusEventCommit { pub sha: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&StatusEventCommit> for StatusEventCommit { - fn from(value: &StatusEventCommit) -> Self { - value.clone() - } -} #[doc = "`StatusEventCommitCommit`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92089,11 +82408,6 @@ pub struct StatusEventCommitCommit { pub url: ::std::string::String, pub verification: StatusEventCommitCommitVerification, } -impl ::std::convert::From<&StatusEventCommitCommit> for StatusEventCommitCommit { - fn from(value: &StatusEventCommitCommit) -> Self { - value.clone() - } -} #[doc = "`StatusEventCommitCommitAuthor`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92131,11 +82445,6 @@ pub struct StatusEventCommitCommitAuthor { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub username: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&StatusEventCommitCommitAuthor> for StatusEventCommitCommitAuthor { - fn from(value: &StatusEventCommitCommitAuthor) -> Self { - value.clone() - } -} #[doc = "`StatusEventCommitCommitCommitter`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92173,11 +82482,6 @@ pub struct StatusEventCommitCommitCommitter { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub username: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&StatusEventCommitCommitCommitter> for StatusEventCommitCommitCommitter { - fn from(value: &StatusEventCommitCommitCommitter) -> Self { - value.clone() - } -} #[doc = "`StatusEventCommitCommitTree`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92208,11 +82512,6 @@ pub struct StatusEventCommitCommitTree { pub sha: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&StatusEventCommitCommitTree> for StatusEventCommitCommitTree { - fn from(value: &StatusEventCommitCommitTree) -> Self { - value.clone() - } -} #[doc = "`StatusEventCommitCommitVerification`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92273,13 +82572,6 @@ pub struct StatusEventCommitCommitVerification { pub signature: ::std::option::Option<::std::string::String>, pub verified: bool, } -impl ::std::convert::From<&StatusEventCommitCommitVerification> - for StatusEventCommitCommitVerification -{ - fn from(value: &StatusEventCommitCommitVerification) -> Self { - value.clone() - } -} #[doc = "`StatusEventCommitCommitVerificationReason`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92345,11 +82637,6 @@ pub enum StatusEventCommitCommitVerificationReason { #[serde(rename = "valid")] Valid, } -impl ::std::convert::From<&Self> for StatusEventCommitCommitVerificationReason { - fn from(value: &StatusEventCommitCommitVerificationReason) -> Self { - value.clone() - } -} impl ::std::fmt::Display for StatusEventCommitCommitVerificationReason { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -92396,14 +82683,6 @@ impl ::std::convert::TryFrom<&str> for StatusEventCommitCommitVerificationReason value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for StatusEventCommitCommitVerificationReason { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for StatusEventCommitCommitVerificationReason { type Error = self::error::ConversionError; fn try_from( @@ -92448,11 +82727,6 @@ pub struct StatusEventCommitParentsItem { pub sha: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&StatusEventCommitParentsItem> for StatusEventCommitParentsItem { - fn from(value: &StatusEventCommitParentsItem) -> Self { - value.clone() - } -} #[doc = "The new state. Can be `pending`, `success`, `failure`, or `error`."] #[doc = r""] #[doc = r"
JSON schema"] @@ -92492,11 +82766,6 @@ pub enum StatusEventState { #[serde(rename = "error")] Error, } -impl ::std::convert::From<&Self> for StatusEventState { - fn from(value: &StatusEventState) -> Self { - value.clone() - } -} impl ::std::fmt::Display for StatusEventState { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -92525,14 +82794,6 @@ impl ::std::convert::TryFrom<&str> for StatusEventState { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for StatusEventState { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for StatusEventState { type Error = self::error::ConversionError; fn try_from( @@ -92714,11 +82975,6 @@ pub struct Team { #[doc = "URL for the team"] pub url: ::std::string::String, } -impl ::std::convert::From<&Team> for Team { - fn from(value: &Team) -> Self { - value.clone() - } -} #[doc = "`TeamAddEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92765,11 +83021,6 @@ pub struct TeamAddEvent { pub sender: User, pub team: Team, } -impl ::std::convert::From<&TeamAddEvent> for TeamAddEvent { - fn from(value: &TeamAddEvent) -> Self { - value.clone() - } -} #[doc = "`TeamAddedToRepository`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92824,11 +83075,6 @@ pub struct TeamAddedToRepository { pub sender: User, pub team: Team, } -impl ::std::convert::From<&TeamAddedToRepository> for TeamAddedToRepository { - fn from(value: &TeamAddedToRepository) -> Self { - value.clone() - } -} #[doc = "`TeamAddedToRepositoryAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92858,11 +83104,6 @@ pub enum TeamAddedToRepositoryAction { #[serde(rename = "added_to_repository")] AddedToRepository, } -impl ::std::convert::From<&Self> for TeamAddedToRepositoryAction { - fn from(value: &TeamAddedToRepositoryAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for TeamAddedToRepositoryAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -92885,14 +83126,6 @@ impl ::std::convert::TryFrom<&str> for TeamAddedToRepositoryAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for TeamAddedToRepositoryAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for TeamAddedToRepositoryAction { type Error = self::error::ConversionError; fn try_from( @@ -92955,11 +83188,6 @@ pub struct TeamCreated { pub sender: User, pub team: Team, } -impl ::std::convert::From<&TeamCreated> for TeamCreated { - fn from(value: &TeamCreated) -> Self { - value.clone() - } -} #[doc = "`TeamCreatedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -92989,11 +83217,6 @@ pub enum TeamCreatedAction { #[serde(rename = "created")] Created, } -impl ::std::convert::From<&Self> for TeamCreatedAction { - fn from(value: &TeamCreatedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for TeamCreatedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -93016,14 +83239,6 @@ impl ::std::convert::TryFrom<&str> for TeamCreatedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for TeamCreatedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for TeamCreatedAction { type Error = self::error::ConversionError; fn try_from( @@ -93086,11 +83301,6 @@ pub struct TeamDeleted { pub sender: User, pub team: Team, } -impl ::std::convert::From<&TeamDeleted> for TeamDeleted { - fn from(value: &TeamDeleted) -> Self { - value.clone() - } -} #[doc = "`TeamDeletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -93120,11 +83330,6 @@ pub enum TeamDeletedAction { #[serde(rename = "deleted")] Deleted, } -impl ::std::convert::From<&Self> for TeamDeletedAction { - fn from(value: &TeamDeletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for TeamDeletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -93147,14 +83352,6 @@ impl ::std::convert::TryFrom<&str> for TeamDeletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for TeamDeletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for TeamDeletedAction { type Error = self::error::ConversionError; fn try_from( @@ -93301,11 +83498,6 @@ pub struct TeamEdited { pub sender: User, pub team: Team, } -impl ::std::convert::From<&TeamEdited> for TeamEdited { - fn from(value: &TeamEdited) -> Self { - value.clone() - } -} #[doc = "`TeamEditedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -93335,11 +83527,6 @@ pub enum TeamEditedAction { #[serde(rename = "edited")] Edited, } -impl ::std::convert::From<&Self> for TeamEditedAction { - fn from(value: &TeamEditedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for TeamEditedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -93362,14 +83549,6 @@ impl ::std::convert::TryFrom<&str> for TeamEditedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for TeamEditedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for TeamEditedAction { type Error = self::error::ConversionError; fn try_from( @@ -93479,11 +83658,6 @@ pub struct TeamEditedChanges { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub repository: ::std::option::Option, } -impl ::std::convert::From<&TeamEditedChanges> for TeamEditedChanges { - fn from(value: &TeamEditedChanges) -> Self { - value.clone() - } -} impl ::std::default::Default for TeamEditedChanges { fn default() -> Self { Self { @@ -93520,11 +83694,6 @@ pub struct TeamEditedChangesDescription { #[doc = "The previous version of the description if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&TeamEditedChangesDescription> for TeamEditedChangesDescription { - fn from(value: &TeamEditedChangesDescription) -> Self { - value.clone() - } -} #[doc = "`TeamEditedChangesName`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -93551,11 +83720,6 @@ pub struct TeamEditedChangesName { #[doc = "The previous version of the name if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&TeamEditedChangesName> for TeamEditedChangesName { - fn from(value: &TeamEditedChangesName) -> Self { - value.clone() - } -} #[doc = "`TeamEditedChangesPrivacy`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -93582,11 +83746,6 @@ pub struct TeamEditedChangesPrivacy { #[doc = "The previous version of the team's privacy if the action was `edited`."] pub from: ::std::string::String, } -impl ::std::convert::From<&TeamEditedChangesPrivacy> for TeamEditedChangesPrivacy { - fn from(value: &TeamEditedChangesPrivacy) -> Self { - value.clone() - } -} #[doc = "`TeamEditedChangesRepository`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -93635,11 +83794,6 @@ impl ::std::convert::From<&TeamEditedChangesPrivacy> for TeamEditedChangesPrivac pub struct TeamEditedChangesRepository { pub permissions: TeamEditedChangesRepositoryPermissions, } -impl ::std::convert::From<&TeamEditedChangesRepository> for TeamEditedChangesRepository { - fn from(value: &TeamEditedChangesRepository) -> Self { - value.clone() - } -} #[doc = "`TeamEditedChangesRepositoryPermissions`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -93679,13 +83833,6 @@ impl ::std::convert::From<&TeamEditedChangesRepository> for TeamEditedChangesRep pub struct TeamEditedChangesRepositoryPermissions { pub from: TeamEditedChangesRepositoryPermissionsFrom, } -impl ::std::convert::From<&TeamEditedChangesRepositoryPermissions> - for TeamEditedChangesRepositoryPermissions -{ - fn from(value: &TeamEditedChangesRepositoryPermissions) -> Self { - value.clone() - } -} #[doc = "`TeamEditedChangesRepositoryPermissionsFrom`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -93724,13 +83871,6 @@ pub struct TeamEditedChangesRepositoryPermissionsFrom { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub push: ::std::option::Option, } -impl ::std::convert::From<&TeamEditedChangesRepositoryPermissionsFrom> - for TeamEditedChangesRepositoryPermissionsFrom -{ - fn from(value: &TeamEditedChangesRepositoryPermissionsFrom) -> Self { - value.clone() - } -} impl ::std::default::Default for TeamEditedChangesRepositoryPermissionsFrom { fn default() -> Self { Self { @@ -93775,11 +83915,6 @@ pub enum TeamEvent { Edited(TeamEdited), RemovedFromRepository(TeamRemovedFromRepository), } -impl ::std::convert::From<&Self> for TeamEvent { - fn from(value: &TeamEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for TeamEvent { fn from(value: TeamAddedToRepository) -> Self { Self::AddedToRepository(value) @@ -93901,11 +84036,6 @@ pub struct TeamParent { #[doc = "URL for the team"] pub url: ::std::string::String, } -impl ::std::convert::From<&TeamParent> for TeamParent { - fn from(value: &TeamParent) -> Self { - value.clone() - } -} #[doc = "`TeamParentPrivacy`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -93941,11 +84071,6 @@ pub enum TeamParentPrivacy { #[serde(rename = "secret")] Secret, } -impl ::std::convert::From<&Self> for TeamParentPrivacy { - fn from(value: &TeamParentPrivacy) -> Self { - value.clone() - } -} impl ::std::fmt::Display for TeamParentPrivacy { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -93972,14 +84097,6 @@ impl ::std::convert::TryFrom<&str> for TeamParentPrivacy { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for TeamParentPrivacy { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for TeamParentPrivacy { type Error = self::error::ConversionError; fn try_from( @@ -94023,11 +84140,6 @@ pub enum TeamPrivacy { #[serde(rename = "secret")] Secret, } -impl ::std::convert::From<&Self> for TeamPrivacy { - fn from(value: &TeamPrivacy) -> Self { - value.clone() - } -} impl ::std::fmt::Display for TeamPrivacy { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -94054,14 +84166,6 @@ impl ::std::convert::TryFrom<&str> for TeamPrivacy { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for TeamPrivacy { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for TeamPrivacy { type Error = self::error::ConversionError; fn try_from( @@ -94124,11 +84228,6 @@ pub struct TeamRemovedFromRepository { pub sender: User, pub team: Team, } -impl ::std::convert::From<&TeamRemovedFromRepository> for TeamRemovedFromRepository { - fn from(value: &TeamRemovedFromRepository) -> Self { - value.clone() - } -} #[doc = "`TeamRemovedFromRepositoryAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -94158,11 +84257,6 @@ pub enum TeamRemovedFromRepositoryAction { #[serde(rename = "removed_from_repository")] RemovedFromRepository, } -impl ::std::convert::From<&Self> for TeamRemovedFromRepositoryAction { - fn from(value: &TeamRemovedFromRepositoryAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for TeamRemovedFromRepositoryAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -94185,14 +84279,6 @@ impl ::std::convert::TryFrom<&str> for TeamRemovedFromRepositoryAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for TeamRemovedFromRepositoryAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for TeamRemovedFromRepositoryAction { type Error = self::error::ConversionError; fn try_from( @@ -94343,11 +84429,6 @@ pub struct User { pub type_: UserType, pub url: ::std::string::String, } -impl ::std::convert::From<&User> for User { - fn from(value: &User) -> Self { - value.clone() - } -} #[doc = "`UserType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -94380,11 +84461,6 @@ pub enum UserType { User, Organization, } -impl ::std::convert::From<&Self> for UserType { - fn from(value: &UserType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for UserType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -94411,14 +84487,6 @@ impl ::std::convert::TryFrom<&str> for UserType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for UserType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for UserType { type Error = self::error::ConversionError; fn try_from( @@ -94455,11 +84523,6 @@ impl ::std::convert::From for WatchStarted { value.0 } } -impl ::std::convert::From<&WatchEvent> for WatchEvent { - fn from(value: &WatchEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for WatchEvent { fn from(value: WatchStarted) -> Self { Self(value) @@ -94514,11 +84577,6 @@ pub struct WatchStarted { pub repository: Repository, pub sender: User, } -impl ::std::convert::From<&WatchStarted> for WatchStarted { - fn from(value: &WatchStarted) -> Self { - value.clone() - } -} #[doc = "`WatchStartedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -94548,11 +84606,6 @@ pub enum WatchStartedAction { #[serde(rename = "started")] Started, } -impl ::std::convert::From<&Self> for WatchStartedAction { - fn from(value: &WatchStartedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WatchStartedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -94575,14 +84628,6 @@ impl ::std::convert::TryFrom<&str> for WatchStartedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WatchStartedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WatchStartedAction { type Error = self::error::ConversionError; fn try_from( @@ -94674,11 +84719,6 @@ pub enum WebhookEvents { Variant0(::std::vec::Vec), Variant1([::std::string::String; 1usize]), } -impl ::std::convert::From<&Self> for WebhookEvents { - fn from(value: &WebhookEvents) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for WebhookEvents { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -94856,11 +84896,6 @@ pub enum WebhookEventsVariant0Item { #[serde(rename = "workflow_run")] WorkflowRun, } -impl ::std::convert::From<&Self> for WebhookEventsVariant0Item { - fn from(value: &WebhookEventsVariant0Item) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WebhookEventsVariant0Item { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -94975,14 +85010,6 @@ impl ::std::convert::TryFrom<&str> for WebhookEventsVariant0Item { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WebhookEventsVariant0Item { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WebhookEventsVariant0Item { type Error = self::error::ConversionError; fn try_from( @@ -95065,11 +85092,6 @@ pub struct Workflow { pub updated_at: ::std::string::String, pub url: ::std::string::String, } -impl ::std::convert::From<&Workflow> for Workflow { - fn from(value: &Workflow) -> Self { - value.clone() - } -} #[doc = "`WorkflowDispatchEvent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -95136,11 +85158,6 @@ pub struct WorkflowDispatchEvent { pub sender: User, pub workflow: ::std::string::String, } -impl ::std::convert::From<&WorkflowDispatchEvent> for WorkflowDispatchEvent { - fn from(value: &WorkflowDispatchEvent) -> Self { - value.clone() - } -} #[doc = "`WorkflowJob`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -95264,11 +85281,6 @@ pub struct WorkflowJob { pub steps: ::std::vec::Vec, pub url: ::std::string::String, } -impl ::std::convert::From<&WorkflowJob> for WorkflowJob { - fn from(value: &WorkflowJob) -> Self { - value.clone() - } -} #[doc = "`WorkflowJobCompleted`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -95343,11 +85355,6 @@ pub struct WorkflowJobCompleted { pub sender: User, pub workflow_job: WorkflowJobCompletedWorkflowJob, } -impl ::std::convert::From<&WorkflowJobCompleted> for WorkflowJobCompleted { - fn from(value: &WorkflowJobCompleted) -> Self { - value.clone() - } -} #[doc = "`WorkflowJobCompletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -95377,11 +85384,6 @@ pub enum WorkflowJobCompletedAction { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for WorkflowJobCompletedAction { - fn from(value: &WorkflowJobCompletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobCompletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -95404,14 +85406,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobCompletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobCompletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobCompletedAction { type Error = self::error::ConversionError; fn try_from( @@ -95469,11 +85463,6 @@ pub struct WorkflowJobCompletedWorkflowJob { pub steps: ::std::vec::Vec, pub url: ::std::string::String, } -impl ::std::convert::From<&WorkflowJobCompletedWorkflowJob> for WorkflowJobCompletedWorkflowJob { - fn from(value: &WorkflowJobCompletedWorkflowJob) -> Self { - value.clone() - } -} #[doc = "`WorkflowJobCompletedWorkflowJobConclusion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -95506,11 +85495,6 @@ pub enum WorkflowJobCompletedWorkflowJobConclusion { #[serde(rename = "failure")] Failure, } -impl ::std::convert::From<&Self> for WorkflowJobCompletedWorkflowJobConclusion { - fn from(value: &WorkflowJobCompletedWorkflowJobConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobCompletedWorkflowJobConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -95535,14 +85519,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobCompletedWorkflowJobConclusion value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobCompletedWorkflowJobConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobCompletedWorkflowJobConclusion { type Error = self::error::ConversionError; fn try_from( @@ -95586,11 +85562,6 @@ pub enum WorkflowJobCompletedWorkflowJobStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for WorkflowJobCompletedWorkflowJobStatus { - fn from(value: &WorkflowJobCompletedWorkflowJobStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobCompletedWorkflowJobStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -95617,14 +85588,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobCompletedWorkflowJobStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobCompletedWorkflowJobStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobCompletedWorkflowJobStatus { type Error = self::error::ConversionError; fn try_from( @@ -95665,11 +85628,6 @@ pub enum WorkflowJobConclusion { #[serde(rename = "failure")] Failure, } -impl ::std::convert::From<&Self> for WorkflowJobConclusion { - fn from(value: &WorkflowJobConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -95694,14 +85652,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobConclusion { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobConclusion { type Error = self::error::ConversionError; fn try_from( @@ -95737,11 +85687,6 @@ pub enum WorkflowJobEvent { Queued(WorkflowJobQueued), Started(WorkflowJobStarted), } -impl ::std::convert::From<&Self> for WorkflowJobEvent { - fn from(value: &WorkflowJobEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for WorkflowJobEvent { fn from(value: WorkflowJobCompleted) -> Self { Self::Completed(value) @@ -95890,11 +85835,6 @@ pub struct WorkflowJobQueued { pub sender: User, pub workflow_job: WorkflowJobQueuedWorkflowJob, } -impl ::std::convert::From<&WorkflowJobQueued> for WorkflowJobQueued { - fn from(value: &WorkflowJobQueued) -> Self { - value.clone() - } -} #[doc = "`WorkflowJobQueuedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -95924,11 +85864,6 @@ pub enum WorkflowJobQueuedAction { #[serde(rename = "queued")] Queued, } -impl ::std::convert::From<&Self> for WorkflowJobQueuedAction { - fn from(value: &WorkflowJobQueuedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobQueuedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -95951,14 +85886,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobQueuedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobQueuedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobQueuedAction { type Error = self::error::ConversionError; fn try_from( @@ -96075,11 +86002,6 @@ pub struct WorkflowJobQueuedWorkflowJob { pub steps: ::std::vec::Vec, pub url: ::std::string::String, } -impl ::std::convert::From<&WorkflowJobQueuedWorkflowJob> for WorkflowJobQueuedWorkflowJob { - fn from(value: &WorkflowJobQueuedWorkflowJob) -> Self { - value.clone() - } -} #[doc = "`WorkflowJobQueuedWorkflowJobStatus`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -96109,11 +86031,6 @@ pub enum WorkflowJobQueuedWorkflowJobStatus { #[serde(rename = "queued")] Queued, } -impl ::std::convert::From<&Self> for WorkflowJobQueuedWorkflowJobStatus { - fn from(value: &WorkflowJobQueuedWorkflowJobStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobQueuedWorkflowJobStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -96136,14 +86053,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobQueuedWorkflowJobStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobQueuedWorkflowJobStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobQueuedWorkflowJobStatus { type Error = self::error::ConversionError; fn try_from( @@ -96235,11 +86144,6 @@ pub struct WorkflowJobStarted { pub sender: User, pub workflow_job: WorkflowJobStartedWorkflowJob, } -impl ::std::convert::From<&WorkflowJobStarted> for WorkflowJobStarted { - fn from(value: &WorkflowJobStarted) -> Self { - value.clone() - } -} #[doc = "`WorkflowJobStartedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -96269,11 +86173,6 @@ pub enum WorkflowJobStartedAction { #[serde(rename = "started")] Started, } -impl ::std::convert::From<&Self> for WorkflowJobStartedAction { - fn from(value: &WorkflowJobStartedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobStartedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -96296,14 +86195,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobStartedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobStartedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobStartedAction { type Error = self::error::ConversionError; fn try_from( @@ -96370,11 +86261,6 @@ pub struct WorkflowJobStartedWorkflowJob { pub steps: [WorkflowStepInProgress; 1usize], pub url: ::std::string::String, } -impl ::std::convert::From<&WorkflowJobStartedWorkflowJob> for WorkflowJobStartedWorkflowJob { - fn from(value: &WorkflowJobStartedWorkflowJob) -> Self { - value.clone() - } -} #[doc = "`WorkflowJobStartedWorkflowJobConclusion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -96402,13 +86288,6 @@ impl ::std::convert::From for () { value.0 } } -impl ::std::convert::From<&WorkflowJobStartedWorkflowJobConclusion> - for WorkflowJobStartedWorkflowJobConclusion -{ - fn from(value: &WorkflowJobStartedWorkflowJobConclusion) -> Self { - value.clone() - } -} impl ::std::convert::TryFrom<()> for WorkflowJobStartedWorkflowJobConclusion { type Error = self::error::ConversionError; fn try_from(value: ()) -> ::std::result::Result { @@ -96463,11 +86342,6 @@ pub enum WorkflowJobStartedWorkflowJobStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for WorkflowJobStartedWorkflowJobStatus { - fn from(value: &WorkflowJobStartedWorkflowJobStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobStartedWorkflowJobStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -96494,14 +86368,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobStartedWorkflowJobStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobStartedWorkflowJobStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobStartedWorkflowJobStatus { type Error = self::error::ConversionError; fn try_from( @@ -96545,11 +86411,6 @@ pub enum WorkflowJobStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for WorkflowJobStatus { - fn from(value: &WorkflowJobStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowJobStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -96576,14 +86437,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowJobStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowJobStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowJobStatus { type Error = self::error::ConversionError; fn try_from( @@ -96841,11 +86694,6 @@ pub struct WorkflowRun { pub workflow_id: i64, pub workflow_url: ::std::string::String, } -impl ::std::convert::From<&WorkflowRun> for WorkflowRun { - fn from(value: &WorkflowRun) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunCompleted`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -96930,11 +86778,6 @@ pub struct WorkflowRunCompleted { pub workflow: Workflow, pub workflow_run: WorkflowRunCompletedWorkflowRun, } -impl ::std::convert::From<&WorkflowRunCompleted> for WorkflowRunCompleted { - fn from(value: &WorkflowRunCompleted) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunCompletedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -96964,11 +86807,6 @@ pub enum WorkflowRunCompletedAction { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for WorkflowRunCompletedAction { - fn from(value: &WorkflowRunCompletedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowRunCompletedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -96991,14 +86829,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowRunCompletedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowRunCompletedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowRunCompletedAction { type Error = self::error::ConversionError; fn try_from( @@ -97073,11 +86903,6 @@ pub struct WorkflowRunCompletedWorkflowRun { pub workflow_id: i64, pub workflow_url: ::std::string::String, } -impl ::std::convert::From<&WorkflowRunCompletedWorkflowRun> for WorkflowRunCompletedWorkflowRun { - fn from(value: &WorkflowRunCompletedWorkflowRun) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunCompletedWorkflowRunConclusion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -97125,11 +86950,6 @@ pub enum WorkflowRunCompletedWorkflowRunConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for WorkflowRunCompletedWorkflowRunConclusion { - fn from(value: &WorkflowRunCompletedWorkflowRunConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowRunCompletedWorkflowRunConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -97164,14 +86984,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowRunCompletedWorkflowRunConclusion value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowRunCompletedWorkflowRunConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowRunCompletedWorkflowRunConclusion { type Error = self::error::ConversionError; fn try_from( @@ -97259,13 +87071,6 @@ pub struct WorkflowRunCompletedWorkflowRunPullRequestsItem { pub number: f64, pub url: ::std::string::String, } -impl ::std::convert::From<&WorkflowRunCompletedWorkflowRunPullRequestsItem> - for WorkflowRunCompletedWorkflowRunPullRequestsItem -{ - fn from(value: &WorkflowRunCompletedWorkflowRunPullRequestsItem) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunCompletedWorkflowRunPullRequestsItemBase`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -97301,13 +87106,6 @@ pub struct WorkflowRunCompletedWorkflowRunPullRequestsItemBase { pub repo: RepoRef, pub sha: ::std::string::String, } -impl ::std::convert::From<&WorkflowRunCompletedWorkflowRunPullRequestsItemBase> - for WorkflowRunCompletedWorkflowRunPullRequestsItemBase -{ - fn from(value: &WorkflowRunCompletedWorkflowRunPullRequestsItemBase) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunCompletedWorkflowRunPullRequestsItemHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -97343,13 +87141,6 @@ pub struct WorkflowRunCompletedWorkflowRunPullRequestsItemHead { pub repo: RepoRef, pub sha: ::std::string::String, } -impl ::std::convert::From<&WorkflowRunCompletedWorkflowRunPullRequestsItemHead> - for WorkflowRunCompletedWorkflowRunPullRequestsItemHead -{ - fn from(value: &WorkflowRunCompletedWorkflowRunPullRequestsItemHead) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunCompletedWorkflowRunStatus`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -97388,11 +87179,6 @@ pub enum WorkflowRunCompletedWorkflowRunStatus { #[serde(rename = "queued")] Queued, } -impl ::std::convert::From<&Self> for WorkflowRunCompletedWorkflowRunStatus { - fn from(value: &WorkflowRunCompletedWorkflowRunStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowRunCompletedWorkflowRunStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -97421,14 +87207,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowRunCompletedWorkflowRunStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowRunCompletedWorkflowRunStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowRunCompletedWorkflowRunStatus { type Error = self::error::ConversionError; fn try_from( @@ -97484,11 +87262,6 @@ pub enum WorkflowRunConclusion { #[serde(rename = "stale")] Stale, } -impl ::std::convert::From<&Self> for WorkflowRunConclusion { - fn from(value: &WorkflowRunConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowRunConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -97523,14 +87296,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowRunConclusion { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowRunConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowRunConclusion { type Error = self::error::ConversionError; fn try_from( @@ -97562,11 +87327,6 @@ pub enum WorkflowRunEvent { Completed(WorkflowRunCompleted), Requested(WorkflowRunRequested), } -impl ::std::convert::From<&Self> for WorkflowRunEvent { - fn from(value: &WorkflowRunEvent) -> Self { - value.clone() - } -} impl ::std::convert::From for WorkflowRunEvent { fn from(value: WorkflowRunCompleted) -> Self { Self::Completed(value) @@ -97656,11 +87416,6 @@ pub struct WorkflowRunPullRequestsItem { pub number: f64, pub url: ::std::string::String, } -impl ::std::convert::From<&WorkflowRunPullRequestsItem> for WorkflowRunPullRequestsItem { - fn from(value: &WorkflowRunPullRequestsItem) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunPullRequestsItemBase`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -97696,11 +87451,6 @@ pub struct WorkflowRunPullRequestsItemBase { pub repo: RepoRef, pub sha: ::std::string::String, } -impl ::std::convert::From<&WorkflowRunPullRequestsItemBase> for WorkflowRunPullRequestsItemBase { - fn from(value: &WorkflowRunPullRequestsItemBase) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunPullRequestsItemHead`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -97736,11 +87486,6 @@ pub struct WorkflowRunPullRequestsItemHead { pub repo: RepoRef, pub sha: ::std::string::String, } -impl ::std::convert::From<&WorkflowRunPullRequestsItemHead> for WorkflowRunPullRequestsItemHead { - fn from(value: &WorkflowRunPullRequestsItemHead) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunRequested`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -97800,11 +87545,6 @@ pub struct WorkflowRunRequested { pub workflow: Workflow, pub workflow_run: WorkflowRun, } -impl ::std::convert::From<&WorkflowRunRequested> for WorkflowRunRequested { - fn from(value: &WorkflowRunRequested) -> Self { - value.clone() - } -} #[doc = "`WorkflowRunRequestedAction`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -97834,11 +87574,6 @@ pub enum WorkflowRunRequestedAction { #[serde(rename = "requested")] Requested, } -impl ::std::convert::From<&Self> for WorkflowRunRequestedAction { - fn from(value: &WorkflowRunRequestedAction) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowRunRequestedAction { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -97861,14 +87596,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowRunRequestedAction { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowRunRequestedAction { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowRunRequestedAction { type Error = self::error::ConversionError; fn try_from( @@ -97915,11 +87642,6 @@ pub enum WorkflowRunStatus { #[serde(rename = "queued")] Queued, } -impl ::std::convert::From<&Self> for WorkflowRunStatus { - fn from(value: &WorkflowRunStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowRunStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -97948,14 +87670,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowRunStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowRunStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowRunStatus { type Error = self::error::ConversionError; fn try_from( @@ -97990,11 +87704,6 @@ pub enum WorkflowStep { InProgress(WorkflowStepInProgress), Completed(WorkflowStepCompleted), } -impl ::std::convert::From<&Self> for WorkflowStep { - fn from(value: &WorkflowStep) -> Self { - value.clone() - } -} impl ::std::convert::From for WorkflowStep { fn from(value: WorkflowStepInProgress) -> Self { Self::InProgress(value) @@ -98064,11 +87773,6 @@ pub struct WorkflowStepCompleted { pub started_at: ::std::string::String, pub status: WorkflowStepCompletedStatus, } -impl ::std::convert::From<&WorkflowStepCompleted> for WorkflowStepCompleted { - fn from(value: &WorkflowStepCompleted) -> Self { - value.clone() - } -} #[doc = "`WorkflowStepCompletedConclusion`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -98104,11 +87808,6 @@ pub enum WorkflowStepCompletedConclusion { #[serde(rename = "success")] Success, } -impl ::std::convert::From<&Self> for WorkflowStepCompletedConclusion { - fn from(value: &WorkflowStepCompletedConclusion) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowStepCompletedConclusion { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -98135,14 +87834,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowStepCompletedConclusion { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowStepCompletedConclusion { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowStepCompletedConclusion { type Error = self::error::ConversionError; fn try_from( @@ -98180,11 +87871,6 @@ pub enum WorkflowStepCompletedStatus { #[serde(rename = "completed")] Completed, } -impl ::std::convert::From<&Self> for WorkflowStepCompletedStatus { - fn from(value: &WorkflowStepCompletedStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowStepCompletedStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -98207,14 +87893,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowStepCompletedStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowStepCompletedStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowStepCompletedStatus { type Error = self::error::ConversionError; fn try_from( @@ -98277,11 +87955,6 @@ pub struct WorkflowStepInProgress { pub started_at: ::std::string::String, pub status: WorkflowStepInProgressStatus, } -impl ::std::convert::From<&WorkflowStepInProgress> for WorkflowStepInProgress { - fn from(value: &WorkflowStepInProgress) -> Self { - value.clone() - } -} #[doc = "`WorkflowStepInProgressStatus`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -98311,11 +87984,6 @@ pub enum WorkflowStepInProgressStatus { #[serde(rename = "in_progress")] InProgress, } -impl ::std::convert::From<&Self> for WorkflowStepInProgressStatus { - fn from(value: &WorkflowStepInProgressStatus) -> Self { - value.clone() - } -} impl ::std::fmt::Display for WorkflowStepInProgressStatus { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -98338,14 +88006,6 @@ impl ::std::convert::TryFrom<&str> for WorkflowStepInProgressStatus { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for WorkflowStepInProgressStatus { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for WorkflowStepInProgressStatus { type Error = self::error::ConversionError; fn try_from( diff --git a/typify-impl/tests/vega.out b/typify-impl/tests/vega.out index 8473ac16..9513315f 100644 --- a/typify-impl/tests/vega.out +++ b/typify-impl/tests/vega.out @@ -225,11 +225,6 @@ pub struct AggregateTransform { #[serde(rename = "type")] pub type_: AggregateTransformType, } -impl ::std::convert::From<&AggregateTransform> for AggregateTransform { - fn from(value: &AggregateTransform) -> Self { - value.clone() - } -} #[doc = "`AggregateTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -266,11 +261,6 @@ pub enum AggregateTransformAs { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AggregateTransformAs { - fn from(value: &AggregateTransformAs) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AggregateTransformAs { fn from(value: ::std::vec::Vec) -> Self { Self::Array(value) @@ -308,11 +298,6 @@ pub enum AggregateTransformAsArrayItem { SignalRef(SignalRef), Null, } -impl ::std::convert::From<&Self> for AggregateTransformAsArrayItem { - fn from(value: &AggregateTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for AggregateTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -341,11 +326,6 @@ pub enum AggregateTransformCross { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AggregateTransformCross { - fn from(value: &AggregateTransformCross) -> Self { - value.clone() - } -} impl ::std::convert::From for AggregateTransformCross { fn from(value: bool) -> Self { Self::Boolean(value) @@ -380,11 +360,6 @@ pub enum AggregateTransformDrop { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AggregateTransformDrop { - fn from(value: &AggregateTransformDrop) -> Self { - value.clone() - } -} impl ::std::default::Default for AggregateTransformDrop { fn default() -> Self { AggregateTransformDrop::Boolean(true) @@ -439,11 +414,6 @@ pub enum AggregateTransformFields { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AggregateTransformFields { - fn from(value: &AggregateTransformFields) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AggregateTransformFields { @@ -487,11 +457,6 @@ pub enum AggregateTransformFieldsArrayItem { Expr(Expr), Null, } -impl ::std::convert::From<&Self> for AggregateTransformFieldsArrayItem { - fn from(value: &AggregateTransformFieldsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for AggregateTransformFieldsArrayItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -543,11 +508,6 @@ pub enum AggregateTransformGroupby { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AggregateTransformGroupby { - fn from(value: &AggregateTransformGroupby) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AggregateTransformGroupby { @@ -587,11 +547,6 @@ pub enum AggregateTransformGroupbyArrayItem { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for AggregateTransformGroupbyArrayItem { - fn from(value: &AggregateTransformGroupbyArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for AggregateTransformGroupbyArrayItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -634,11 +589,6 @@ pub enum AggregateTransformKey { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for AggregateTransformKey { - fn from(value: &AggregateTransformKey) -> Self { - value.clone() - } -} impl ::std::convert::From for AggregateTransformKey { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -712,11 +662,6 @@ pub enum AggregateTransformOps { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AggregateTransformOps { - fn from(value: &AggregateTransformOps) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AggregateTransformOps { @@ -777,11 +722,6 @@ pub enum AggregateTransformOpsArrayItem { Variant0(AggregateTransformOpsArrayItemVariant0), Variant1(SignalRef), } -impl ::std::convert::From<&Self> for AggregateTransformOpsArrayItem { - fn from(value: &AggregateTransformOpsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for AggregateTransformOpsArrayItem { @@ -891,11 +831,6 @@ pub enum AggregateTransformOpsArrayItemVariant0 { #[serde(rename = "argmax")] Argmax, } -impl ::std::convert::From<&Self> for AggregateTransformOpsArrayItemVariant0 { - fn from(value: &AggregateTransformOpsArrayItemVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AggregateTransformOpsArrayItemVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -964,14 +899,6 @@ impl ::std::convert::TryFrom<&str> for AggregateTransformOpsArrayItemVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AggregateTransformOpsArrayItemVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AggregateTransformOpsArrayItemVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -1008,11 +935,6 @@ pub enum AggregateTransformType { #[serde(rename = "aggregate")] Aggregate, } -impl ::std::convert::From<&Self> for AggregateTransformType { - fn from(value: &AggregateTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AggregateTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1035,14 +957,6 @@ impl ::std::convert::TryFrom<&str> for AggregateTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AggregateTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AggregateTransformType { type Error = self::error::ConversionError; fn try_from( @@ -1242,11 +1156,6 @@ pub enum AlignValue { Variant0(::std::vec::Vec), Variant1(AlignValueVariant1), } -impl ::std::convert::From<&Self> for AlignValue { - fn from(value: &AlignValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AlignValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -1365,11 +1274,6 @@ pub enum AlignValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for AlignValueVariant0Item { - fn from(value: &AlignValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for AlignValueVariant0Item { fn from(value: AlignValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -1516,11 +1420,6 @@ pub enum AlignValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for AlignValueVariant0ItemVariant0 { - fn from(value: &AlignValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`AlignValueVariant0ItemVariant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -1555,11 +1454,6 @@ pub enum AlignValueVariant0ItemVariant0Variant1Value { #[serde(rename = "center")] Center, } -impl ::std::convert::From<&Self> for AlignValueVariant0ItemVariant0Variant1Value { - fn from(value: &AlignValueVariant0ItemVariant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AlignValueVariant0ItemVariant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -1586,16 +1480,6 @@ impl ::std::convert::TryFrom<&str> for AlignValueVariant0ItemVariant0Variant1Val value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for AlignValueVariant0ItemVariant0Variant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AlignValueVariant0ItemVariant0Variant1Value { @@ -1629,11 +1513,6 @@ pub enum AlignValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for AlignValueVariant0ItemVariant0Variant3Range { - fn from(value: &AlignValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for AlignValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -1652,16 +1531,6 @@ impl ::std::convert::TryFrom<&str> for AlignValueVariant0ItemVariant0Variant3Ran value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for AlignValueVariant0ItemVariant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AlignValueVariant0ItemVariant0Variant3Range { @@ -1803,11 +1672,6 @@ impl ::std::convert::From for AlignValueVariant0ItemVariant0Variant3Range )] #[serde(deny_unknown_fields)] pub enum AlignValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for AlignValueVariant0ItemVariant1 { - fn from(value: &AlignValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`AlignValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -1921,11 +1785,6 @@ impl ::std::convert::From<&Self> for AlignValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum AlignValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for AlignValueVariant0ItemVariant2 { - fn from(value: &AlignValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`AlignValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -2023,11 +1882,6 @@ pub enum AlignValueVariant1 { Variant2(AlignValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for AlignValueVariant1 { - fn from(value: &AlignValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for AlignValueVariant1 { fn from(value: AlignValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -2163,11 +2017,6 @@ pub enum AlignValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for AlignValueVariant1Variant0 { - fn from(value: &AlignValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`AlignValueVariant1Variant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -2202,11 +2051,6 @@ pub enum AlignValueVariant1Variant0Variant1Value { #[serde(rename = "center")] Center, } -impl ::std::convert::From<&Self> for AlignValueVariant1Variant0Variant1Value { - fn from(value: &AlignValueVariant1Variant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AlignValueVariant1Variant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -2233,14 +2077,6 @@ impl ::std::convert::TryFrom<&str> for AlignValueVariant1Variant0Variant1Value { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AlignValueVariant1Variant0Variant1Value { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AlignValueVariant1Variant0Variant1Value { type Error = self::error::ConversionError; fn try_from( @@ -2272,11 +2108,6 @@ pub enum AlignValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for AlignValueVariant1Variant0Variant3Range { - fn from(value: &AlignValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for AlignValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -2295,14 +2126,6 @@ impl ::std::convert::TryFrom<&str> for AlignValueVariant1Variant0Variant3Range { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AlignValueVariant1Variant0Variant3Range { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AlignValueVariant1Variant0Variant3Range { type Error = self::error::ConversionError; fn try_from( @@ -2439,11 +2262,6 @@ impl ::std::convert::From for AlignValueVariant1Variant0Variant3Range { )] #[serde(deny_unknown_fields)] pub enum AlignValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for AlignValueVariant1Variant1 { - fn from(value: &AlignValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`AlignValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -2554,11 +2372,6 @@ impl ::std::convert::From<&Self> for AlignValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum AlignValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for AlignValueVariant1Variant2 { - fn from(value: &AlignValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`AnchorValue`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -2750,11 +2563,6 @@ pub enum AnchorValue { Variant0(::std::vec::Vec), Variant1(AnchorValueVariant1), } -impl ::std::convert::From<&Self> for AnchorValue { - fn from(value: &AnchorValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AnchorValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -2873,11 +2681,6 @@ pub enum AnchorValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for AnchorValueVariant0Item { - fn from(value: &AnchorValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for AnchorValueVariant0Item { fn from(value: AnchorValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -3024,11 +2827,6 @@ pub enum AnchorValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for AnchorValueVariant0ItemVariant0 { - fn from(value: &AnchorValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`AnchorValueVariant0ItemVariant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -3063,11 +2861,6 @@ pub enum AnchorValueVariant0ItemVariant0Variant1Value { #[serde(rename = "end")] End, } -impl ::std::convert::From<&Self> for AnchorValueVariant0ItemVariant0Variant1Value { - fn from(value: &AnchorValueVariant0ItemVariant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AnchorValueVariant0ItemVariant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3094,16 +2887,6 @@ impl ::std::convert::TryFrom<&str> for AnchorValueVariant0ItemVariant0Variant1Va value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for AnchorValueVariant0ItemVariant0Variant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AnchorValueVariant0ItemVariant0Variant1Value { @@ -3137,11 +2920,6 @@ pub enum AnchorValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for AnchorValueVariant0ItemVariant0Variant3Range { - fn from(value: &AnchorValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for AnchorValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -3160,16 +2938,6 @@ impl ::std::convert::TryFrom<&str> for AnchorValueVariant0ItemVariant0Variant3Ra value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for AnchorValueVariant0ItemVariant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AnchorValueVariant0ItemVariant0Variant3Range { @@ -3311,11 +3079,6 @@ impl ::std::convert::From for AnchorValueVariant0ItemVariant0Variant3Range )] #[serde(deny_unknown_fields)] pub enum AnchorValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for AnchorValueVariant0ItemVariant1 { - fn from(value: &AnchorValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`AnchorValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -3429,11 +3192,6 @@ impl ::std::convert::From<&Self> for AnchorValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum AnchorValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for AnchorValueVariant0ItemVariant2 { - fn from(value: &AnchorValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`AnchorValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -3531,11 +3289,6 @@ pub enum AnchorValueVariant1 { Variant2(AnchorValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for AnchorValueVariant1 { - fn from(value: &AnchorValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for AnchorValueVariant1 { fn from(value: AnchorValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -3671,11 +3424,6 @@ pub enum AnchorValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for AnchorValueVariant1Variant0 { - fn from(value: &AnchorValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`AnchorValueVariant1Variant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -3710,11 +3458,6 @@ pub enum AnchorValueVariant1Variant0Variant1Value { #[serde(rename = "end")] End, } -impl ::std::convert::From<&Self> for AnchorValueVariant1Variant0Variant1Value { - fn from(value: &AnchorValueVariant1Variant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AnchorValueVariant1Variant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -3741,14 +3484,6 @@ impl ::std::convert::TryFrom<&str> for AnchorValueVariant1Variant0Variant1Value value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AnchorValueVariant1Variant0Variant1Value { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AnchorValueVariant1Variant0Variant1Value { type Error = self::error::ConversionError; fn try_from( @@ -3780,11 +3515,6 @@ pub enum AnchorValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for AnchorValueVariant1Variant0Variant3Range { - fn from(value: &AnchorValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for AnchorValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -3803,14 +3533,6 @@ impl ::std::convert::TryFrom<&str> for AnchorValueVariant1Variant0Variant3Range value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AnchorValueVariant1Variant0Variant3Range { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AnchorValueVariant1Variant0Variant3Range { type Error = self::error::ConversionError; fn try_from( @@ -3947,11 +3669,6 @@ impl ::std::convert::From for AnchorValueVariant1Variant0Variant3Range { )] #[serde(deny_unknown_fields)] pub enum AnchorValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for AnchorValueVariant1Variant1 { - fn from(value: &AnchorValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`AnchorValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4062,11 +3779,6 @@ impl ::std::convert::From<&Self> for AnchorValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum AnchorValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for AnchorValueVariant1Variant2 { - fn from(value: &AnchorValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`AnyValue`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4246,11 +3958,6 @@ pub enum AnyValue { Variant0(::std::vec::Vec), Variant1(AnyValueVariant1), } -impl ::std::convert::From<&Self> for AnyValue { - fn from(value: &AnyValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AnyValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -4363,11 +4070,6 @@ pub enum AnyValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for AnyValueVariant0Item { - fn from(value: &AnyValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for AnyValueVariant0Item { fn from(value: AnyValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -4508,11 +4210,6 @@ pub enum AnyValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for AnyValueVariant0ItemVariant0 { - fn from(value: &AnyValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`AnyValueVariant0ItemVariant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4536,11 +4233,6 @@ pub enum AnyValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for AnyValueVariant0ItemVariant0Variant3Range { - fn from(value: &AnyValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for AnyValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -4559,14 +4251,6 @@ impl ::std::convert::TryFrom<&str> for AnyValueVariant0ItemVariant0Variant3Range value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AnyValueVariant0ItemVariant0Variant3Range { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AnyValueVariant0ItemVariant0Variant3Range { type Error = self::error::ConversionError; fn try_from( @@ -4700,11 +4384,6 @@ impl ::std::convert::From for AnyValueVariant0ItemVariant0Variant3Range { )] #[serde(deny_unknown_fields)] pub enum AnyValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for AnyValueVariant0ItemVariant1 { - fn from(value: &AnyValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`AnyValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4812,11 +4491,6 @@ impl ::std::convert::From<&Self> for AnyValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum AnyValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for AnyValueVariant0ItemVariant2 { - fn from(value: &AnyValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`AnyValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -4908,11 +4582,6 @@ pub enum AnyValueVariant1 { Variant2(AnyValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for AnyValueVariant1 { - fn from(value: &AnyValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for AnyValueVariant1 { fn from(value: AnyValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -5042,11 +4711,6 @@ pub enum AnyValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for AnyValueVariant1Variant0 { - fn from(value: &AnyValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`AnyValueVariant1Variant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -5070,11 +4734,6 @@ pub enum AnyValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for AnyValueVariant1Variant0Variant3Range { - fn from(value: &AnyValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for AnyValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -5093,14 +4752,6 @@ impl ::std::convert::TryFrom<&str> for AnyValueVariant1Variant0Variant3Range { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AnyValueVariant1Variant0Variant3Range { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AnyValueVariant1Variant0Variant3Range { type Error = self::error::ConversionError; fn try_from( @@ -5231,11 +4882,6 @@ impl ::std::convert::From for AnyValueVariant1Variant0Variant3Range { )] #[serde(deny_unknown_fields)] pub enum AnyValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for AnyValueVariant1Variant1 { - fn from(value: &AnyValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`AnyValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -5340,11 +4986,6 @@ impl ::std::convert::From<&Self> for AnyValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum AnyValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for AnyValueVariant1Variant2 { - fn from(value: &AnyValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`ArrayOrSignal`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -5368,11 +5009,6 @@ pub enum ArrayOrSignal { Array(::std::vec::Vec<::serde_json::Value>), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ArrayOrSignal { - fn from(value: &ArrayOrSignal) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec<::serde_json::Value>> for ArrayOrSignal { fn from(value: ::std::vec::Vec<::serde_json::Value>) -> Self { Self::Array(value) @@ -5566,11 +5202,6 @@ pub enum ArrayValue { Variant0(::std::vec::Vec), Variant1(ArrayValueVariant1), } -impl ::std::convert::From<&Self> for ArrayValue { - fn from(value: &ArrayValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for ArrayValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -5685,11 +5316,6 @@ pub enum ArrayValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for ArrayValueVariant0Item { - fn from(value: &ArrayValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for ArrayValueVariant0Item { fn from(value: ArrayValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -5832,11 +5458,6 @@ pub enum ArrayValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for ArrayValueVariant0ItemVariant0 { - fn from(value: &ArrayValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`ArrayValueVariant0ItemVariant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -5860,11 +5481,6 @@ pub enum ArrayValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for ArrayValueVariant0ItemVariant0Variant3Range { - fn from(value: &ArrayValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for ArrayValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -5883,16 +5499,6 @@ impl ::std::convert::TryFrom<&str> for ArrayValueVariant0ItemVariant0Variant3Ran value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for ArrayValueVariant0ItemVariant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ArrayValueVariant0ItemVariant0Variant3Range { @@ -6030,11 +5636,6 @@ impl ::std::convert::From for ArrayValueVariant0ItemVariant0Variant3Range )] #[serde(deny_unknown_fields)] pub enum ArrayValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for ArrayValueVariant0ItemVariant1 { - fn from(value: &ArrayValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`ArrayValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -6144,11 +5745,6 @@ impl ::std::convert::From<&Self> for ArrayValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum ArrayValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for ArrayValueVariant0ItemVariant2 { - fn from(value: &ArrayValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`ArrayValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -6242,11 +5838,6 @@ pub enum ArrayValueVariant1 { Variant2(ArrayValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for ArrayValueVariant1 { - fn from(value: &ArrayValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for ArrayValueVariant1 { fn from(value: ArrayValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -6378,11 +5969,6 @@ pub enum ArrayValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for ArrayValueVariant1Variant0 { - fn from(value: &ArrayValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`ArrayValueVariant1Variant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -6406,11 +5992,6 @@ pub enum ArrayValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for ArrayValueVariant1Variant0Variant3Range { - fn from(value: &ArrayValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for ArrayValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -6429,14 +6010,6 @@ impl ::std::convert::TryFrom<&str> for ArrayValueVariant1Variant0Variant3Range { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ArrayValueVariant1Variant0Variant3Range { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ArrayValueVariant1Variant0Variant3Range { type Error = self::error::ConversionError; fn try_from( @@ -6569,11 +6142,6 @@ impl ::std::convert::From for ArrayValueVariant1Variant0Variant3Range { )] #[serde(deny_unknown_fields)] pub enum ArrayValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for ArrayValueVariant1Variant1 { - fn from(value: &ArrayValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`ArrayValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -6680,11 +6248,6 @@ impl ::std::convert::From<&Self> for ArrayValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum ArrayValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for ArrayValueVariant1Variant2 { - fn from(value: &ArrayValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`Autosize`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -6751,11 +6314,6 @@ pub enum Autosize { }, Variant2(SignalRef), } -impl ::std::convert::From<&Self> for Autosize { - fn from(value: &Autosize) -> Self { - value.clone() - } -} impl ::std::convert::From for Autosize { fn from(value: AutosizeVariant0) -> Self { Self::Variant0(value) @@ -6807,11 +6365,6 @@ pub enum AutosizeVariant0 { #[serde(rename = "none")] None, } -impl ::std::convert::From<&Self> for AutosizeVariant0 { - fn from(value: &AutosizeVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AutosizeVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -6842,14 +6395,6 @@ impl ::std::convert::TryFrom<&str> for AutosizeVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AutosizeVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AutosizeVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -6889,11 +6434,6 @@ pub enum AutosizeVariant1Contains { #[serde(rename = "padding")] Padding, } -impl ::std::convert::From<&Self> for AutosizeVariant1Contains { - fn from(value: &AutosizeVariant1Contains) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AutosizeVariant1Contains { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -6918,14 +6458,6 @@ impl ::std::convert::TryFrom<&str> for AutosizeVariant1Contains { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AutosizeVariant1Contains { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AutosizeVariant1Contains { type Error = self::error::ConversionError; fn try_from( @@ -6975,11 +6507,6 @@ pub enum AutosizeVariant1Type { #[serde(rename = "none")] None, } -impl ::std::convert::From<&Self> for AutosizeVariant1Type { - fn from(value: &AutosizeVariant1Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AutosizeVariant1Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -7010,14 +6537,6 @@ impl ::std::convert::TryFrom<&str> for AutosizeVariant1Type { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AutosizeVariant1Type { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AutosizeVariant1Type { type Error = self::error::ConversionError; fn try_from( @@ -8288,11 +7807,6 @@ pub struct Axis { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub zindex: ::std::option::Option, } -impl ::std::convert::From<&Axis> for Axis { - fn from(value: &Axis) -> Self { - value.clone() - } -} #[doc = "`AxisBandPosition`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -8316,11 +7830,6 @@ pub enum AxisBandPosition { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisBandPosition { - fn from(value: &AxisBandPosition) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisBandPosition { fn from(value: f64) -> Self { Self::Variant0(value) @@ -8354,11 +7863,6 @@ pub enum AxisDomainCap { Variant0(::std::string::String), Variant1(StringValue), } -impl ::std::convert::From<&Self> for AxisDomainCap { - fn from(value: &AxisDomainCap) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisDomainCap { fn from(value: StringValue) -> Self { Self::Variant1(value) @@ -8391,11 +7895,6 @@ pub enum AxisDomainColor { String(::std::string::String), ColorValue(ColorValue), } -impl ::std::convert::From<&Self> for AxisDomainColor { - fn from(value: &AxisDomainColor) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisDomainColor { fn from(value: ColorValue) -> Self { Self::ColorValue(value) @@ -8427,11 +7926,6 @@ pub enum AxisDomainDash { Variant0(::std::vec::Vec), Variant1(ArrayValue), } -impl ::std::convert::From<&Self> for AxisDomainDash { - fn from(value: &AxisDomainDash) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AxisDomainDash { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -8465,11 +7959,6 @@ pub enum AxisDomainDashOffset { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisDomainDashOffset { - fn from(value: &AxisDomainDashOffset) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisDomainDashOffset { fn from(value: f64) -> Self { Self::Variant0(value) @@ -8503,11 +7992,6 @@ pub enum AxisDomainOpacity { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisDomainOpacity { - fn from(value: &AxisDomainOpacity) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisDomainOpacity { fn from(value: f64) -> Self { Self::Variant0(value) @@ -8541,11 +8025,6 @@ pub enum AxisDomainWidth { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisDomainWidth { - fn from(value: &AxisDomainWidth) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisDomainWidth { fn from(value: f64) -> Self { Self::Variant0(value) @@ -8603,11 +8082,6 @@ pub struct AxisEncode { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub title: ::std::option::Option, } -impl ::std::convert::From<&AxisEncode> for AxisEncode { - fn from(value: &AxisEncode) -> Self { - value.clone() - } -} impl ::std::default::Default for AxisEncode { fn default() -> Self { Self { @@ -8701,11 +8175,6 @@ pub enum AxisFormat { }, SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AxisFormat { - fn from(value: &AxisFormat) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisFormat { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -8738,11 +8207,6 @@ pub enum AxisFormatType { Variant0(AxisFormatTypeVariant0), Variant1(SignalRef), } -impl ::std::convert::From<&Self> for AxisFormatType { - fn from(value: &AxisFormatType) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisFormatType { fn from(value: AxisFormatTypeVariant0) -> Self { Self::Variant0(value) @@ -8787,11 +8251,6 @@ pub enum AxisFormatTypeVariant0 { #[serde(rename = "utc")] Utc, } -impl ::std::convert::From<&Self> for AxisFormatTypeVariant0 { - fn from(value: &AxisFormatTypeVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AxisFormatTypeVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -8818,14 +8277,6 @@ impl ::std::convert::TryFrom<&str> for AxisFormatTypeVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AxisFormatTypeVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AxisFormatTypeVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -8857,11 +8308,6 @@ pub enum AxisGridCap { Variant0(::std::string::String), Variant1(StringValue), } -impl ::std::convert::From<&Self> for AxisGridCap { - fn from(value: &AxisGridCap) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisGridCap { fn from(value: StringValue) -> Self { Self::Variant1(value) @@ -8894,11 +8340,6 @@ pub enum AxisGridColor { String(::std::string::String), ColorValue(ColorValue), } -impl ::std::convert::From<&Self> for AxisGridColor { - fn from(value: &AxisGridColor) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisGridColor { fn from(value: ColorValue) -> Self { Self::ColorValue(value) @@ -8930,11 +8371,6 @@ pub enum AxisGridDash { Variant0(::std::vec::Vec), Variant1(ArrayValue), } -impl ::std::convert::From<&Self> for AxisGridDash { - fn from(value: &AxisGridDash) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AxisGridDash { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -8968,11 +8404,6 @@ pub enum AxisGridDashOffset { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisGridDashOffset { - fn from(value: &AxisGridDashOffset) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisGridDashOffset { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9006,11 +8437,6 @@ pub enum AxisGridOpacity { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisGridOpacity { - fn from(value: &AxisGridOpacity) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisGridOpacity { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9044,11 +8470,6 @@ pub enum AxisGridWidth { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisGridWidth { - fn from(value: &AxisGridWidth) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisGridWidth { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9086,11 +8507,6 @@ pub enum AxisLabelAlign { Variant0(AxisLabelAlignVariant0), Variant1(AlignValue), } -impl ::std::convert::From<&Self> for AxisLabelAlign { - fn from(value: &AxisLabelAlign) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelAlign { fn from(value: AxisLabelAlignVariant0) -> Self { Self::Variant0(value) @@ -9135,11 +8551,6 @@ pub enum AxisLabelAlignVariant0 { #[serde(rename = "center")] Center, } -impl ::std::convert::From<&Self> for AxisLabelAlignVariant0 { - fn from(value: &AxisLabelAlignVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AxisLabelAlignVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -9166,14 +8577,6 @@ impl ::std::convert::TryFrom<&str> for AxisLabelAlignVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AxisLabelAlignVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AxisLabelAlignVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -9205,11 +8608,6 @@ pub enum AxisLabelAngle { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisLabelAngle { - fn from(value: &AxisLabelAngle) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelAngle { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9250,11 +8648,6 @@ pub enum AxisLabelBaseline { Variant0(AxisLabelBaselineVariant0), Variant1(BaselineValue), } -impl ::std::convert::From<&Self> for AxisLabelBaseline { - fn from(value: &AxisLabelBaseline) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelBaseline { fn from(value: AxisLabelBaselineVariant0) -> Self { Self::Variant0(value) @@ -9308,11 +8701,6 @@ pub enum AxisLabelBaselineVariant0 { #[serde(rename = "line-bottom")] LineBottom, } -impl ::std::convert::From<&Self> for AxisLabelBaselineVariant0 { - fn from(value: &AxisLabelBaselineVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AxisLabelBaselineVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -9345,14 +8733,6 @@ impl ::std::convert::TryFrom<&str> for AxisLabelBaselineVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AxisLabelBaselineVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AxisLabelBaselineVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -9388,11 +8768,6 @@ pub enum AxisLabelBound { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AxisLabelBound { - fn from(value: &AxisLabelBound) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelBound { fn from(value: bool) -> Self { Self::Boolean(value) @@ -9435,11 +8810,6 @@ pub enum AxisLabelColor { String(::std::string::String), ColorValue(ColorValue), } -impl ::std::convert::From<&Self> for AxisLabelColor { - fn from(value: &AxisLabelColor) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelColor { fn from(value: ColorValue) -> Self { Self::ColorValue(value) @@ -9472,11 +8842,6 @@ pub enum AxisLabelFlush { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for AxisLabelFlush { - fn from(value: &AxisLabelFlush) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelFlush { fn from(value: bool) -> Self { Self::Boolean(value) @@ -9515,11 +8880,6 @@ pub enum AxisLabelFont { Variant0(::std::string::String), Variant1(StringValue), } -impl ::std::convert::From<&Self> for AxisLabelFont { - fn from(value: &AxisLabelFont) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelFont { fn from(value: StringValue) -> Self { Self::Variant1(value) @@ -9548,11 +8908,6 @@ pub enum AxisLabelFontSize { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisLabelFontSize { - fn from(value: &AxisLabelFontSize) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelFontSize { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9586,11 +8941,6 @@ pub enum AxisLabelFontStyle { Variant0(::std::string::String), Variant1(StringValue), } -impl ::std::convert::From<&Self> for AxisLabelFontStyle { - fn from(value: &AxisLabelFontStyle) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelFontStyle { fn from(value: StringValue) -> Self { Self::Variant1(value) @@ -9643,11 +8993,6 @@ pub enum AxisLabelFontWeight { Variant0(MyEnum), Variant1(FontWeightValue), } -impl ::std::convert::From<&Self> for AxisLabelFontWeight { - fn from(value: &AxisLabelFontWeight) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelFontWeight { fn from(value: MyEnum) -> Self { Self::Variant0(value) @@ -9681,11 +9026,6 @@ pub enum AxisLabelLimit { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisLabelLimit { - fn from(value: &AxisLabelLimit) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelLimit { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9719,11 +9059,6 @@ pub enum AxisLabelLineHeight { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisLabelLineHeight { - fn from(value: &AxisLabelLineHeight) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelLineHeight { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9757,11 +9092,6 @@ pub enum AxisLabelOffset { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisLabelOffset { - fn from(value: &AxisLabelOffset) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelOffset { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9795,11 +9125,6 @@ pub enum AxisLabelOpacity { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisLabelOpacity { - fn from(value: &AxisLabelOpacity) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelOpacity { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9833,11 +9158,6 @@ pub enum AxisLabelPadding { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisLabelPadding { - fn from(value: &AxisLabelPadding) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisLabelPadding { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9871,11 +9191,6 @@ pub enum AxisMaxExtent { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisMaxExtent { - fn from(value: &AxisMaxExtent) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisMaxExtent { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9909,11 +9224,6 @@ pub enum AxisMinExtent { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisMinExtent { - fn from(value: &AxisMinExtent) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisMinExtent { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9947,11 +9257,6 @@ pub enum AxisOffset { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisOffset { - fn from(value: &AxisOffset) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisOffset { fn from(value: f64) -> Self { Self::Variant0(value) @@ -9990,11 +9295,6 @@ pub enum AxisOrient { Variant0(AxisOrientVariant0), Variant1(SignalRef), } -impl ::std::convert::From<&Self> for AxisOrient { - fn from(value: &AxisOrient) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisOrient { fn from(value: AxisOrientVariant0) -> Self { Self::Variant0(value) @@ -10042,11 +9342,6 @@ pub enum AxisOrientVariant0 { #[serde(rename = "right")] Right, } -impl ::std::convert::From<&Self> for AxisOrientVariant0 { - fn from(value: &AxisOrientVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AxisOrientVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10075,14 +9370,6 @@ impl ::std::convert::TryFrom<&str> for AxisOrientVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AxisOrientVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AxisOrientVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -10114,11 +9401,6 @@ pub enum AxisPosition { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisPosition { - fn from(value: &AxisPosition) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisPosition { fn from(value: f64) -> Self { Self::Variant0(value) @@ -10152,11 +9434,6 @@ pub enum AxisTickCap { Variant0(::std::string::String), Variant1(StringValue), } -impl ::std::convert::From<&Self> for AxisTickCap { - fn from(value: &AxisTickCap) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTickCap { fn from(value: StringValue) -> Self { Self::Variant1(value) @@ -10189,11 +9466,6 @@ pub enum AxisTickColor { String(::std::string::String), ColorValue(ColorValue), } -impl ::std::convert::From<&Self> for AxisTickColor { - fn from(value: &AxisTickColor) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTickColor { fn from(value: ColorValue) -> Self { Self::ColorValue(value) @@ -10225,11 +9497,6 @@ pub enum AxisTickDash { Variant0(::std::vec::Vec), Variant1(ArrayValue), } -impl ::std::convert::From<&Self> for AxisTickDash { - fn from(value: &AxisTickDash) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for AxisTickDash { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -10263,11 +9530,6 @@ pub enum AxisTickDashOffset { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTickDashOffset { - fn from(value: &AxisTickDashOffset) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTickDashOffset { fn from(value: f64) -> Self { Self::Variant0(value) @@ -10301,11 +9563,6 @@ pub enum AxisTickOffset { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTickOffset { - fn from(value: &AxisTickOffset) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTickOffset { fn from(value: f64) -> Self { Self::Variant0(value) @@ -10339,11 +9596,6 @@ pub enum AxisTickOpacity { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTickOpacity { - fn from(value: &AxisTickOpacity) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTickOpacity { fn from(value: f64) -> Self { Self::Variant0(value) @@ -10377,11 +9629,6 @@ pub enum AxisTickRound { Variant0(bool), Variant1(BooleanValue), } -impl ::std::convert::From<&Self> for AxisTickRound { - fn from(value: &AxisTickRound) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTickRound { fn from(value: bool) -> Self { Self::Variant0(value) @@ -10415,11 +9662,6 @@ pub enum AxisTickSize { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTickSize { - fn from(value: &AxisTickSize) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTickSize { fn from(value: f64) -> Self { Self::Variant0(value) @@ -10453,11 +9695,6 @@ pub enum AxisTickWidth { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTickWidth { - fn from(value: &AxisTickWidth) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTickWidth { fn from(value: f64) -> Self { Self::Variant0(value) @@ -10495,11 +9732,6 @@ pub enum AxisTitleAlign { Variant0(AxisTitleAlignVariant0), Variant1(AlignValue), } -impl ::std::convert::From<&Self> for AxisTitleAlign { - fn from(value: &AxisTitleAlign) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleAlign { fn from(value: AxisTitleAlignVariant0) -> Self { Self::Variant0(value) @@ -10544,11 +9776,6 @@ pub enum AxisTitleAlignVariant0 { #[serde(rename = "center")] Center, } -impl ::std::convert::From<&Self> for AxisTitleAlignVariant0 { - fn from(value: &AxisTitleAlignVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AxisTitleAlignVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10575,14 +9802,6 @@ impl ::std::convert::TryFrom<&str> for AxisTitleAlignVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AxisTitleAlignVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AxisTitleAlignVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -10619,11 +9838,6 @@ pub enum AxisTitleAnchor { Variant0(::std::option::Option), Variant1(AnchorValue), } -impl ::std::convert::From<&Self> for AxisTitleAnchor { - fn from(value: &AxisTitleAnchor) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::option::Option> for AxisTitleAnchor { fn from(value: ::std::option::Option) -> Self { Self::Variant0(value) @@ -10669,11 +9883,6 @@ pub enum AxisTitleAnchorVariant0 { #[serde(rename = "end")] End, } -impl ::std::convert::From<&Self> for AxisTitleAnchorVariant0 { - fn from(value: &AxisTitleAnchorVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AxisTitleAnchorVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10700,14 +9909,6 @@ impl ::std::convert::TryFrom<&str> for AxisTitleAnchorVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AxisTitleAnchorVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AxisTitleAnchorVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -10739,11 +9940,6 @@ pub enum AxisTitleAngle { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTitleAngle { - fn from(value: &AxisTitleAngle) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleAngle { fn from(value: f64) -> Self { Self::Variant0(value) @@ -10784,11 +9980,6 @@ pub enum AxisTitleBaseline { Variant0(AxisTitleBaselineVariant0), Variant1(BaselineValue), } -impl ::std::convert::From<&Self> for AxisTitleBaseline { - fn from(value: &AxisTitleBaseline) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleBaseline { fn from(value: AxisTitleBaselineVariant0) -> Self { Self::Variant0(value) @@ -10842,11 +10033,6 @@ pub enum AxisTitleBaselineVariant0 { #[serde(rename = "line-bottom")] LineBottom, } -impl ::std::convert::From<&Self> for AxisTitleBaselineVariant0 { - fn from(value: &AxisTitleBaselineVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for AxisTitleBaselineVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -10879,14 +10065,6 @@ impl ::std::convert::TryFrom<&str> for AxisTitleBaselineVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for AxisTitleBaselineVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for AxisTitleBaselineVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -10922,11 +10100,6 @@ pub enum AxisTitleColor { String(::std::string::String), ColorValue(ColorValue), } -impl ::std::convert::From<&Self> for AxisTitleColor { - fn from(value: &AxisTitleColor) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleColor { fn from(value: ColorValue) -> Self { Self::ColorValue(value) @@ -10955,11 +10128,6 @@ pub enum AxisTitleFont { Variant0(::std::string::String), Variant1(StringValue), } -impl ::std::convert::From<&Self> for AxisTitleFont { - fn from(value: &AxisTitleFont) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleFont { fn from(value: StringValue) -> Self { Self::Variant1(value) @@ -10988,11 +10156,6 @@ pub enum AxisTitleFontSize { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTitleFontSize { - fn from(value: &AxisTitleFontSize) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleFontSize { fn from(value: f64) -> Self { Self::Variant0(value) @@ -11026,11 +10189,6 @@ pub enum AxisTitleFontStyle { Variant0(::std::string::String), Variant1(StringValue), } -impl ::std::convert::From<&Self> for AxisTitleFontStyle { - fn from(value: &AxisTitleFontStyle) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleFontStyle { fn from(value: StringValue) -> Self { Self::Variant1(value) @@ -11083,11 +10241,6 @@ pub enum AxisTitleFontWeight { Variant0(MyEnum), Variant1(FontWeightValue), } -impl ::std::convert::From<&Self> for AxisTitleFontWeight { - fn from(value: &AxisTitleFontWeight) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleFontWeight { fn from(value: MyEnum) -> Self { Self::Variant0(value) @@ -11121,11 +10274,6 @@ pub enum AxisTitleLimit { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTitleLimit { - fn from(value: &AxisTitleLimit) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleLimit { fn from(value: f64) -> Self { Self::Variant0(value) @@ -11159,11 +10307,6 @@ pub enum AxisTitleLineHeight { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTitleLineHeight { - fn from(value: &AxisTitleLineHeight) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleLineHeight { fn from(value: f64) -> Self { Self::Variant0(value) @@ -11197,11 +10340,6 @@ pub enum AxisTitleOpacity { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTitleOpacity { - fn from(value: &AxisTitleOpacity) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleOpacity { fn from(value: f64) -> Self { Self::Variant0(value) @@ -11235,11 +10373,6 @@ pub enum AxisTitlePadding { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTitlePadding { - fn from(value: &AxisTitlePadding) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitlePadding { fn from(value: f64) -> Self { Self::Variant0(value) @@ -11273,11 +10406,6 @@ pub enum AxisTitleX { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTitleX { - fn from(value: &AxisTitleX) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleX { fn from(value: f64) -> Self { Self::Variant0(value) @@ -11311,11 +10439,6 @@ pub enum AxisTitleY { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTitleY { - fn from(value: &AxisTitleY) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTitleY { fn from(value: f64) -> Self { Self::Variant0(value) @@ -11349,11 +10472,6 @@ pub enum AxisTranslate { Variant0(f64), Variant1(NumberValue), } -impl ::std::convert::From<&Self> for AxisTranslate { - fn from(value: &AxisTranslate) -> Self { - value.clone() - } -} impl ::std::convert::From for AxisTranslate { fn from(value: f64) -> Self { Self::Variant0(value) @@ -11388,11 +10506,6 @@ impl ::std::convert::From for StringOrSignal { value.0 } } -impl ::std::convert::From<&Background> for Background { - fn from(value: &Background) -> Self { - value.clone() - } -} impl ::std::convert::From for Background { fn from(value: StringOrSignal) -> Self { Self(value) @@ -11597,11 +10710,6 @@ pub enum BaseColorValue { color: BaseColorValueVariant4Color, }, } -impl ::std::convert::From<&Self> for BaseColorValue { - fn from(value: &BaseColorValue) -> Self { - value.clone() - } -} impl ::std::convert::From for BaseColorValue { fn from(value: BaseColorValueVariant0) -> Self { Self::Variant0(value) @@ -11707,11 +10815,6 @@ pub enum BaseColorValueVariant0 { Variant2(BaseColorValueVariant0Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for BaseColorValueVariant0 { - fn from(value: &BaseColorValueVariant0) -> Self { - value.clone() - } -} impl ::std::convert::From for BaseColorValueVariant0 { fn from(value: BaseColorValueVariant0Variant0) -> Self { Self::Variant0(value) @@ -11850,11 +10953,6 @@ pub enum BaseColorValueVariant0Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for BaseColorValueVariant0Variant0 { - fn from(value: &BaseColorValueVariant0Variant0) -> Self { - value.clone() - } -} #[doc = "`BaseColorValueVariant0Variant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -11878,11 +10976,6 @@ pub enum BaseColorValueVariant0Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for BaseColorValueVariant0Variant0Variant3Range { - fn from(value: &BaseColorValueVariant0Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for BaseColorValueVariant0Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -11901,16 +10994,6 @@ impl ::std::convert::TryFrom<&str> for BaseColorValueVariant0Variant0Variant3Ran value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BaseColorValueVariant0Variant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BaseColorValueVariant0Variant0Variant3Range { @@ -12052,11 +11135,6 @@ impl ::std::convert::From for BaseColorValueVariant0Variant0Variant3Range )] #[serde(deny_unknown_fields)] pub enum BaseColorValueVariant0Variant1 {} -impl ::std::convert::From<&Self> for BaseColorValueVariant0Variant1 { - fn from(value: &BaseColorValueVariant0Variant1) -> Self { - value.clone() - } -} #[doc = "`BaseColorValueVariant0Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -12170,11 +11248,6 @@ impl ::std::convert::From<&Self> for BaseColorValueVariant0Variant1 { )] #[serde(deny_unknown_fields)] pub enum BaseColorValueVariant0Variant2 {} -impl ::std::convert::From<&Self> for BaseColorValueVariant0Variant2 { - fn from(value: &BaseColorValueVariant0Variant2) -> Self { - value.clone() - } -} #[doc = "`BaseColorValueVariant4Color`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -12206,11 +11279,6 @@ pub enum BaseColorValueVariant4Color { Lab(ColorLab), Hcl(ColorHcl), } -impl ::std::convert::From<&Self> for BaseColorValueVariant4Color { - fn from(value: &BaseColorValueVariant4Color) -> Self { - value.clone() - } -} impl ::std::convert::From for BaseColorValueVariant4Color { fn from(value: ColorRgb) -> Self { Self::Rgb(value) @@ -12424,11 +11492,6 @@ pub enum BaselineValue { Variant0(::std::vec::Vec), Variant1(BaselineValueVariant1), } -impl ::std::convert::From<&Self> for BaselineValue { - fn from(value: &BaselineValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for BaselineValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -12548,11 +11611,6 @@ pub enum BaselineValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for BaselineValueVariant0Item { - fn from(value: &BaselineValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for BaselineValueVariant0Item { fn from(value: BaselineValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -12700,11 +11758,6 @@ pub enum BaselineValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for BaselineValueVariant0ItemVariant0 { - fn from(value: &BaselineValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`BaselineValueVariant0ItemVariant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -12742,11 +11795,6 @@ pub enum BaselineValueVariant0ItemVariant0Variant1Value { #[serde(rename = "alphabetic")] Alphabetic, } -impl ::std::convert::From<&Self> for BaselineValueVariant0ItemVariant0Variant1Value { - fn from(value: &BaselineValueVariant0ItemVariant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BaselineValueVariant0ItemVariant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -12775,16 +11823,6 @@ impl ::std::convert::TryFrom<&str> for BaselineValueVariant0ItemVariant0Variant1 value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BaselineValueVariant0ItemVariant0Variant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BaselineValueVariant0ItemVariant0Variant1Value { @@ -12818,11 +11856,6 @@ pub enum BaselineValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for BaselineValueVariant0ItemVariant0Variant3Range { - fn from(value: &BaselineValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for BaselineValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -12841,16 +11874,6 @@ impl ::std::convert::TryFrom<&str> for BaselineValueVariant0ItemVariant0Variant3 value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BaselineValueVariant0ItemVariant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BaselineValueVariant0ItemVariant0Variant3Range { @@ -12993,11 +12016,6 @@ impl ::std::convert::From for BaselineValueVariant0ItemVariant0Variant3Ran )] #[serde(deny_unknown_fields)] pub enum BaselineValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for BaselineValueVariant0ItemVariant1 { - fn from(value: &BaselineValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`BaselineValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -13112,11 +12130,6 @@ impl ::std::convert::From<&Self> for BaselineValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum BaselineValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for BaselineValueVariant0ItemVariant2 { - fn from(value: &BaselineValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`BaselineValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -13215,11 +12228,6 @@ pub enum BaselineValueVariant1 { Variant2(BaselineValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for BaselineValueVariant1 { - fn from(value: &BaselineValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for BaselineValueVariant1 { fn from(value: BaselineValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -13356,11 +12364,6 @@ pub enum BaselineValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for BaselineValueVariant1Variant0 { - fn from(value: &BaselineValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`BaselineValueVariant1Variant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -13398,11 +12401,6 @@ pub enum BaselineValueVariant1Variant0Variant1Value { #[serde(rename = "alphabetic")] Alphabetic, } -impl ::std::convert::From<&Self> for BaselineValueVariant1Variant0Variant1Value { - fn from(value: &BaselineValueVariant1Variant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BaselineValueVariant1Variant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -13431,16 +12429,6 @@ impl ::std::convert::TryFrom<&str> for BaselineValueVariant1Variant0Variant1Valu value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BaselineValueVariant1Variant0Variant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BaselineValueVariant1Variant0Variant1Value { type Error = self::error::ConversionError; fn try_from( @@ -13472,11 +12460,6 @@ pub enum BaselineValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for BaselineValueVariant1Variant0Variant3Range { - fn from(value: &BaselineValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for BaselineValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -13495,16 +12478,6 @@ impl ::std::convert::TryFrom<&str> for BaselineValueVariant1Variant0Variant3Rang value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BaselineValueVariant1Variant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BaselineValueVariant1Variant0Variant3Range { type Error = self::error::ConversionError; fn try_from( @@ -13642,11 +12615,6 @@ impl ::std::convert::From for BaselineValueVariant1Variant0Variant3Range { )] #[serde(deny_unknown_fields)] pub enum BaselineValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for BaselineValueVariant1Variant1 { - fn from(value: &BaselineValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`BaselineValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -13758,11 +12726,6 @@ impl ::std::convert::From<&Self> for BaselineValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum BaselineValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for BaselineValueVariant1Variant2 { - fn from(value: &BaselineValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`BinTransform`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -14022,11 +12985,6 @@ pub struct BinTransform { #[serde(rename = "type")] pub type_: BinTransformType, } -impl ::std::convert::From<&BinTransform> for BinTransform { - fn from(value: &BinTransform) -> Self { - value.clone() - } -} #[doc = "`BinTransformAnchor`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -14050,11 +13008,6 @@ pub enum BinTransformAnchor { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformAnchor { - fn from(value: &BinTransformAnchor) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformAnchor { fn from(value: f64) -> Self { Self::Number(value) @@ -14104,11 +13057,6 @@ pub enum BinTransformAs { Array([BinTransformAsArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformAs { - fn from(value: &BinTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for BinTransformAs { fn default() -> Self { BinTransformAs::Array([ @@ -14150,11 +13098,6 @@ pub enum BinTransformAsArrayItem { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformAsArrayItem { - fn from(value: &BinTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -14184,11 +13127,6 @@ pub enum BinTransformBase { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformBase { - fn from(value: &BinTransformBase) -> Self { - value.clone() - } -} impl ::std::default::Default for BinTransformBase { fn default() -> Self { BinTransformBase::Number(10_f64) @@ -14241,11 +13179,6 @@ pub enum BinTransformDivide { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformDivide { - fn from(value: &BinTransformDivide) -> Self { - value.clone() - } -} impl ::std::default::Default for BinTransformDivide { fn default() -> Self { BinTransformDivide::Array(vec![ @@ -14287,11 +13220,6 @@ pub enum BinTransformDivideArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformDivideArrayItem { - fn from(value: &BinTransformDivideArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformDivideArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -14337,11 +13265,6 @@ pub enum BinTransformExtent { Array([BinTransformExtentArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformExtent { - fn from(value: &BinTransformExtent) -> Self { - value.clone() - } -} impl ::std::convert::From<[BinTransformExtentArrayItem; 2usize]> for BinTransformExtent { fn from(value: [BinTransformExtentArrayItem; 2usize]) -> Self { Self::Array(value) @@ -14375,11 +13298,6 @@ pub enum BinTransformExtentArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformExtentArrayItem { - fn from(value: &BinTransformExtentArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformExtentArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -14417,11 +13335,6 @@ pub enum BinTransformField { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for BinTransformField { - fn from(value: &BinTransformField) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformField { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -14461,11 +13374,6 @@ pub enum BinTransformInterval { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformInterval { - fn from(value: &BinTransformInterval) -> Self { - value.clone() - } -} impl ::std::default::Default for BinTransformInterval { fn default() -> Self { BinTransformInterval::Boolean(true) @@ -14505,11 +13413,6 @@ pub enum BinTransformMaxbins { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformMaxbins { - fn from(value: &BinTransformMaxbins) -> Self { - value.clone() - } -} impl ::std::default::Default for BinTransformMaxbins { fn default() -> Self { BinTransformMaxbins::Number(20_f64) @@ -14548,11 +13451,6 @@ pub enum BinTransformMinstep { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformMinstep { - fn from(value: &BinTransformMinstep) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformMinstep { fn from(value: f64) -> Self { Self::Number(value) @@ -14586,11 +13484,6 @@ pub enum BinTransformName { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformName { - fn from(value: &BinTransformName) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformName { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -14620,11 +13513,6 @@ pub enum BinTransformNice { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformNice { - fn from(value: &BinTransformNice) -> Self { - value.clone() - } -} impl ::std::default::Default for BinTransformNice { fn default() -> Self { BinTransformNice::Boolean(true) @@ -14663,11 +13551,6 @@ pub enum BinTransformSpan { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformSpan { - fn from(value: &BinTransformSpan) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformSpan { fn from(value: f64) -> Self { Self::Number(value) @@ -14701,11 +13584,6 @@ pub enum BinTransformStep { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformStep { - fn from(value: &BinTransformStep) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformStep { fn from(value: f64) -> Self { Self::Number(value) @@ -14749,11 +13627,6 @@ pub enum BinTransformSteps { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformSteps { - fn from(value: &BinTransformSteps) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for BinTransformSteps { fn from(value: ::std::vec::Vec) -> Self { Self::Array(value) @@ -14787,11 +13660,6 @@ pub enum BinTransformStepsArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BinTransformStepsArrayItem { - fn from(value: &BinTransformStepsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for BinTransformStepsArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -14830,11 +13698,6 @@ pub enum BinTransformType { #[serde(rename = "bin")] Bin, } -impl ::std::convert::From<&Self> for BinTransformType { - fn from(value: &BinTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BinTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -14857,14 +13720,6 @@ impl ::std::convert::TryFrom<&str> for BinTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BinTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BinTransformType { type Error = self::error::ConversionError; fn try_from( @@ -15075,11 +13930,6 @@ pub enum Bind { event: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for Bind { - fn from(value: &Bind) -> Self { - value.clone() - } -} #[doc = "`BindVariant0Input`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -15108,11 +13958,6 @@ pub enum BindVariant0Input { #[serde(rename = "checkbox")] Checkbox, } -impl ::std::convert::From<&Self> for BindVariant0Input { - fn from(value: &BindVariant0Input) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BindVariant0Input { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -15135,14 +13980,6 @@ impl ::std::convert::TryFrom<&str> for BindVariant0Input { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BindVariant0Input { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BindVariant0Input { type Error = self::error::ConversionError; fn try_from( @@ -15182,11 +14019,6 @@ pub enum BindVariant1Input { #[serde(rename = "select")] Select, } -impl ::std::convert::From<&Self> for BindVariant1Input { - fn from(value: &BindVariant1Input) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BindVariant1Input { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -15211,14 +14043,6 @@ impl ::std::convert::TryFrom<&str> for BindVariant1Input { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BindVariant1Input { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BindVariant1Input { type Error = self::error::ConversionError; fn try_from( @@ -15255,11 +14079,6 @@ pub enum BindVariant2Input { #[serde(rename = "range")] Range, } -impl ::std::convert::From<&Self> for BindVariant2Input { - fn from(value: &BindVariant2Input) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BindVariant2Input { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -15282,14 +14101,6 @@ impl ::std::convert::TryFrom<&str> for BindVariant2Input { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BindVariant2Input { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BindVariant2Input { type Error = self::error::ConversionError; fn try_from( @@ -15329,11 +14140,6 @@ impl ::std::convert::From for ::std::string::String { value.0 } } -impl ::std::convert::From<&BindVariant3Input> for BindVariant3Input { - fn from(value: &BindVariant3Input) -> Self { - value.clone() - } -} impl ::std::convert::TryFrom<::std::string::String> for BindVariant3Input { type Error = self::error::ConversionError; fn try_from( @@ -15579,11 +14385,6 @@ pub enum BlendValue { Variant0(::std::vec::Vec), Variant1(BlendValueVariant1), } -impl ::std::convert::From<&Self> for BlendValue { - fn from(value: &BlendValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for BlendValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -15715,11 +14516,6 @@ pub enum BlendValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for BlendValueVariant0Item { - fn from(value: &BlendValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for BlendValueVariant0Item { fn from(value: BlendValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -15879,11 +14675,6 @@ pub enum BlendValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for BlendValueVariant0ItemVariant0 { - fn from(value: &BlendValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`BlendValueVariant0ItemVariant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -15955,11 +14746,6 @@ pub enum BlendValueVariant0ItemVariant0Variant1Value { #[serde(rename = "luminosity")] Luminosity, } -impl ::std::convert::From<&Self> for BlendValueVariant0ItemVariant0Variant1Value { - fn from(value: &BlendValueVariant0ItemVariant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BlendValueVariant0ItemVariant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -16010,16 +14796,6 @@ impl ::std::convert::TryFrom<&str> for BlendValueVariant0ItemVariant0Variant1Val value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BlendValueVariant0ItemVariant0Variant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BlendValueVariant0ItemVariant0Variant1Value { @@ -16053,11 +14829,6 @@ pub enum BlendValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for BlendValueVariant0ItemVariant0Variant3Range { - fn from(value: &BlendValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for BlendValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -16076,16 +14847,6 @@ impl ::std::convert::TryFrom<&str> for BlendValueVariant0ItemVariant0Variant3Ran value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BlendValueVariant0ItemVariant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BlendValueVariant0ItemVariant0Variant3Range { @@ -16240,11 +15001,6 @@ impl ::std::convert::From for BlendValueVariant0ItemVariant0Variant3Range )] #[serde(deny_unknown_fields)] pub enum BlendValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for BlendValueVariant0ItemVariant1 { - fn from(value: &BlendValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`BlendValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -16371,11 +15127,6 @@ impl ::std::convert::From<&Self> for BlendValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum BlendValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for BlendValueVariant0ItemVariant2 { - fn from(value: &BlendValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`BlendValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -16486,11 +15237,6 @@ pub enum BlendValueVariant1 { Variant2(BlendValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for BlendValueVariant1 { - fn from(value: &BlendValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for BlendValueVariant1 { fn from(value: BlendValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -16639,11 +15385,6 @@ pub enum BlendValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for BlendValueVariant1Variant0 { - fn from(value: &BlendValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`BlendValueVariant1Variant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -16715,11 +15456,6 @@ pub enum BlendValueVariant1Variant0Variant1Value { #[serde(rename = "luminosity")] Luminosity, } -impl ::std::convert::From<&Self> for BlendValueVariant1Variant0Variant1Value { - fn from(value: &BlendValueVariant1Variant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for BlendValueVariant1Variant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -16770,14 +15506,6 @@ impl ::std::convert::TryFrom<&str> for BlendValueVariant1Variant0Variant1Value { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BlendValueVariant1Variant0Variant1Value { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BlendValueVariant1Variant0Variant1Value { type Error = self::error::ConversionError; fn try_from( @@ -16809,11 +15537,6 @@ pub enum BlendValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for BlendValueVariant1Variant0Variant3Range { - fn from(value: &BlendValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for BlendValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -16832,14 +15555,6 @@ impl ::std::convert::TryFrom<&str> for BlendValueVariant1Variant0Variant3Range { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BlendValueVariant1Variant0Variant3Range { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BlendValueVariant1Variant0Variant3Range { type Error = self::error::ConversionError; fn try_from( @@ -16989,11 +15704,6 @@ impl ::std::convert::From for BlendValueVariant1Variant0Variant3Range { )] #[serde(deny_unknown_fields)] pub enum BlendValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for BlendValueVariant1Variant1 { - fn from(value: &BlendValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`BlendValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -17117,11 +15827,6 @@ impl ::std::convert::From<&Self> for BlendValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum BlendValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for BlendValueVariant1Variant2 { - fn from(value: &BlendValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`BooleanOrSignal`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -17145,11 +15850,6 @@ pub enum BooleanOrSignal { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for BooleanOrSignal { - fn from(value: &BooleanOrSignal) -> Self { - value.clone() - } -} impl ::std::convert::From for BooleanOrSignal { fn from(value: bool) -> Self { Self::Boolean(value) @@ -17343,11 +16043,6 @@ pub enum BooleanValue { Variant0(::std::vec::Vec), Variant1(BooleanValueVariant1), } -impl ::std::convert::From<&Self> for BooleanValue { - fn from(value: &BooleanValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for BooleanValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -17462,11 +16157,6 @@ pub enum BooleanValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for BooleanValueVariant0Item { - fn from(value: &BooleanValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for BooleanValueVariant0Item { fn from(value: BooleanValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -17609,11 +16299,6 @@ pub enum BooleanValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for BooleanValueVariant0ItemVariant0 { - fn from(value: &BooleanValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`BooleanValueVariant0ItemVariant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -17637,11 +16322,6 @@ pub enum BooleanValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for BooleanValueVariant0ItemVariant0Variant3Range { - fn from(value: &BooleanValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for BooleanValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -17660,16 +16340,6 @@ impl ::std::convert::TryFrom<&str> for BooleanValueVariant0ItemVariant0Variant3R value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for BooleanValueVariant0ItemVariant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BooleanValueVariant0ItemVariant0Variant3Range { @@ -17807,11 +16477,6 @@ impl ::std::convert::From for BooleanValueVariant0ItemVariant0Variant3Rang )] #[serde(deny_unknown_fields)] pub enum BooleanValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for BooleanValueVariant0ItemVariant1 { - fn from(value: &BooleanValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`BooleanValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -17921,11 +16586,6 @@ impl ::std::convert::From<&Self> for BooleanValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum BooleanValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for BooleanValueVariant0ItemVariant2 { - fn from(value: &BooleanValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`BooleanValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18019,11 +16679,6 @@ pub enum BooleanValueVariant1 { Variant2(BooleanValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for BooleanValueVariant1 { - fn from(value: &BooleanValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for BooleanValueVariant1 { fn from(value: BooleanValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -18155,11 +16810,6 @@ pub enum BooleanValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for BooleanValueVariant1Variant0 { - fn from(value: &BooleanValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`BooleanValueVariant1Variant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18183,11 +16833,6 @@ pub enum BooleanValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for BooleanValueVariant1Variant0Variant3Range { - fn from(value: &BooleanValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for BooleanValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -18206,14 +16851,6 @@ impl ::std::convert::TryFrom<&str> for BooleanValueVariant1Variant0Variant3Range value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for BooleanValueVariant1Variant0Variant3Range { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for BooleanValueVariant1Variant0Variant3Range { type Error = self::error::ConversionError; fn try_from( @@ -18346,11 +16983,6 @@ impl ::std::convert::From for BooleanValueVariant1Variant0Variant3Range { )] #[serde(deny_unknown_fields)] pub enum BooleanValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for BooleanValueVariant1Variant1 { - fn from(value: &BooleanValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`BooleanValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18457,11 +17089,6 @@ impl ::std::convert::From<&Self> for BooleanValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum BooleanValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for BooleanValueVariant1Variant2 { - fn from(value: &BooleanValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`CollectTransform`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18499,11 +17126,6 @@ pub struct CollectTransform { #[serde(rename = "type")] pub type_: CollectTransformType, } -impl ::std::convert::From<&CollectTransform> for CollectTransform { - fn from(value: &CollectTransform) -> Self { - value.clone() - } -} #[doc = "`CollectTransformType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18532,11 +17154,6 @@ pub enum CollectTransformType { #[serde(rename = "collect")] Collect, } -impl ::std::convert::From<&Self> for CollectTransformType { - fn from(value: &CollectTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CollectTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -18559,14 +17176,6 @@ impl ::std::convert::TryFrom<&str> for CollectTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CollectTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CollectTransformType { type Error = self::error::ConversionError; fn try_from( @@ -18607,11 +17216,6 @@ pub struct ColorHcl { pub h: NumberValue, pub l: NumberValue, } -impl ::std::convert::From<&ColorHcl> for ColorHcl { - fn from(value: &ColorHcl) -> Self { - value.clone() - } -} #[doc = "`ColorHsl`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18644,11 +17248,6 @@ pub struct ColorHsl { pub l: NumberValue, pub s: NumberValue, } -impl ::std::convert::From<&ColorHsl> for ColorHsl { - fn from(value: &ColorHsl) -> Self { - value.clone() - } -} #[doc = "`ColorLab`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18681,11 +17280,6 @@ pub struct ColorLab { pub b: NumberValue, pub l: NumberValue, } -impl ::std::convert::From<&ColorLab> for ColorLab { - fn from(value: &ColorLab) -> Self { - value.clone() - } -} #[doc = "`ColorRgb`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18718,11 +17312,6 @@ pub struct ColorRgb { pub g: NumberValue, pub r: NumberValue, } -impl ::std::convert::From<&ColorRgb> for ColorRgb { - fn from(value: &ColorRgb) -> Self { - value.clone() - } -} #[doc = "`Compare`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18794,11 +17383,6 @@ pub enum Compare { order: ::std::vec::Vec, }, } -impl ::std::convert::From<&Self> for Compare { - fn from(value: &Compare) -> Self { - value.clone() - } -} #[doc = "`CompareVariant0Field`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -18822,11 +17406,6 @@ pub enum CompareVariant0Field { ScaleField(ScaleField), Expr(Expr), } -impl ::std::convert::From<&Self> for CompareVariant0Field { - fn from(value: &CompareVariant0Field) -> Self { - value.clone() - } -} impl ::std::convert::From for CompareVariant0Field { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -18860,11 +17439,6 @@ pub enum CompareVariant1FieldItem { ScaleField(ScaleField), Expr(Expr), } -impl ::std::convert::From<&Self> for CompareVariant1FieldItem { - fn from(value: &CompareVariant1FieldItem) -> Self { - value.clone() - } -} impl ::std::convert::From for CompareVariant1FieldItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -19085,11 +17659,6 @@ pub struct ContourTransform { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub y: ::std::option::Option, } -impl ::std::convert::From<&ContourTransform> for ContourTransform { - fn from(value: &ContourTransform) -> Self { - value.clone() - } -} #[doc = "`ContourTransformBandwidth`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -19113,11 +17682,6 @@ pub enum ContourTransformBandwidth { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformBandwidth { - fn from(value: &ContourTransformBandwidth) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformBandwidth { fn from(value: f64) -> Self { Self::Number(value) @@ -19151,11 +17715,6 @@ pub enum ContourTransformCellSize { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformCellSize { - fn from(value: &ContourTransformCellSize) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformCellSize { fn from(value: f64) -> Self { Self::Number(value) @@ -19189,11 +17748,6 @@ pub enum ContourTransformCount { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformCount { - fn from(value: &ContourTransformCount) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformCount { fn from(value: f64) -> Self { Self::Number(value) @@ -19227,11 +17781,6 @@ pub enum ContourTransformNice { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformNice { - fn from(value: &ContourTransformNice) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformNice { fn from(value: bool) -> Self { Self::Boolean(value) @@ -19277,11 +17826,6 @@ pub enum ContourTransformSize { Array([ContourTransformSizeArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformSize { - fn from(value: &ContourTransformSize) -> Self { - value.clone() - } -} impl ::std::convert::From<[ContourTransformSizeArrayItem; 2usize]> for ContourTransformSize { fn from(value: [ContourTransformSizeArrayItem; 2usize]) -> Self { Self::Array(value) @@ -19315,11 +17859,6 @@ pub enum ContourTransformSizeArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformSizeArrayItem { - fn from(value: &ContourTransformSizeArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformSizeArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -19354,11 +17893,6 @@ pub enum ContourTransformSmooth { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformSmooth { - fn from(value: &ContourTransformSmooth) -> Self { - value.clone() - } -} impl ::std::default::Default for ContourTransformSmooth { fn default() -> Self { ContourTransformSmooth::Boolean(true) @@ -19407,11 +17941,6 @@ pub enum ContourTransformThresholds { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformThresholds { - fn from(value: &ContourTransformThresholds) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for ContourTransformThresholds { @@ -19447,11 +17976,6 @@ pub enum ContourTransformThresholdsArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformThresholdsArrayItem { - fn from(value: &ContourTransformThresholdsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformThresholdsArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -19490,11 +18014,6 @@ pub enum ContourTransformType { #[serde(rename = "contour")] Contour, } -impl ::std::convert::From<&Self> for ContourTransformType { - fn from(value: &ContourTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ContourTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -19517,14 +18036,6 @@ impl ::std::convert::TryFrom<&str> for ContourTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ContourTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ContourTransformType { type Error = self::error::ConversionError; fn try_from( @@ -19566,11 +18077,6 @@ pub enum ContourTransformValues { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformValues { - fn from(value: &ContourTransformValues) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for ContourTransformValues { @@ -19606,11 +18112,6 @@ pub enum ContourTransformValuesArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ContourTransformValuesArrayItem { - fn from(value: &ContourTransformValuesArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformValuesArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -19648,11 +18149,6 @@ pub enum ContourTransformWeight { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for ContourTransformWeight { - fn from(value: &ContourTransformWeight) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformWeight { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -19695,11 +18191,6 @@ pub enum ContourTransformX { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for ContourTransformX { - fn from(value: &ContourTransformX) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformX { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -19742,11 +18233,6 @@ pub enum ContourTransformY { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for ContourTransformY { - fn from(value: &ContourTransformY) -> Self { - value.clone() - } -} impl ::std::convert::From for ContourTransformY { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -19879,11 +18365,6 @@ pub struct CountpatternTransform { #[serde(rename = "type")] pub type_: CountpatternTransformType, } -impl ::std::convert::From<&CountpatternTransform> for CountpatternTransform { - fn from(value: &CountpatternTransform) -> Self { - value.clone() - } -} #[doc = "`CountpatternTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -19923,11 +18404,6 @@ pub enum CountpatternTransformAs { Array([CountpatternTransformAsArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for CountpatternTransformAs { - fn from(value: &CountpatternTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for CountpatternTransformAs { fn default() -> Self { CountpatternTransformAs::Array([ @@ -19969,11 +18445,6 @@ pub enum CountpatternTransformAsArrayItem { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for CountpatternTransformAsArrayItem { - fn from(value: &CountpatternTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for CountpatternTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -20007,11 +18478,6 @@ pub enum CountpatternTransformCase { Variant0(CountpatternTransformCaseVariant0), Variant1(SignalRef), } -impl ::std::convert::From<&Self> for CountpatternTransformCase { - fn from(value: &CountpatternTransformCase) -> Self { - value.clone() - } -} impl ::std::default::Default for CountpatternTransformCase { fn default() -> Self { CountpatternTransformCase::Variant0(CountpatternTransformCaseVariant0::Mixed) @@ -20061,11 +18527,6 @@ pub enum CountpatternTransformCaseVariant0 { #[serde(rename = "mixed")] Mixed, } -impl ::std::convert::From<&Self> for CountpatternTransformCaseVariant0 { - fn from(value: &CountpatternTransformCaseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CountpatternTransformCaseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -20092,14 +18553,6 @@ impl ::std::convert::TryFrom<&str> for CountpatternTransformCaseVariant0 { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CountpatternTransformCaseVariant0 { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CountpatternTransformCaseVariant0 { type Error = self::error::ConversionError; fn try_from( @@ -20135,11 +18588,6 @@ pub enum CountpatternTransformField { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for CountpatternTransformField { - fn from(value: &CountpatternTransformField) -> Self { - value.clone() - } -} impl ::std::convert::From for CountpatternTransformField { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -20179,11 +18627,6 @@ pub enum CountpatternTransformPattern { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for CountpatternTransformPattern { - fn from(value: &CountpatternTransformPattern) -> Self { - value.clone() - } -} impl ::std::default::Default for CountpatternTransformPattern { fn default() -> Self { CountpatternTransformPattern::String("[\\w\"]+".to_string()) @@ -20217,11 +18660,6 @@ pub enum CountpatternTransformStopwords { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for CountpatternTransformStopwords { - fn from(value: &CountpatternTransformStopwords) -> Self { - value.clone() - } -} impl ::std::convert::From for CountpatternTransformStopwords { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -20255,11 +18693,6 @@ pub enum CountpatternTransformType { #[serde(rename = "countpattern")] Countpattern, } -impl ::std::convert::From<&Self> for CountpatternTransformType { - fn from(value: &CountpatternTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CountpatternTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -20282,14 +18715,6 @@ impl ::std::convert::TryFrom<&str> for CountpatternTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CountpatternTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CountpatternTransformType { type Error = self::error::ConversionError; fn try_from( @@ -20363,11 +18788,6 @@ pub struct CrossTransform { #[serde(rename = "type")] pub type_: CrossTransformType, } -impl ::std::convert::From<&CrossTransform> for CrossTransform { - fn from(value: &CrossTransform) -> Self { - value.clone() - } -} #[doc = "`CrossTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -20407,11 +18827,6 @@ pub enum CrossTransformAs { Array([CrossTransformAsArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for CrossTransformAs { - fn from(value: &CrossTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for CrossTransformAs { fn default() -> Self { CrossTransformAs::Array([ @@ -20453,11 +18868,6 @@ pub enum CrossTransformAsArrayItem { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for CrossTransformAsArrayItem { - fn from(value: &CrossTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for CrossTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -20491,11 +18901,6 @@ pub enum CrossTransformType { #[serde(rename = "cross")] Cross, } -impl ::std::convert::From<&Self> for CrossTransformType { - fn from(value: &CrossTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CrossTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -20518,14 +18923,6 @@ impl ::std::convert::TryFrom<&str> for CrossTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CrossTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CrossTransformType { type Error = self::error::ConversionError; fn try_from( @@ -20604,11 +19001,6 @@ pub struct CrossfilterTransform { #[serde(rename = "type")] pub type_: CrossfilterTransformType, } -impl ::std::convert::From<&CrossfilterTransform> for CrossfilterTransform { - fn from(value: &CrossfilterTransform) -> Self { - value.clone() - } -} #[doc = "`CrossfilterTransformFields`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -20645,11 +19037,6 @@ pub enum CrossfilterTransformFields { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for CrossfilterTransformFields { - fn from(value: &CrossfilterTransformFields) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for CrossfilterTransformFields { @@ -20689,11 +19076,6 @@ pub enum CrossfilterTransformFieldsArrayItem { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for CrossfilterTransformFieldsArrayItem { - fn from(value: &CrossfilterTransformFieldsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for CrossfilterTransformFieldsArrayItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -20733,11 +19115,6 @@ pub enum CrossfilterTransformQuery { Array(::std::vec::Vec<::serde_json::Value>), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for CrossfilterTransformQuery { - fn from(value: &CrossfilterTransformQuery) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec<::serde_json::Value>> for CrossfilterTransformQuery { fn from(value: ::std::vec::Vec<::serde_json::Value>) -> Self { Self::Array(value) @@ -20776,11 +19153,6 @@ pub enum CrossfilterTransformType { #[serde(rename = "crossfilter")] Crossfilter, } -impl ::std::convert::From<&Self> for CrossfilterTransformType { - fn from(value: &CrossfilterTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for CrossfilterTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -20803,14 +19175,6 @@ impl ::std::convert::TryFrom<&str> for CrossfilterTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for CrossfilterTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for CrossfilterTransformType { type Error = self::error::ConversionError; fn try_from( @@ -21515,11 +19879,6 @@ pub enum Data { values: DataVariant3Values, }, } -impl ::std::convert::From<&Self> for Data { - fn from(value: &Data) -> Self { - value.clone() - } -} #[doc = "`DataVariant1Source`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -21547,11 +19906,6 @@ pub enum DataVariant1Source { String(::std::string::String), Array(::std::vec::Vec<::std::string::String>), } -impl ::std::convert::From<&Self> for DataVariant1Source { - fn from(value: &DataVariant1Source) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec<::std::string::String>> for DataVariant1Source { fn from(value: ::std::vec::Vec<::std::string::String>) -> Self { Self::Array(value) @@ -21859,11 +20213,6 @@ pub enum DataVariant2Format { }, Variant1(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant2Format { - fn from(value: &DataVariant2Format) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant2Format { fn from(value: SignalRef) -> Self { Self::Variant1(value) @@ -21926,13 +20275,6 @@ pub struct DataVariant2FormatVariant0Subtype0 { )] pub type_: ::std::option::Option, } -impl ::std::convert::From<&DataVariant2FormatVariant0Subtype0> - for DataVariant2FormatVariant0Subtype0 -{ - fn from(value: &DataVariant2FormatVariant0Subtype0) -> Self { - value.clone() - } -} impl ::std::default::Default for DataVariant2FormatVariant0Subtype0 { fn default() -> Self { Self { @@ -21991,11 +20333,6 @@ pub enum DataVariant2FormatVariant0Subtype0Parse { ), Variant2(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype0Parse { - fn from(value: &DataVariant2FormatVariant0Subtype0Parse) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant2FormatVariant0Subtype0Parse { @@ -22053,11 +20390,6 @@ pub enum DataVariant2FormatVariant0Subtype0ParseVariant0 { #[serde(rename = "auto")] Auto, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype0ParseVariant0 { - fn from(value: &DataVariant2FormatVariant0Subtype0ParseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype0ParseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -22080,16 +20412,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype0ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype0ParseVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype0ParseVariant0 { @@ -22129,11 +20451,6 @@ pub enum DataVariant2FormatVariant0Subtype0ParseVariant1Value { Variant0(DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant0), Variant1(DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant1), } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype0ParseVariant1Value { - fn from(value: &DataVariant2FormatVariant0Subtype0ParseVariant1Value) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant2FormatVariant0Subtype0ParseVariant1Value { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -22152,16 +20469,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype0ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype0ParseVariant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype0ParseVariant1Value { @@ -22231,11 +20538,6 @@ pub enum DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant0 { #[serde(rename = "string")] String, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant0 { - fn from(value: &DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -22266,16 +20568,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant0 { @@ -22313,13 +20605,6 @@ impl ::std::convert::From - for DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant1 -{ - fn from(value: &DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant1) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant1 { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -22339,16 +20624,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant1 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype0ParseVariant1ValueVariant1 { @@ -22444,13 +20719,6 @@ pub struct DataVariant2FormatVariant0Subtype1 { )] pub type_: ::std::option::Option, } -impl ::std::convert::From<&DataVariant2FormatVariant0Subtype1> - for DataVariant2FormatVariant0Subtype1 -{ - fn from(value: &DataVariant2FormatVariant0Subtype1) -> Self { - value.clone() - } -} impl ::std::default::Default for DataVariant2FormatVariant0Subtype1 { fn default() -> Self { Self { @@ -22511,11 +20779,6 @@ pub enum DataVariant2FormatVariant0Subtype1Parse { ), Variant2(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype1Parse { - fn from(value: &DataVariant2FormatVariant0Subtype1Parse) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant2FormatVariant0Subtype1Parse { @@ -22573,11 +20836,6 @@ pub enum DataVariant2FormatVariant0Subtype1ParseVariant0 { #[serde(rename = "auto")] Auto, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype1ParseVariant0 { - fn from(value: &DataVariant2FormatVariant0Subtype1ParseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype1ParseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -22600,16 +20858,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype1ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype1ParseVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype1ParseVariant0 { @@ -22649,11 +20897,6 @@ pub enum DataVariant2FormatVariant0Subtype1ParseVariant1Value { Variant0(DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant0), Variant1(DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant1), } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype1ParseVariant1Value { - fn from(value: &DataVariant2FormatVariant0Subtype1ParseVariant1Value) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant2FormatVariant0Subtype1ParseVariant1Value { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -22672,16 +20915,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype1ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype1ParseVariant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype1ParseVariant1Value { @@ -22751,11 +20984,6 @@ pub enum DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant0 { #[serde(rename = "string")] String, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant0 { - fn from(value: &DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -22786,16 +21014,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant0 { @@ -22833,13 +21051,6 @@ impl ::std::convert::From - for DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant1 -{ - fn from(value: &DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant1) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant1 { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -22859,16 +21070,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant1 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype1ParseVariant1ValueVariant1 { @@ -22921,11 +21122,6 @@ pub enum DataVariant2FormatVariant0Subtype1Type { #[serde(rename = "json")] Json, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype1Type { - fn from(value: &DataVariant2FormatVariant0Subtype1Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype1Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -22948,14 +21144,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype1Type { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DataVariant2FormatVariant0Subtype1Type { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype1Type { type Error = self::error::ConversionError; fn try_from( @@ -23033,13 +21221,6 @@ pub struct DataVariant2FormatVariant0Subtype2 { #[serde(rename = "type")] pub type_: DataVariant2FormatVariant0Subtype2Type, } -impl ::std::convert::From<&DataVariant2FormatVariant0Subtype2> - for DataVariant2FormatVariant0Subtype2 -{ - fn from(value: &DataVariant2FormatVariant0Subtype2) -> Self { - value.clone() - } -} #[doc = "`DataVariant2FormatVariant0Subtype2Parse`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23090,11 +21271,6 @@ pub enum DataVariant2FormatVariant0Subtype2Parse { ), Variant2(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype2Parse { - fn from(value: &DataVariant2FormatVariant0Subtype2Parse) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant2FormatVariant0Subtype2Parse { @@ -23152,11 +21328,6 @@ pub enum DataVariant2FormatVariant0Subtype2ParseVariant0 { #[serde(rename = "auto")] Auto, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype2ParseVariant0 { - fn from(value: &DataVariant2FormatVariant0Subtype2ParseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype2ParseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -23179,16 +21350,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype2ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype2ParseVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype2ParseVariant0 { @@ -23228,11 +21389,6 @@ pub enum DataVariant2FormatVariant0Subtype2ParseVariant1Value { Variant0(DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant0), Variant1(DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant1), } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype2ParseVariant1Value { - fn from(value: &DataVariant2FormatVariant0Subtype2ParseVariant1Value) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant2FormatVariant0Subtype2ParseVariant1Value { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -23251,16 +21407,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype2ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype2ParseVariant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype2ParseVariant1Value { @@ -23330,11 +21476,6 @@ pub enum DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant0 { #[serde(rename = "string")] String, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant0 { - fn from(value: &DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -23365,16 +21506,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant0 { @@ -23412,13 +21543,6 @@ impl ::std::convert::From - for DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant1 -{ - fn from(value: &DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant1) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant1 { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -23438,16 +21562,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant1 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype2ParseVariant1ValueVariant1 { @@ -23503,11 +21617,6 @@ pub enum DataVariant2FormatVariant0Subtype2Type { #[serde(rename = "tsv")] Tsv, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype2Type { - fn from(value: &DataVariant2FormatVariant0Subtype2Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype2Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -23532,14 +21641,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype2Type { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DataVariant2FormatVariant0Subtype2Type { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype2Type { type Error = self::error::ConversionError; fn try_from( @@ -23621,13 +21722,6 @@ pub struct DataVariant2FormatVariant0Subtype3 { #[serde(rename = "type")] pub type_: DataVariant2FormatVariant0Subtype3Type, } -impl ::std::convert::From<&DataVariant2FormatVariant0Subtype3> - for DataVariant2FormatVariant0Subtype3 -{ - fn from(value: &DataVariant2FormatVariant0Subtype3) -> Self { - value.clone() - } -} #[doc = "`DataVariant2FormatVariant0Subtype3Parse`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -23678,11 +21772,6 @@ pub enum DataVariant2FormatVariant0Subtype3Parse { ), Variant2(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype3Parse { - fn from(value: &DataVariant2FormatVariant0Subtype3Parse) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant2FormatVariant0Subtype3Parse { @@ -23740,11 +21829,6 @@ pub enum DataVariant2FormatVariant0Subtype3ParseVariant0 { #[serde(rename = "auto")] Auto, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype3ParseVariant0 { - fn from(value: &DataVariant2FormatVariant0Subtype3ParseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype3ParseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -23767,16 +21851,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype3ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype3ParseVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype3ParseVariant0 { @@ -23816,11 +21890,6 @@ pub enum DataVariant2FormatVariant0Subtype3ParseVariant1Value { Variant0(DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant0), Variant1(DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant1), } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype3ParseVariant1Value { - fn from(value: &DataVariant2FormatVariant0Subtype3ParseVariant1Value) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant2FormatVariant0Subtype3ParseVariant1Value { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -23839,16 +21908,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype3ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype3ParseVariant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype3ParseVariant1Value { @@ -23918,11 +21977,6 @@ pub enum DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant0 { #[serde(rename = "string")] String, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant0 { - fn from(value: &DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -23953,16 +22007,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant0 { @@ -24000,13 +22044,6 @@ impl ::std::convert::From - for DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant1 -{ - fn from(value: &DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant1) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant1 { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -24026,16 +22063,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant1 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype3ParseVariant1ValueVariant1 { @@ -24088,11 +22115,6 @@ pub enum DataVariant2FormatVariant0Subtype3Type { #[serde(rename = "dsv")] Dsv, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype3Type { - fn from(value: &DataVariant2FormatVariant0Subtype3Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype3Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24115,14 +22137,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype3Type { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DataVariant2FormatVariant0Subtype3Type { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype3Type { type Error = self::error::ConversionError; fn try_from( @@ -24211,11 +22225,6 @@ pub enum DataVariant2FormatVariant0Subtype4 { type_: DataVariant2FormatVariant0Subtype4Variant1Type, }, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype4 { - fn from(value: &DataVariant2FormatVariant0Subtype4) -> Self { - value.clone() - } -} #[doc = "`DataVariant2FormatVariant0Subtype4Variant0Type`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -24244,11 +22253,6 @@ pub enum DataVariant2FormatVariant0Subtype4Variant0Type { #[serde(rename = "topojson")] Topojson, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype4Variant0Type { - fn from(value: &DataVariant2FormatVariant0Subtype4Variant0Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype4Variant0Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24271,16 +22275,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype4Variant value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype4Variant0Type -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype4Variant0Type { @@ -24323,11 +22317,6 @@ pub enum DataVariant2FormatVariant0Subtype4Variant1Filter { #[serde(rename = "exterior")] Exterior, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype4Variant1Filter { - fn from(value: &DataVariant2FormatVariant0Subtype4Variant1Filter) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype4Variant1Filter { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24352,16 +22341,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype4Variant value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype4Variant1Filter -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype4Variant1Filter { @@ -24400,11 +22379,6 @@ pub enum DataVariant2FormatVariant0Subtype4Variant1Type { #[serde(rename = "topojson")] Topojson, } -impl ::std::convert::From<&Self> for DataVariant2FormatVariant0Subtype4Variant1Type { - fn from(value: &DataVariant2FormatVariant0Subtype4Variant1Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant2FormatVariant0Subtype4Variant1Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24427,16 +22401,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant2FormatVariant0Subtype4Variant value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant2FormatVariant0Subtype4Variant1Type -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant2FormatVariant0Subtype4Variant1Type { @@ -24749,11 +22713,6 @@ pub enum DataVariant3Format { }, Variant1(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant3Format { - fn from(value: &DataVariant3Format) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant3Format { fn from(value: SignalRef) -> Self { Self::Variant1(value) @@ -24816,13 +22775,6 @@ pub struct DataVariant3FormatVariant0Subtype0 { )] pub type_: ::std::option::Option, } -impl ::std::convert::From<&DataVariant3FormatVariant0Subtype0> - for DataVariant3FormatVariant0Subtype0 -{ - fn from(value: &DataVariant3FormatVariant0Subtype0) -> Self { - value.clone() - } -} impl ::std::default::Default for DataVariant3FormatVariant0Subtype0 { fn default() -> Self { Self { @@ -24881,11 +22833,6 @@ pub enum DataVariant3FormatVariant0Subtype0Parse { ), Variant2(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype0Parse { - fn from(value: &DataVariant3FormatVariant0Subtype0Parse) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant3FormatVariant0Subtype0Parse { @@ -24943,11 +22890,6 @@ pub enum DataVariant3FormatVariant0Subtype0ParseVariant0 { #[serde(rename = "auto")] Auto, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype0ParseVariant0 { - fn from(value: &DataVariant3FormatVariant0Subtype0ParseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype0ParseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -24970,16 +22912,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype0ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype0ParseVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype0ParseVariant0 { @@ -25019,11 +22951,6 @@ pub enum DataVariant3FormatVariant0Subtype0ParseVariant1Value { Variant0(DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant0), Variant1(DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant1), } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype0ParseVariant1Value { - fn from(value: &DataVariant3FormatVariant0Subtype0ParseVariant1Value) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant3FormatVariant0Subtype0ParseVariant1Value { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -25042,16 +22969,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype0ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype0ParseVariant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype0ParseVariant1Value { @@ -25121,11 +23038,6 @@ pub enum DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant0 { #[serde(rename = "string")] String, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant0 { - fn from(value: &DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25156,16 +23068,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant0 { @@ -25203,13 +23105,6 @@ impl ::std::convert::From - for DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant1 -{ - fn from(value: &DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant1) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant1 { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -25229,16 +23124,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant1 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype0ParseVariant1ValueVariant1 { @@ -25334,13 +23219,6 @@ pub struct DataVariant3FormatVariant0Subtype1 { )] pub type_: ::std::option::Option, } -impl ::std::convert::From<&DataVariant3FormatVariant0Subtype1> - for DataVariant3FormatVariant0Subtype1 -{ - fn from(value: &DataVariant3FormatVariant0Subtype1) -> Self { - value.clone() - } -} impl ::std::default::Default for DataVariant3FormatVariant0Subtype1 { fn default() -> Self { Self { @@ -25401,11 +23279,6 @@ pub enum DataVariant3FormatVariant0Subtype1Parse { ), Variant2(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype1Parse { - fn from(value: &DataVariant3FormatVariant0Subtype1Parse) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant3FormatVariant0Subtype1Parse { @@ -25463,11 +23336,6 @@ pub enum DataVariant3FormatVariant0Subtype1ParseVariant0 { #[serde(rename = "auto")] Auto, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype1ParseVariant0 { - fn from(value: &DataVariant3FormatVariant0Subtype1ParseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype1ParseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25490,16 +23358,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype1ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype1ParseVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype1ParseVariant0 { @@ -25539,11 +23397,6 @@ pub enum DataVariant3FormatVariant0Subtype1ParseVariant1Value { Variant0(DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant0), Variant1(DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant1), } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype1ParseVariant1Value { - fn from(value: &DataVariant3FormatVariant0Subtype1ParseVariant1Value) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant3FormatVariant0Subtype1ParseVariant1Value { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -25562,16 +23415,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype1ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype1ParseVariant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype1ParseVariant1Value { @@ -25641,11 +23484,6 @@ pub enum DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant0 { #[serde(rename = "string")] String, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant0 { - fn from(value: &DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25676,16 +23514,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant0 { @@ -25723,13 +23551,6 @@ impl ::std::convert::From - for DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant1 -{ - fn from(value: &DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant1) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant1 { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -25749,16 +23570,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant1 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype1ParseVariant1ValueVariant1 { @@ -25811,11 +23622,6 @@ pub enum DataVariant3FormatVariant0Subtype1Type { #[serde(rename = "json")] Json, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype1Type { - fn from(value: &DataVariant3FormatVariant0Subtype1Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype1Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -25838,14 +23644,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype1Type { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DataVariant3FormatVariant0Subtype1Type { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype1Type { type Error = self::error::ConversionError; fn try_from( @@ -25923,13 +23721,6 @@ pub struct DataVariant3FormatVariant0Subtype2 { #[serde(rename = "type")] pub type_: DataVariant3FormatVariant0Subtype2Type, } -impl ::std::convert::From<&DataVariant3FormatVariant0Subtype2> - for DataVariant3FormatVariant0Subtype2 -{ - fn from(value: &DataVariant3FormatVariant0Subtype2) -> Self { - value.clone() - } -} #[doc = "`DataVariant3FormatVariant0Subtype2Parse`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -25980,11 +23771,6 @@ pub enum DataVariant3FormatVariant0Subtype2Parse { ), Variant2(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype2Parse { - fn from(value: &DataVariant3FormatVariant0Subtype2Parse) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant3FormatVariant0Subtype2Parse { @@ -26042,11 +23828,6 @@ pub enum DataVariant3FormatVariant0Subtype2ParseVariant0 { #[serde(rename = "auto")] Auto, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype2ParseVariant0 { - fn from(value: &DataVariant3FormatVariant0Subtype2ParseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype2ParseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26069,16 +23850,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype2ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype2ParseVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype2ParseVariant0 { @@ -26118,11 +23889,6 @@ pub enum DataVariant3FormatVariant0Subtype2ParseVariant1Value { Variant0(DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant0), Variant1(DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant1), } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype2ParseVariant1Value { - fn from(value: &DataVariant3FormatVariant0Subtype2ParseVariant1Value) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant3FormatVariant0Subtype2ParseVariant1Value { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -26141,16 +23907,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype2ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype2ParseVariant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype2ParseVariant1Value { @@ -26220,11 +23976,6 @@ pub enum DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant0 { #[serde(rename = "string")] String, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant0 { - fn from(value: &DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26255,16 +24006,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant0 { @@ -26302,13 +24043,6 @@ impl ::std::convert::From - for DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant1 -{ - fn from(value: &DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant1) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant1 { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -26328,16 +24062,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant1 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype2ParseVariant1ValueVariant1 { @@ -26393,11 +24117,6 @@ pub enum DataVariant3FormatVariant0Subtype2Type { #[serde(rename = "tsv")] Tsv, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype2Type { - fn from(value: &DataVariant3FormatVariant0Subtype2Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype2Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26422,14 +24141,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype2Type { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DataVariant3FormatVariant0Subtype2Type { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype2Type { type Error = self::error::ConversionError; fn try_from( @@ -26511,13 +24222,6 @@ pub struct DataVariant3FormatVariant0Subtype3 { #[serde(rename = "type")] pub type_: DataVariant3FormatVariant0Subtype3Type, } -impl ::std::convert::From<&DataVariant3FormatVariant0Subtype3> - for DataVariant3FormatVariant0Subtype3 -{ - fn from(value: &DataVariant3FormatVariant0Subtype3) -> Self { - value.clone() - } -} #[doc = "`DataVariant3FormatVariant0Subtype3Parse`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -26568,11 +24272,6 @@ pub enum DataVariant3FormatVariant0Subtype3Parse { ), Variant2(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype3Parse { - fn from(value: &DataVariant3FormatVariant0Subtype3Parse) -> Self { - value.clone() - } -} impl ::std::convert::From for DataVariant3FormatVariant0Subtype3Parse { @@ -26630,11 +24329,6 @@ pub enum DataVariant3FormatVariant0Subtype3ParseVariant0 { #[serde(rename = "auto")] Auto, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype3ParseVariant0 { - fn from(value: &DataVariant3FormatVariant0Subtype3ParseVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype3ParseVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26657,16 +24351,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype3ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype3ParseVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype3ParseVariant0 { @@ -26706,11 +24390,6 @@ pub enum DataVariant3FormatVariant0Subtype3ParseVariant1Value { Variant0(DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant0), Variant1(DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant1), } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype3ParseVariant1Value { - fn from(value: &DataVariant3FormatVariant0Subtype3ParseVariant1Value) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant3FormatVariant0Subtype3ParseVariant1Value { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -26729,16 +24408,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype3ParseVa value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype3ParseVariant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype3ParseVariant1Value { @@ -26808,11 +24477,6 @@ pub enum DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant0 { #[serde(rename = "string")] String, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant0 { - fn from(value: &DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant0) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -26843,16 +24507,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant0 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant0 { @@ -26890,13 +24544,6 @@ impl ::std::convert::From - for DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant1 -{ - fn from(value: &DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant1) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant1 { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -26916,16 +24563,6 @@ impl ::std::convert::TryFrom<&str> value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant1 -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype3ParseVariant1ValueVariant1 { @@ -26978,11 +24615,6 @@ pub enum DataVariant3FormatVariant0Subtype3Type { #[serde(rename = "dsv")] Dsv, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype3Type { - fn from(value: &DataVariant3FormatVariant0Subtype3Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype3Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -27005,14 +24637,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype3Type { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DataVariant3FormatVariant0Subtype3Type { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype3Type { type Error = self::error::ConversionError; fn try_from( @@ -27101,11 +24725,6 @@ pub enum DataVariant3FormatVariant0Subtype4 { type_: DataVariant3FormatVariant0Subtype4Variant1Type, }, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype4 { - fn from(value: &DataVariant3FormatVariant0Subtype4) -> Self { - value.clone() - } -} #[doc = "`DataVariant3FormatVariant0Subtype4Variant0Type`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -27134,11 +24753,6 @@ pub enum DataVariant3FormatVariant0Subtype4Variant0Type { #[serde(rename = "topojson")] Topojson, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype4Variant0Type { - fn from(value: &DataVariant3FormatVariant0Subtype4Variant0Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype4Variant0Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -27161,16 +24775,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype4Variant value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype4Variant0Type -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype4Variant0Type { @@ -27213,11 +24817,6 @@ pub enum DataVariant3FormatVariant0Subtype4Variant1Filter { #[serde(rename = "exterior")] Exterior, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype4Variant1Filter { - fn from(value: &DataVariant3FormatVariant0Subtype4Variant1Filter) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype4Variant1Filter { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -27242,16 +24841,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype4Variant value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype4Variant1Filter -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype4Variant1Filter { @@ -27290,11 +24879,6 @@ pub enum DataVariant3FormatVariant0Subtype4Variant1Type { #[serde(rename = "topojson")] Topojson, } -impl ::std::convert::From<&Self> for DataVariant3FormatVariant0Subtype4Variant1Type { - fn from(value: &DataVariant3FormatVariant0Subtype4Variant1Type) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DataVariant3FormatVariant0Subtype4Variant1Type { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -27317,16 +24901,6 @@ impl ::std::convert::TryFrom<&str> for DataVariant3FormatVariant0Subtype4Variant value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DataVariant3FormatVariant0Subtype4Variant1Type -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DataVariant3FormatVariant0Subtype4Variant1Type { @@ -27358,11 +24932,6 @@ pub enum DataVariant3Values { Variant0(::serde_json::Value), Variant1(SignalRef), } -impl ::std::convert::From<&Self> for DataVariant3Values { - fn from(value: &DataVariant3Values) -> Self { - value.clone() - } -} impl ::std::convert::From<::serde_json::Value> for DataVariant3Values { fn from(value: ::serde_json::Value) -> Self { Self::Variant0(value) @@ -27703,11 +25272,6 @@ pub struct DensityTransform { #[serde(rename = "type")] pub type_: DensityTransformType, } -impl ::std::convert::From<&DensityTransform> for DensityTransform { - fn from(value: &DensityTransform) -> Self { - value.clone() - } -} #[doc = "`DensityTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -27745,11 +25309,6 @@ pub enum DensityTransformAs { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformAs { - fn from(value: &DensityTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for DensityTransformAs { fn default() -> Self { DensityTransformAs::Array(vec![ @@ -27791,11 +25350,6 @@ pub enum DensityTransformAsArrayItem { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformAsArrayItem { - fn from(value: &DensityTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for DensityTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -28043,11 +25597,6 @@ pub enum DensityTransformDistribution { weights: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for DensityTransformDistribution { - fn from(value: &DensityTransformDistribution) -> Self { - value.clone() - } -} #[doc = "`DensityTransformDistributionBandwidth`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -28071,11 +25620,6 @@ pub enum DensityTransformDistributionBandwidth { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformDistributionBandwidth { - fn from(value: &DensityTransformDistributionBandwidth) -> Self { - value.clone() - } -} impl ::std::convert::From for DensityTransformDistributionBandwidth { fn from(value: f64) -> Self { Self::Number(value) @@ -28110,11 +25654,6 @@ pub enum DensityTransformDistributionDistributions { Array(::std::vec::Vec<::serde_json::Value>), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformDistributionDistributions { - fn from(value: &DensityTransformDistributionDistributions) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec<::serde_json::Value>> for DensityTransformDistributionDistributions { @@ -28154,11 +25693,6 @@ pub enum DensityTransformDistributionField { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for DensityTransformDistributionField { - fn from(value: &DensityTransformDistributionField) -> Self { - value.clone() - } -} impl ::std::convert::From for DensityTransformDistributionField { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -28198,11 +25732,6 @@ pub enum DensityTransformDistributionMax { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformDistributionMax { - fn from(value: &DensityTransformDistributionMax) -> Self { - value.clone() - } -} impl ::std::default::Default for DensityTransformDistributionMax { fn default() -> Self { DensityTransformDistributionMax::Number(1_f64) @@ -28241,11 +25770,6 @@ pub enum DensityTransformDistributionMean { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformDistributionMean { - fn from(value: &DensityTransformDistributionMean) -> Self { - value.clone() - } -} impl ::std::convert::From for DensityTransformDistributionMean { fn from(value: f64) -> Self { Self::Number(value) @@ -28279,11 +25803,6 @@ pub enum DensityTransformDistributionMin { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformDistributionMin { - fn from(value: &DensityTransformDistributionMin) -> Self { - value.clone() - } -} impl ::std::convert::From for DensityTransformDistributionMin { fn from(value: f64) -> Self { Self::Number(value) @@ -28318,11 +25837,6 @@ pub enum DensityTransformDistributionStdev { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformDistributionStdev { - fn from(value: &DensityTransformDistributionStdev) -> Self { - value.clone() - } -} impl ::std::default::Default for DensityTransformDistributionStdev { fn default() -> Self { DensityTransformDistributionStdev::Number(1_f64) @@ -28371,11 +25885,6 @@ pub enum DensityTransformDistributionWeights { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformDistributionWeights { - fn from(value: &DensityTransformDistributionWeights) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for DensityTransformDistributionWeights { @@ -28411,11 +25920,6 @@ pub enum DensityTransformDistributionWeightsArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformDistributionWeightsArrayItem { - fn from(value: &DensityTransformDistributionWeightsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for DensityTransformDistributionWeightsArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -28461,11 +25965,6 @@ pub enum DensityTransformExtent { Array([DensityTransformExtentArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformExtent { - fn from(value: &DensityTransformExtent) -> Self { - value.clone() - } -} impl ::std::convert::From<[DensityTransformExtentArrayItem; 2usize]> for DensityTransformExtent { fn from(value: [DensityTransformExtentArrayItem; 2usize]) -> Self { Self::Array(value) @@ -28499,11 +25998,6 @@ pub enum DensityTransformExtentArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformExtentArrayItem { - fn from(value: &DensityTransformExtentArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for DensityTransformExtentArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -28538,11 +26032,6 @@ pub enum DensityTransformMaxsteps { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformMaxsteps { - fn from(value: &DensityTransformMaxsteps) -> Self { - value.clone() - } -} impl ::std::default::Default for DensityTransformMaxsteps { fn default() -> Self { DensityTransformMaxsteps::Number(200_f64) @@ -28582,11 +26071,6 @@ pub enum DensityTransformMethod { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformMethod { - fn from(value: &DensityTransformMethod) -> Self { - value.clone() - } -} impl ::std::default::Default for DensityTransformMethod { fn default() -> Self { DensityTransformMethod::String("pdf".to_string()) @@ -28621,11 +26105,6 @@ pub enum DensityTransformMinsteps { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformMinsteps { - fn from(value: &DensityTransformMinsteps) -> Self { - value.clone() - } -} impl ::std::default::Default for DensityTransformMinsteps { fn default() -> Self { DensityTransformMinsteps::Number(25_f64) @@ -28664,11 +26143,6 @@ pub enum DensityTransformSteps { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DensityTransformSteps { - fn from(value: &DensityTransformSteps) -> Self { - value.clone() - } -} impl ::std::convert::From for DensityTransformSteps { fn from(value: f64) -> Self { Self::Number(value) @@ -28707,11 +26181,6 @@ pub enum DensityTransformType { #[serde(rename = "density")] Density, } -impl ::std::convert::From<&Self> for DensityTransformType { - fn from(value: &DensityTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DensityTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -28734,14 +26203,6 @@ impl ::std::convert::TryFrom<&str> for DensityTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DensityTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DensityTransformType { type Error = self::error::ConversionError; fn try_from( @@ -28939,11 +26400,6 @@ pub enum DirectionValue { Variant0(::std::vec::Vec), Variant1(DirectionValueVariant1), } -impl ::std::convert::From<&Self> for DirectionValue { - fn from(value: &DirectionValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for DirectionValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -29061,11 +26517,6 @@ pub enum DirectionValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for DirectionValueVariant0Item { - fn from(value: &DirectionValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for DirectionValueVariant0Item { fn from(value: DirectionValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -29211,11 +26662,6 @@ pub enum DirectionValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for DirectionValueVariant0ItemVariant0 { - fn from(value: &DirectionValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`DirectionValueVariant0ItemVariant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29247,11 +26693,6 @@ pub enum DirectionValueVariant0ItemVariant0Variant1Value { #[serde(rename = "vertical")] Vertical, } -impl ::std::convert::From<&Self> for DirectionValueVariant0ItemVariant0Variant1Value { - fn from(value: &DirectionValueVariant0ItemVariant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DirectionValueVariant0ItemVariant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -29276,16 +26717,6 @@ impl ::std::convert::TryFrom<&str> for DirectionValueVariant0ItemVariant0Variant value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DirectionValueVariant0ItemVariant0Variant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DirectionValueVariant0ItemVariant0Variant1Value { @@ -29319,11 +26750,6 @@ pub enum DirectionValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for DirectionValueVariant0ItemVariant0Variant3Range { - fn from(value: &DirectionValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DirectionValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -29342,16 +26768,6 @@ impl ::std::convert::TryFrom<&str> for DirectionValueVariant0ItemVariant0Variant value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DirectionValueVariant0ItemVariant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DirectionValueVariant0ItemVariant0Variant3Range { @@ -29492,11 +26908,6 @@ impl ::std::convert::From for DirectionValueVariant0ItemVariant0Variant3Ra )] #[serde(deny_unknown_fields)] pub enum DirectionValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for DirectionValueVariant0ItemVariant1 { - fn from(value: &DirectionValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`DirectionValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29609,11 +27020,6 @@ impl ::std::convert::From<&Self> for DirectionValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum DirectionValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for DirectionValueVariant0ItemVariant2 { - fn from(value: &DirectionValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`DirectionValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29710,11 +27116,6 @@ pub enum DirectionValueVariant1 { Variant2(DirectionValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for DirectionValueVariant1 { - fn from(value: &DirectionValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for DirectionValueVariant1 { fn from(value: DirectionValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -29849,11 +27250,6 @@ pub enum DirectionValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for DirectionValueVariant1Variant0 { - fn from(value: &DirectionValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`DirectionValueVariant1Variant0Variant1Value`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -29885,11 +27281,6 @@ pub enum DirectionValueVariant1Variant0Variant1Value { #[serde(rename = "vertical")] Vertical, } -impl ::std::convert::From<&Self> for DirectionValueVariant1Variant0Variant1Value { - fn from(value: &DirectionValueVariant1Variant0Variant1Value) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DirectionValueVariant1Variant0Variant1Value { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -29914,16 +27305,6 @@ impl ::std::convert::TryFrom<&str> for DirectionValueVariant1Variant0Variant1Val value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DirectionValueVariant1Variant0Variant1Value -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DirectionValueVariant1Variant0Variant1Value { @@ -29957,11 +27338,6 @@ pub enum DirectionValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for DirectionValueVariant1Variant0Variant3Range { - fn from(value: &DirectionValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for DirectionValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -29980,16 +27356,6 @@ impl ::std::convert::TryFrom<&str> for DirectionValueVariant1Variant0Variant3Ran value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for DirectionValueVariant1Variant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DirectionValueVariant1Variant0Variant3Range { @@ -30127,11 +27493,6 @@ impl ::std::convert::From for DirectionValueVariant1Variant0Variant3Range )] #[serde(deny_unknown_fields)] pub enum DirectionValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for DirectionValueVariant1Variant1 { - fn from(value: &DirectionValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`DirectionValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -30241,11 +27602,6 @@ impl ::std::convert::From<&Self> for DirectionValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum DirectionValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for DirectionValueVariant1Variant2 { - fn from(value: &DirectionValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`DotbinTransform`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -30355,11 +27711,6 @@ pub struct DotbinTransform { #[serde(rename = "type")] pub type_: DotbinTransformType, } -impl ::std::convert::From<&DotbinTransform> for DotbinTransform { - fn from(value: &DotbinTransform) -> Self { - value.clone() - } -} #[doc = "`DotbinTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -30384,11 +27735,6 @@ pub enum DotbinTransformAs { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DotbinTransformAs { - fn from(value: &DotbinTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for DotbinTransformAs { fn default() -> Self { DotbinTransformAs::String("bin".to_string()) @@ -30426,11 +27772,6 @@ pub enum DotbinTransformField { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for DotbinTransformField { - fn from(value: &DotbinTransformField) -> Self { - value.clone() - } -} impl ::std::convert::From for DotbinTransformField { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -30482,11 +27823,6 @@ pub enum DotbinTransformGroupby { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DotbinTransformGroupby { - fn from(value: &DotbinTransformGroupby) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for DotbinTransformGroupby { @@ -30526,11 +27862,6 @@ pub enum DotbinTransformGroupbyArrayItem { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for DotbinTransformGroupbyArrayItem { - fn from(value: &DotbinTransformGroupbyArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for DotbinTransformGroupbyArrayItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -30569,11 +27900,6 @@ pub enum DotbinTransformSmooth { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DotbinTransformSmooth { - fn from(value: &DotbinTransformSmooth) -> Self { - value.clone() - } -} impl ::std::convert::From for DotbinTransformSmooth { fn from(value: bool) -> Self { Self::Boolean(value) @@ -30607,11 +27933,6 @@ pub enum DotbinTransformStep { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for DotbinTransformStep { - fn from(value: &DotbinTransformStep) -> Self { - value.clone() - } -} impl ::std::convert::From for DotbinTransformStep { fn from(value: f64) -> Self { Self::Number(value) @@ -30650,11 +27971,6 @@ pub enum DotbinTransformType { #[serde(rename = "dotbin")] Dotbin, } -impl ::std::convert::From<&Self> for DotbinTransformType { - fn from(value: &DotbinTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for DotbinTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -30677,14 +27993,6 @@ impl ::std::convert::TryFrom<&str> for DotbinTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for DotbinTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for DotbinTransformType { type Error = self::error::ConversionError; fn try_from( @@ -30727,11 +28035,6 @@ impl ::std::convert::From for ::std::string::String { value.0 } } -impl ::std::convert::From<&Element> for Element { - fn from(value: &Element) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::string::String> for Element { fn from(value: ::std::string::String) -> Self { Self(value) @@ -30778,11 +28081,6 @@ impl ::std::convert::From for ::std::collections::HashMap for Encode { - fn from(value: &Encode) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::collections::HashMap> for Encode { fn from(value: ::std::collections::HashMap) -> Self { Self(value) @@ -31265,11 +28563,6 @@ pub struct EncodeEntry { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub zindex: ::std::option::Option, } -impl ::std::convert::From<&EncodeEntry> for EncodeEntry { - fn from(value: &EncodeEntry) -> Self { - value.clone() - } -} impl ::std::default::Default for EncodeEntry { fn default() -> Self { Self { @@ -31370,11 +28663,6 @@ impl ::std::convert::From for ::std::string::String { value.0 } } -impl ::std::convert::From<&EncodeKey> for EncodeKey { - fn from(value: &EncodeKey) -> Self { - value.clone() - } -} impl ::std::str::FromStr for EncodeKey { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -31392,14 +28680,6 @@ impl ::std::convert::TryFrom<&str> for EncodeKey { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for EncodeKey { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for EncodeKey { type Error = self::error::ConversionError; fn try_from( @@ -31515,11 +28795,6 @@ pub struct Everything { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub width: ::std::option::Option, } -impl ::std::convert::From<&Everything> for Everything { - fn from(value: &Everything) -> Self { - value.clone() - } -} impl ::std::default::Default for Everything { fn default() -> Self { Self { @@ -31569,11 +28844,6 @@ pub enum EverythingMarksItem { Group(MarkGroup), Visual(MarkVisual), } -impl ::std::convert::From<&Self> for EverythingMarksItem { - fn from(value: &EverythingMarksItem) -> Self { - value.clone() - } -} impl ::std::convert::From for EverythingMarksItem { fn from(value: MarkGroup) -> Self { Self::Group(value) @@ -31615,11 +28885,6 @@ pub struct Expr { pub as_: ::std::option::Option<::std::string::String>, pub expr: ::std::string::String, } -impl ::std::convert::From<&Expr> for Expr { - fn from(value: &Expr) -> Self { - value.clone() - } -} #[doc = "`ExprString`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -31654,11 +28919,6 @@ impl ::std::convert::From for ::std::string::String { value.0 } } -impl ::std::convert::From<&ExprString> for ExprString { - fn from(value: &ExprString) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::string::String> for ExprString { fn from(value: ::std::string::String) -> Self { Self(value) @@ -31722,11 +28982,6 @@ pub struct ExtentTransform { #[serde(rename = "type")] pub type_: ExtentTransformType, } -impl ::std::convert::From<&ExtentTransform> for ExtentTransform { - fn from(value: &ExtentTransform) -> Self { - value.clone() - } -} #[doc = "`ExtentTransformField`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -31754,11 +29009,6 @@ pub enum ExtentTransformField { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for ExtentTransformField { - fn from(value: &ExtentTransformField) -> Self { - value.clone() - } -} impl ::std::convert::From for ExtentTransformField { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -31802,11 +29052,6 @@ pub enum ExtentTransformType { #[serde(rename = "extent")] Extent, } -impl ::std::convert::From<&Self> for ExtentTransformType { - fn from(value: &ExtentTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ExtentTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -31829,14 +29074,6 @@ impl ::std::convert::TryFrom<&str> for ExtentTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ExtentTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ExtentTransformType { type Error = self::error::ConversionError; fn try_from( @@ -31952,11 +29189,6 @@ pub struct Facet { pub data: ::std::option::Option<::std::string::String>, pub facet: FacetFacet, } -impl ::std::convert::From<&Facet> for Facet { - fn from(value: &Facet) -> Self { - value.clone() - } -} #[doc = "`FacetFacet`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -32061,11 +29293,6 @@ pub enum FacetFacet { name: ::std::string::String, }, } -impl ::std::convert::From<&Self> for FacetFacet { - fn from(value: &FacetFacet) -> Self { - value.clone() - } -} #[doc = "`FacetFacetVariant1Aggregate`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -32116,11 +29343,6 @@ pub struct FacetFacetVariant1Aggregate { #[serde(default, skip_serializing_if = "::std::vec::Vec::is_empty")] pub ops: ::std::vec::Vec<::std::string::String>, } -impl ::std::convert::From<&FacetFacetVariant1Aggregate> for FacetFacetVariant1Aggregate { - fn from(value: &FacetFacetVariant1Aggregate) -> Self { - value.clone() - } -} impl ::std::default::Default for FacetFacetVariant1Aggregate { fn default() -> Self { Self { @@ -32157,11 +29379,6 @@ pub enum FacetFacetVariant1Groupby { String(::std::string::String), Array(::std::vec::Vec<::std::string::String>), } -impl ::std::convert::From<&Self> for FacetFacetVariant1Groupby { - fn from(value: &FacetFacetVariant1Groupby) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec<::std::string::String>> for FacetFacetVariant1Groupby { fn from(value: ::std::vec::Vec<::std::string::String>) -> Self { Self::Array(value) @@ -32245,11 +29462,6 @@ pub enum Field { parent: ::std::boxed::Box, }, } -impl ::std::convert::From<&Self> for Field { - fn from(value: &Field) -> Self { - value.clone() - } -} impl ::std::convert::From for Field { fn from(value: SignalRef) -> Self { Self::Variant1(value) @@ -32292,11 +29504,6 @@ pub struct FilterTransform { #[serde(rename = "type")] pub type_: FilterTransformType, } -impl ::std::convert::From<&FilterTransform> for FilterTransform { - fn from(value: &FilterTransform) -> Self { - value.clone() - } -} #[doc = "`FilterTransformType`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -32325,11 +29532,6 @@ pub enum FilterTransformType { #[serde(rename = "filter")] Filter, } -impl ::std::convert::From<&Self> for FilterTransformType { - fn from(value: &FilterTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for FilterTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32352,14 +29554,6 @@ impl ::std::convert::TryFrom<&str> for FilterTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for FilterTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for FilterTransformType { type Error = self::error::ConversionError; fn try_from( @@ -32463,11 +29657,6 @@ pub struct FlattenTransform { #[serde(rename = "type")] pub type_: FlattenTransformType, } -impl ::std::convert::From<&FlattenTransform> for FlattenTransform { - fn from(value: &FlattenTransform) -> Self { - value.clone() - } -} #[doc = "`FlattenTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -32501,11 +29690,6 @@ pub enum FlattenTransformAs { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FlattenTransformAs { - fn from(value: &FlattenTransformAs) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for FlattenTransformAs { fn from(value: ::std::vec::Vec) -> Self { Self::Array(value) @@ -32539,11 +29723,6 @@ pub enum FlattenTransformAsArrayItem { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FlattenTransformAsArrayItem { - fn from(value: &FlattenTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for FlattenTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -32585,11 +29764,6 @@ pub enum FlattenTransformFields { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FlattenTransformFields { - fn from(value: &FlattenTransformFields) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for FlattenTransformFields { @@ -32629,11 +29803,6 @@ pub enum FlattenTransformFieldsArrayItem { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for FlattenTransformFieldsArrayItem { - fn from(value: &FlattenTransformFieldsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for FlattenTransformFieldsArrayItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -32672,11 +29841,6 @@ pub enum FlattenTransformIndex { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FlattenTransformIndex { - fn from(value: &FlattenTransformIndex) -> Self { - value.clone() - } -} impl ::std::convert::From for FlattenTransformIndex { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -32710,11 +29874,6 @@ pub enum FlattenTransformType { #[serde(rename = "flatten")] Flatten, } -impl ::std::convert::From<&Self> for FlattenTransformType { - fn from(value: &FlattenTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for FlattenTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -32737,14 +29896,6 @@ impl ::std::convert::TryFrom<&str> for FlattenTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for FlattenTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for FlattenTransformType { type Error = self::error::ConversionError; fn try_from( @@ -32838,11 +29989,6 @@ pub struct FoldTransform { #[serde(rename = "type")] pub type_: FoldTransformType, } -impl ::std::convert::From<&FoldTransform> for FoldTransform { - fn from(value: &FoldTransform) -> Self { - value.clone() - } -} #[doc = "`FoldTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -32882,11 +30028,6 @@ pub enum FoldTransformAs { Array([FoldTransformAsArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FoldTransformAs { - fn from(value: &FoldTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for FoldTransformAs { fn default() -> Self { FoldTransformAs::Array([ @@ -32928,11 +30069,6 @@ pub enum FoldTransformAsArrayItem { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FoldTransformAsArrayItem { - fn from(value: &FoldTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for FoldTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -32974,11 +30110,6 @@ pub enum FoldTransformFields { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FoldTransformFields { - fn from(value: &FoldTransformFields) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for FoldTransformFields { fn from(value: ::std::vec::Vec) -> Self { Self::Array(value) @@ -33016,11 +30147,6 @@ pub enum FoldTransformFieldsArrayItem { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for FoldTransformFieldsArrayItem { - fn from(value: &FoldTransformFieldsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for FoldTransformFieldsArrayItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -33064,11 +30190,6 @@ pub enum FoldTransformType { #[serde(rename = "fold")] Fold, } -impl ::std::convert::From<&Self> for FoldTransformType { - fn from(value: &FoldTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for FoldTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -33091,14 +30212,6 @@ impl ::std::convert::TryFrom<&str> for FoldTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for FoldTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for FoldTransformType { type Error = self::error::ConversionError; fn try_from( @@ -33338,11 +30451,6 @@ pub enum FontWeightValue { Variant0(::std::vec::Vec), Variant1(FontWeightValueVariant1), } -impl ::std::convert::From<&Self> for FontWeightValue { - fn from(value: &FontWeightValue) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for FontWeightValue { fn from(value: ::std::vec::Vec) -> Self { Self::Variant0(value) @@ -33481,11 +30589,6 @@ pub enum FontWeightValueVariant0Item { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for FontWeightValueVariant0Item { - fn from(value: &FontWeightValueVariant0Item) -> Self { - value.clone() - } -} impl ::std::convert::From for FontWeightValueVariant0Item { fn from(value: FontWeightValueVariant0ItemVariant0) -> Self { Self::Variant0(value) @@ -33652,11 +30755,6 @@ pub enum FontWeightValueVariant0ItemVariant0 { test: ::std::option::Option<::std::string::String>, }, } -impl ::std::convert::From<&Self> for FontWeightValueVariant0ItemVariant0 { - fn from(value: &FontWeightValueVariant0ItemVariant0) -> Self { - value.clone() - } -} #[doc = "`FontWeightValueVariant0ItemVariant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -33680,11 +30778,6 @@ pub enum FontWeightValueVariant0ItemVariant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for FontWeightValueVariant0ItemVariant0Variant3Range { - fn from(value: &FontWeightValueVariant0ItemVariant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for FontWeightValueVariant0ItemVariant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -33703,16 +30796,6 @@ impl ::std::convert::TryFrom<&str> for FontWeightValueVariant0ItemVariant0Varian value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for FontWeightValueVariant0ItemVariant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for FontWeightValueVariant0ItemVariant0Variant3Range { @@ -33874,11 +30957,6 @@ impl ::std::convert::From for FontWeightValueVariant0ItemVariant0Variant3R )] #[serde(deny_unknown_fields)] pub enum FontWeightValueVariant0ItemVariant1 {} -impl ::std::convert::From<&Self> for FontWeightValueVariant0ItemVariant1 { - fn from(value: &FontWeightValueVariant0ItemVariant1) -> Self { - value.clone() - } -} #[doc = "`FontWeightValueVariant0ItemVariant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -34012,11 +31090,6 @@ impl ::std::convert::From<&Self> for FontWeightValueVariant0ItemVariant1 { )] #[serde(deny_unknown_fields)] pub enum FontWeightValueVariant0ItemVariant2 {} -impl ::std::convert::From<&Self> for FontWeightValueVariant0ItemVariant2 { - fn from(value: &FontWeightValueVariant0ItemVariant2) -> Self { - value.clone() - } -} #[doc = "`FontWeightValueVariant1`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -34134,11 +31207,6 @@ pub enum FontWeightValueVariant1 { Variant2(FontWeightValueVariant1Variant2), Variant3 { offset: ::serde_json::Value }, } -impl ::std::convert::From<&Self> for FontWeightValueVariant1 { - fn from(value: &FontWeightValueVariant1) -> Self { - value.clone() - } -} impl ::std::convert::From for FontWeightValueVariant1 { fn from(value: FontWeightValueVariant1Variant0) -> Self { Self::Variant0(value) @@ -34294,11 +31362,6 @@ pub enum FontWeightValueVariant1Variant0 { scale: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for FontWeightValueVariant1Variant0 { - fn from(value: &FontWeightValueVariant1Variant0) -> Self { - value.clone() - } -} #[doc = "`FontWeightValueVariant1Variant0Variant3Range`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -34322,11 +31385,6 @@ pub enum FontWeightValueVariant1Variant0Variant3Range { Number(f64), Boolean(bool), } -impl ::std::convert::From<&Self> for FontWeightValueVariant1Variant0Variant3Range { - fn from(value: &FontWeightValueVariant1Variant0Variant3Range) -> Self { - value.clone() - } -} impl ::std::str::FromStr for FontWeightValueVariant1Variant0Variant3Range { type Err = self::error::ConversionError; fn from_str(value: &str) -> ::std::result::Result { @@ -34345,16 +31403,6 @@ impl ::std::convert::TryFrom<&str> for FontWeightValueVariant1Variant0Variant3Ra value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> - for FontWeightValueVariant1Variant0Variant3Range -{ - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for FontWeightValueVariant1Variant0Variant3Range { @@ -34513,11 +31561,6 @@ impl ::std::convert::From for FontWeightValueVariant1Variant0Variant3Range )] #[serde(deny_unknown_fields)] pub enum FontWeightValueVariant1Variant1 {} -impl ::std::convert::From<&Self> for FontWeightValueVariant1Variant1 { - fn from(value: &FontWeightValueVariant1Variant1) -> Self { - value.clone() - } -} #[doc = "`FontWeightValueVariant1Variant2`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -34648,11 +31691,6 @@ impl ::std::convert::From<&Self> for FontWeightValueVariant1Variant1 { )] #[serde(deny_unknown_fields)] pub enum FontWeightValueVariant1Variant2 {} -impl ::std::convert::From<&Self> for FontWeightValueVariant1Variant2 { - fn from(value: &FontWeightValueVariant1Variant2) -> Self { - value.clone() - } -} #[doc = "`ForceTransform`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -35114,11 +32152,6 @@ pub struct ForceTransform { )] pub velocity_decay: ForceTransformVelocityDecay, } -impl ::std::convert::From<&ForceTransform> for ForceTransform { - fn from(value: &ForceTransform) -> Self { - value.clone() - } -} #[doc = "`ForceTransformAlpha`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -35143,11 +32176,6 @@ pub enum ForceTransformAlpha { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformAlpha { - fn from(value: &ForceTransformAlpha) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformAlpha { fn default() -> Self { ForceTransformAlpha::Number(1_f64) @@ -35187,11 +32215,6 @@ pub enum ForceTransformAlphaMin { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformAlphaMin { - fn from(value: &ForceTransformAlphaMin) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformAlphaMin { fn default() -> Self { ForceTransformAlphaMin::Number(0.001_f64) @@ -35230,11 +32253,6 @@ pub enum ForceTransformAlphaTarget { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformAlphaTarget { - fn from(value: &ForceTransformAlphaTarget) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformAlphaTarget { fn from(value: f64) -> Self { Self::Number(value) @@ -35284,11 +32302,6 @@ pub enum ForceTransformAs { Array(::std::vec::Vec), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformAs { - fn from(value: &ForceTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformAs { fn default() -> Self { ForceTransformAs::Array(vec![ @@ -35332,11 +32345,6 @@ pub enum ForceTransformAsArrayItem { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformAsArrayItem { - fn from(value: &ForceTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -35711,11 +32719,6 @@ pub enum ForceTransformForcesItem { y: ::std::option::Option, }, } -impl ::std::convert::From<&Self> for ForceTransformForcesItem { - fn from(value: &ForceTransformForcesItem) -> Self { - value.clone() - } -} #[doc = "`ForceTransformForcesItemDistance`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -35748,11 +32751,6 @@ pub enum ForceTransformForcesItemDistance { Expr(Expr), ParamField(ParamField), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemDistance { - fn from(value: &ForceTransformForcesItemDistance) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformForcesItemDistance { fn default() -> Self { ForceTransformForcesItemDistance::Number(30_f64) @@ -35801,11 +32799,6 @@ pub enum ForceTransformForcesItemDistanceMax { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemDistanceMax { - fn from(value: &ForceTransformForcesItemDistanceMax) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformForcesItemDistanceMax { fn from(value: f64) -> Self { Self::Number(value) @@ -35840,11 +32833,6 @@ pub enum ForceTransformForcesItemDistanceMin { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemDistanceMin { - fn from(value: &ForceTransformForcesItemDistanceMin) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformForcesItemDistanceMin { fn default() -> Self { ForceTransformForcesItemDistanceMin::Number(1_f64) @@ -35887,11 +32875,6 @@ pub enum ForceTransformForcesItemId { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemId { - fn from(value: &ForceTransformForcesItemId) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformForcesItemId { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -35931,11 +32914,6 @@ pub enum ForceTransformForcesItemIterations { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemIterations { - fn from(value: &ForceTransformForcesItemIterations) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformForcesItemIterations { fn default() -> Self { ForceTransformForcesItemIterations::Number(1_f64) @@ -35982,11 +32960,6 @@ pub enum ForceTransformForcesItemRadius { Expr(Expr), ParamField(ParamField), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemRadius { - fn from(value: &ForceTransformForcesItemRadius) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformForcesItemRadius { fn from(value: f64) -> Self { Self::Number(value) @@ -36031,11 +33004,6 @@ pub enum ForceTransformForcesItemStrength { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemStrength { - fn from(value: &ForceTransformForcesItemStrength) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformForcesItemStrength { fn default() -> Self { ForceTransformForcesItemStrength::Number(0.7_f64) @@ -36075,11 +33043,6 @@ pub enum ForceTransformForcesItemTheta { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemTheta { - fn from(value: &ForceTransformForcesItemTheta) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformForcesItemTheta { fn default() -> Self { ForceTransformForcesItemTheta::Number(0.9_f64) @@ -36118,11 +33081,6 @@ pub enum ForceTransformForcesItemX { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemX { - fn from(value: &ForceTransformForcesItemX) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformForcesItemX { fn from(value: f64) -> Self { Self::Number(value) @@ -36156,11 +33114,6 @@ pub enum ForceTransformForcesItemY { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformForcesItemY { - fn from(value: &ForceTransformForcesItemY) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformForcesItemY { fn from(value: f64) -> Self { Self::Number(value) @@ -36195,11 +33148,6 @@ pub enum ForceTransformIterations { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformIterations { - fn from(value: &ForceTransformIterations) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformIterations { fn default() -> Self { ForceTransformIterations::Number(300_f64) @@ -36238,11 +33186,6 @@ pub enum ForceTransformRestart { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformRestart { - fn from(value: &ForceTransformRestart) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformRestart { fn from(value: bool) -> Self { Self::Boolean(value) @@ -36276,11 +33219,6 @@ pub enum ForceTransformStatic { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformStatic { - fn from(value: &ForceTransformStatic) -> Self { - value.clone() - } -} impl ::std::convert::From for ForceTransformStatic { fn from(value: bool) -> Self { Self::Boolean(value) @@ -36319,11 +33257,6 @@ pub enum ForceTransformType { #[serde(rename = "force")] Force, } -impl ::std::convert::From<&Self> for ForceTransformType { - fn from(value: &ForceTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for ForceTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36346,14 +33279,6 @@ impl ::std::convert::TryFrom<&str> for ForceTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for ForceTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for ForceTransformType { type Error = self::error::ConversionError; fn try_from( @@ -36386,11 +33311,6 @@ pub enum ForceTransformVelocityDecay { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for ForceTransformVelocityDecay { - fn from(value: &ForceTransformVelocityDecay) -> Self { - value.clone() - } -} impl ::std::default::Default for ForceTransformVelocityDecay { fn default() -> Self { ForceTransformVelocityDecay::Number(0.4_f64) @@ -36468,11 +33388,6 @@ pub struct FormulaTransform { #[serde(rename = "type")] pub type_: FormulaTransformType, } -impl ::std::convert::From<&FormulaTransform> for FormulaTransform { - fn from(value: &FormulaTransform) -> Self { - value.clone() - } -} #[doc = "`FormulaTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -36496,11 +33411,6 @@ pub enum FormulaTransformAs { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FormulaTransformAs { - fn from(value: &FormulaTransformAs) -> Self { - value.clone() - } -} impl ::std::convert::From for FormulaTransformAs { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -36529,11 +33439,6 @@ pub enum FormulaTransformInitonly { Boolean(bool), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for FormulaTransformInitonly { - fn from(value: &FormulaTransformInitonly) -> Self { - value.clone() - } -} impl ::std::convert::From for FormulaTransformInitonly { fn from(value: bool) -> Self { Self::Boolean(value) @@ -36572,11 +33477,6 @@ pub enum FormulaTransformType { #[serde(rename = "formula")] Formula, } -impl ::std::convert::From<&Self> for FormulaTransformType { - fn from(value: &FormulaTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for FormulaTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36599,14 +33499,6 @@ impl ::std::convert::TryFrom<&str> for FormulaTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for FormulaTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for FormulaTransformType { type Error = self::error::ConversionError; fn try_from( @@ -36637,11 +33529,6 @@ pub struct From { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub data: ::std::option::Option<::std::string::String>, } -impl ::std::convert::From<&From> for From { - fn from(value: &From) -> Self { - value.clone() - } -} impl ::std::default::Default for From { fn default() -> Self { Self { @@ -36723,11 +33610,6 @@ pub struct GeojsonTransform { #[serde(rename = "type")] pub type_: GeojsonTransformType, } -impl ::std::convert::From<&GeojsonTransform> for GeojsonTransform { - fn from(value: &GeojsonTransform) -> Self { - value.clone() - } -} #[doc = "`GeojsonTransformFields`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -36766,11 +33648,6 @@ pub enum GeojsonTransformFields { Array([GeojsonTransformFieldsArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GeojsonTransformFields { - fn from(value: &GeojsonTransformFields) -> Self { - value.clone() - } -} impl ::std::convert::From<[GeojsonTransformFieldsArrayItem; 2usize]> for GeojsonTransformFields { fn from(value: [GeojsonTransformFieldsArrayItem; 2usize]) -> Self { Self::Array(value) @@ -36808,11 +33685,6 @@ pub enum GeojsonTransformFieldsArrayItem { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for GeojsonTransformFieldsArrayItem { - fn from(value: &GeojsonTransformFieldsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for GeojsonTransformFieldsArrayItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -36855,11 +33727,6 @@ pub enum GeojsonTransformGeojson { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for GeojsonTransformGeojson { - fn from(value: &GeojsonTransformGeojson) -> Self { - value.clone() - } -} impl ::std::convert::From for GeojsonTransformGeojson { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -36903,11 +33770,6 @@ pub enum GeojsonTransformType { #[serde(rename = "geojson")] Geojson, } -impl ::std::convert::From<&Self> for GeojsonTransformType { - fn from(value: &GeojsonTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for GeojsonTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -36930,14 +33792,6 @@ impl ::std::convert::TryFrom<&str> for GeojsonTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for GeojsonTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for GeojsonTransformType { type Error = self::error::ConversionError; fn try_from( @@ -37033,11 +33887,6 @@ pub struct GeopathTransform { #[serde(rename = "type")] pub type_: GeopathTransformType, } -impl ::std::convert::From<&GeopathTransform> for GeopathTransform { - fn from(value: &GeopathTransform) -> Self { - value.clone() - } -} #[doc = "`GeopathTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -37062,11 +33911,6 @@ pub enum GeopathTransformAs { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GeopathTransformAs { - fn from(value: &GeopathTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for GeopathTransformAs { fn default() -> Self { GeopathTransformAs::String("path".to_string()) @@ -37104,11 +33948,6 @@ pub enum GeopathTransformField { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for GeopathTransformField { - fn from(value: &GeopathTransformField) -> Self { - value.clone() - } -} impl ::std::convert::From for GeopathTransformField { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -37155,11 +33994,6 @@ pub enum GeopathTransformPointRadius { Expr(Expr), ParamField(ParamField), } -impl ::std::convert::From<&Self> for GeopathTransformPointRadius { - fn from(value: &GeopathTransformPointRadius) -> Self { - value.clone() - } -} impl ::std::convert::From for GeopathTransformPointRadius { fn from(value: f64) -> Self { Self::Number(value) @@ -37208,11 +34042,6 @@ pub enum GeopathTransformType { #[serde(rename = "geopath")] Geopath, } -impl ::std::convert::From<&Self> for GeopathTransformType { - fn from(value: &GeopathTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for GeopathTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37235,14 +34064,6 @@ impl ::std::convert::TryFrom<&str> for GeopathTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for GeopathTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for GeopathTransformType { type Error = self::error::ConversionError; fn try_from( @@ -37343,11 +34164,6 @@ pub struct GeopointTransform { #[serde(rename = "type")] pub type_: GeopointTransformType, } -impl ::std::convert::From<&GeopointTransform> for GeopointTransform { - fn from(value: &GeopointTransform) -> Self { - value.clone() - } -} #[doc = "`GeopointTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -37387,11 +34203,6 @@ pub enum GeopointTransformAs { Array([GeopointTransformAsArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GeopointTransformAs { - fn from(value: &GeopointTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for GeopointTransformAs { fn default() -> Self { GeopointTransformAs::Array([ @@ -37433,11 +34244,6 @@ pub enum GeopointTransformAsArrayItem { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GeopointTransformAsArrayItem { - fn from(value: &GeopointTransformAsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for GeopointTransformAsArrayItem { fn from(value: SignalRef) -> Self { Self::SignalRef(value) @@ -37481,11 +34287,6 @@ pub enum GeopointTransformFields { Array([GeopointTransformFieldsArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GeopointTransformFields { - fn from(value: &GeopointTransformFields) -> Self { - value.clone() - } -} impl ::std::convert::From<[GeopointTransformFieldsArrayItem; 2usize]> for GeopointTransformFields { fn from(value: [GeopointTransformFieldsArrayItem; 2usize]) -> Self { Self::Array(value) @@ -37523,11 +34324,6 @@ pub enum GeopointTransformFieldsArrayItem { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for GeopointTransformFieldsArrayItem { - fn from(value: &GeopointTransformFieldsArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for GeopointTransformFieldsArrayItem { fn from(value: ScaleField) -> Self { Self::ScaleField(value) @@ -37571,11 +34367,6 @@ pub enum GeopointTransformType { #[serde(rename = "geopoint")] Geopoint, } -impl ::std::convert::From<&Self> for GeopointTransformType { - fn from(value: &GeopointTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for GeopointTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37598,14 +34389,6 @@ impl ::std::convert::TryFrom<&str> for GeopointTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for GeopointTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for GeopointTransformType { type Error = self::error::ConversionError; fn try_from( @@ -37702,11 +34485,6 @@ pub struct GeoshapeTransform { #[serde(rename = "type")] pub type_: GeoshapeTransformType, } -impl ::std::convert::From<&GeoshapeTransform> for GeoshapeTransform { - fn from(value: &GeoshapeTransform) -> Self { - value.clone() - } -} #[doc = "`GeoshapeTransformAs`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -37731,11 +34509,6 @@ pub enum GeoshapeTransformAs { String(::std::string::String), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GeoshapeTransformAs { - fn from(value: &GeoshapeTransformAs) -> Self { - value.clone() - } -} impl ::std::default::Default for GeoshapeTransformAs { fn default() -> Self { GeoshapeTransformAs::String("shape".to_string()) @@ -37774,11 +34547,6 @@ pub enum GeoshapeTransformField { ParamField(ParamField), Expr(Expr), } -impl ::std::convert::From<&Self> for GeoshapeTransformField { - fn from(value: &GeoshapeTransformField) -> Self { - value.clone() - } -} impl ::std::default::Default for GeoshapeTransformField { fn default() -> Self { GeoshapeTransformField::ScaleField(ScaleField(StringOrSignal::String("datum".to_string()))) @@ -37830,11 +34598,6 @@ pub enum GeoshapeTransformPointRadius { Expr(Expr), ParamField(ParamField), } -impl ::std::convert::From<&Self> for GeoshapeTransformPointRadius { - fn from(value: &GeoshapeTransformPointRadius) -> Self { - value.clone() - } -} impl ::std::convert::From for GeoshapeTransformPointRadius { fn from(value: f64) -> Self { Self::Number(value) @@ -37883,11 +34646,6 @@ pub enum GeoshapeTransformType { #[serde(rename = "geoshape")] Geoshape, } -impl ::std::convert::From<&Self> for GeoshapeTransformType { - fn from(value: &GeoshapeTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for GeoshapeTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -37910,14 +34668,6 @@ impl ::std::convert::TryFrom<&str> for GeoshapeTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for GeoshapeTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for GeoshapeTransformType { type Error = self::error::ConversionError; fn try_from( @@ -37966,11 +34716,6 @@ impl ::std::convert::From for ::std::vec::Vec value.0 } } -impl ::std::convert::From<&GradientStops> for GradientStops { - fn from(value: &GradientStops) -> Self { - value.clone() - } -} impl ::std::convert::From<::std::vec::Vec> for GradientStops { fn from(value: ::std::vec::Vec) -> Self { Self(value) @@ -38005,11 +34750,6 @@ pub struct GradientStopsItem { pub color: ::std::string::String, pub offset: f64, } -impl ::std::convert::From<&GradientStopsItem> for GradientStopsItem { - fn from(value: &GradientStopsItem) -> Self { - value.clone() - } -} #[doc = "`GraticuleTransform`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -38194,11 +34934,6 @@ pub struct GraticuleTransform { #[serde(rename = "type")] pub type_: GraticuleTransformType, } -impl ::std::convert::From<&GraticuleTransform> for GraticuleTransform { - fn from(value: &GraticuleTransform) -> Self { - value.clone() - } -} #[doc = "`GraticuleTransformExtent`"] #[doc = r""] #[doc = r"
JSON schema"] @@ -38225,11 +34960,6 @@ pub enum GraticuleTransformExtent { Array([::serde_json::Value; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformExtent { - fn from(value: &GraticuleTransformExtent) -> Self { - value.clone() - } -} impl ::std::convert::From<[::serde_json::Value; 2usize]> for GraticuleTransformExtent { fn from(value: [::serde_json::Value; 2usize]) -> Self { Self::Array(value) @@ -38266,11 +34996,6 @@ pub enum GraticuleTransformExtentMajor { Array([::serde_json::Value; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformExtentMajor { - fn from(value: &GraticuleTransformExtentMajor) -> Self { - value.clone() - } -} impl ::std::convert::From<[::serde_json::Value; 2usize]> for GraticuleTransformExtentMajor { fn from(value: [::serde_json::Value; 2usize]) -> Self { Self::Array(value) @@ -38307,11 +35032,6 @@ pub enum GraticuleTransformExtentMinor { Array([::serde_json::Value; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformExtentMinor { - fn from(value: &GraticuleTransformExtentMinor) -> Self { - value.clone() - } -} impl ::std::convert::From<[::serde_json::Value; 2usize]> for GraticuleTransformExtentMinor { fn from(value: [::serde_json::Value; 2usize]) -> Self { Self::Array(value) @@ -38346,11 +35066,6 @@ pub enum GraticuleTransformPrecision { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformPrecision { - fn from(value: &GraticuleTransformPrecision) -> Self { - value.clone() - } -} impl ::std::default::Default for GraticuleTransformPrecision { fn default() -> Self { GraticuleTransformPrecision::Number(2.5_f64) @@ -38401,11 +35116,6 @@ pub enum GraticuleTransformStep { Array([GraticuleTransformStepArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformStep { - fn from(value: &GraticuleTransformStep) -> Self { - value.clone() - } -} impl ::std::convert::From<[GraticuleTransformStepArrayItem; 2usize]> for GraticuleTransformStep { fn from(value: [GraticuleTransformStepArrayItem; 2usize]) -> Self { Self::Array(value) @@ -38439,11 +35149,6 @@ pub enum GraticuleTransformStepArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformStepArrayItem { - fn from(value: &GraticuleTransformStepArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for GraticuleTransformStepArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -38493,11 +35198,6 @@ pub enum GraticuleTransformStepMajor { Array([GraticuleTransformStepMajorArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformStepMajor { - fn from(value: &GraticuleTransformStepMajor) -> Self { - value.clone() - } -} impl ::std::default::Default for GraticuleTransformStepMajor { fn default() -> Self { GraticuleTransformStepMajor::Array([ @@ -38541,11 +35241,6 @@ pub enum GraticuleTransformStepMajorArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformStepMajorArrayItem { - fn from(value: &GraticuleTransformStepMajorArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for GraticuleTransformStepMajorArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -38595,11 +35290,6 @@ pub enum GraticuleTransformStepMinor { Array([GraticuleTransformStepMinorArrayItem; 2usize]), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformStepMinor { - fn from(value: &GraticuleTransformStepMinor) -> Self { - value.clone() - } -} impl ::std::default::Default for GraticuleTransformStepMinor { fn default() -> Self { GraticuleTransformStepMinor::Array([ @@ -38643,11 +35333,6 @@ pub enum GraticuleTransformStepMinorArrayItem { Number(f64), SignalRef(SignalRef), } -impl ::std::convert::From<&Self> for GraticuleTransformStepMinorArrayItem { - fn from(value: &GraticuleTransformStepMinorArrayItem) -> Self { - value.clone() - } -} impl ::std::convert::From for GraticuleTransformStepMinorArrayItem { fn from(value: f64) -> Self { Self::Number(value) @@ -38686,11 +35371,6 @@ pub enum GraticuleTransformType { #[serde(rename = "graticule")] Graticule, } -impl ::std::convert::From<&Self> for GraticuleTransformType { - fn from(value: &GraticuleTransformType) -> Self { - value.clone() - } -} impl ::std::fmt::Display for GraticuleTransformType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { match *self { @@ -38713,14 +35393,6 @@ impl ::std::convert::TryFrom<&str> for GraticuleTransformType { value.parse() } } -impl ::std::convert::TryFrom<&::std::string::String> for GraticuleTransformType { - type Error = self::error::ConversionError; - fn try_from( - value: &::std::string::String, - ) -> ::std::result::Result { - value.parse() - } -} impl ::std::convert::TryFrom<::std::string::String> for GraticuleTransformType { type Error = self::error::ConversionError; fn try_from( @@ -38767,11 +35439,6 @@ pub struct GuideEncode { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub style: ::std::option::Option