diff --git a/cargo-typify/README.md b/cargo-typify/README.md index 28d8e555..7dde1ddf 100644 --- a/cargo-typify/README.md +++ b/cargo-typify/README.md @@ -72,11 +72,6 @@ pub enum IdOrName { Id(uuid::Uuid), Name(Name), } -impl From<&IdOrName> for IdOrName { - fn from(value: &IdOrName) -> Self { - value.clone() - } -} impl std::str::FromStr for IdOrName { type Err = &'static str; fn from_str(value: &str) -> Result { @@ -139,11 +134,6 @@ impl From for String { value.0 } } -impl From<&Name> for Name { - fn from(value: &Name) -> Self { - value.clone() - } -} impl std::str::FromStr for Name { type Err = &'static str; fn from_str(value: &str) -> 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..72ba8a80 100644 --- a/typify-impl/src/type_entry.rs +++ b/typify-impl/src/type_entry.rs @@ -1082,12 +1082,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 +1198,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() - } - } }, ); @@ -1677,12 +1665,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..c74219f7 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 { diff --git a/typify-impl/tests/github.out b/typify-impl/tests/github.out index d19c9ade..3cede02a 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 { @@ -694,11 +674,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 +832,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 { @@ -1312,11 +1282,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 +1354,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 { @@ -1466,11 +1426,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 { @@ -1543,11 +1498,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 { @@ -1620,11 +1570,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 { @@ -1697,11 +1642,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 { @@ -1774,11 +1714,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 { @@ -1851,11 +1786,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 { @@ -1928,11 +1858,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 { @@ -2005,11 +1930,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 { @@ -2082,11 +2002,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 { @@ -2159,11 +2074,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 { @@ -2236,11 +2146,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 { @@ -2313,11 +2218,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 { @@ -2390,11 +2290,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 { @@ -2467,11 +2362,6 @@ pub enum AppPermissionsOrganizationPackages { #[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 { @@ -2544,11 +2434,6 @@ pub enum AppPermissionsOrganizationPlan { #[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 { @@ -2621,11 +2506,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 { @@ -2698,11 +2578,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 { @@ -2775,11 +2650,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 { @@ -2856,11 +2726,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 { @@ -2933,11 +2798,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 { @@ -3010,11 +2870,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 { @@ -3087,11 +2942,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 { @@ -3164,11 +3014,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 { @@ -3241,11 +3086,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 { @@ -3318,11 +3158,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 { @@ -3395,11 +3230,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 { @@ -3472,11 +3302,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 { @@ -3549,11 +3374,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 { @@ -3626,11 +3446,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 { @@ -3703,11 +3518,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 { @@ -3780,11 +3590,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 { @@ -3857,11 +3662,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 { @@ -3934,11 +3734,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 { @@ -4032,11 +3827,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 { @@ -4290,11 +4080,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 +4115,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 { @@ -4416,11 +4196,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 { @@ -4522,11 +4297,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 +4326,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 { @@ -4654,11 +4419,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 +4448,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 { @@ -4822,11 +4577,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 +4606,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 { @@ -4950,13 +4695,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 +4730,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 +4754,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 +4781,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 +4831,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 { @@ -5200,11 +4914,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 { @@ -5286,11 +4995,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 { @@ -5372,11 +5076,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 { @@ -5458,11 +5157,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 { @@ -5544,11 +5238,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 { @@ -5630,11 +5319,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 { @@ -5979,11 +5663,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 +5692,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 { @@ -6322,11 +5996,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 +6124,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 +6171,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 { @@ -6603,11 +6260,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 { @@ -6701,11 +6353,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 { @@ -6812,11 +6459,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 +6489,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 { @@ -6915,11 +6552,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 +6862,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 +6891,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 { @@ -7578,11 +7200,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 +7328,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 +7375,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 { @@ -7859,11 +7464,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 { @@ -7957,11 +7557,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 { @@ -8068,11 +7663,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 +7699,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 { @@ -8181,11 +7766,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 +7858,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 +7889,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 +7990,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 +8025,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 +8060,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 +8359,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 +8388,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 { @@ -9152,11 +8697,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 +8825,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 +8872,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 { @@ -9433,11 +8961,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 { @@ -9535,11 +9058,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 { @@ -9646,13 +9164,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 +9200,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 { @@ -9761,13 +9267,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 +9566,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 +9595,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 { @@ -10404,11 +9893,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 +10015,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 +10062,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 { @@ -10673,11 +10145,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 { @@ -10771,11 +10238,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 { @@ -10882,13 +10344,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 +10374,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 { @@ -10987,13 +10437,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 +10610,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 +10639,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 { @@ -11392,11 +10825,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 +10873,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 { @@ -11539,11 +10962,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 { @@ -11615,11 +11033,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 +11214,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 +11243,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 { @@ -12026,11 +11429,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 +11477,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 { @@ -12173,11 +11566,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 { @@ -12388,11 +11776,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 +11805,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 { @@ -12613,11 +11991,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 +12039,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 { @@ -12760,11 +12128,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 { @@ -13016,13 +12379,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 +12408,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 { @@ -13267,13 +12618,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 +12654,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 { @@ -13411,13 +12750,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 +12789,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 { @@ -13546,11 +12873,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 { @@ -13633,13 +12955,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 +13184,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 +13213,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 { @@ -14139,13 +13444,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 +13481,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 { @@ -14283,13 +13576,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 +13618,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 +13651,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 +13687,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 { @@ -14532,13 +13799,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 +13838,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 { @@ -14661,11 +13916,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 { @@ -14748,13 +13998,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 +14222,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 +14251,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 { @@ -15244,11 +14477,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 +14527,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 +14569,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 +14602,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 +14641,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 { @@ -15553,13 +14755,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 +14794,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 { @@ -15681,11 +14871,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 { @@ -15770,13 +14955,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 +14994,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 +15270,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 +15299,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 { @@ -16386,11 +15549,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 +15585,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 { @@ -16525,13 +15678,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 +15720,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 +15753,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 +15789,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 { @@ -16774,11 +15901,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 +15940,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 { @@ -16897,11 +16014,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 { @@ -16984,11 +16096,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 +16320,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 +16349,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 { @@ -17478,11 +16575,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 +16624,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 +16666,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 +16699,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 +16735,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 { @@ -17781,13 +16847,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 +16886,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 { @@ -17914,11 +16968,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 { @@ -18005,13 +17054,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 +17258,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 +17287,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 { @@ -18461,13 +17493,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 +17542,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 +17584,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 +17617,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 +17653,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 { @@ -18746,13 +17745,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 +17784,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 { @@ -18875,11 +17862,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 { @@ -18954,13 +17936,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 +18036,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 +18169,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 +18199,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 { @@ -19387,11 +18347,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 +18375,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 +18431,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 +18486,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 +18558,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 +18587,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 { @@ -19730,13 +18660,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 +18688,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 +18778,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 +18811,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 { @@ -20011,11 +18919,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 +18952,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 { @@ -20183,11 +19081,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 +19110,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 { @@ -20316,11 +19204,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 +19293,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 +19322,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 { @@ -20543,11 +19416,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 +19439,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 +19593,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 +19622,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 { @@ -20919,11 +19772,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 +19786,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 +19819,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 +20034,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 +20063,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 { @@ -21387,13 +20213,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 +20227,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 +20333,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 +20361,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 +20547,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 +20703,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 +20732,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 { @@ -22066,11 +20851,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 +20926,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 +21078,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 +21110,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 { @@ -22461,13 +21224,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 +21259,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 { @@ -22615,11 +21366,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 +21485,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 +21514,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 { @@ -22891,11 +21627,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 +21693,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 +21758,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 +21873,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 +21902,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 { @@ -23315,11 +22022,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 +22137,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 +22166,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 { @@ -23594,11 +22286,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 +22424,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 +22453,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 { @@ -23847,11 +22524,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 +22548,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 +22630,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 +22657,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 +22765,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 +22794,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 { @@ -24259,11 +22904,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 +22969,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 +23001,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 { @@ -24467,11 +23095,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 +23124,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 { @@ -24630,11 +23248,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 +23277,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 { @@ -24752,11 +23360,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 +23392,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 +23416,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 +23483,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 +23607,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 +23636,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 { @@ -25176,11 +23754,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 +23783,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 { @@ -25312,11 +23880,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 +23945,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 +23974,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 { @@ -25515,11 +24066,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 +24095,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 { @@ -25627,11 +24168,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 { @@ -25746,11 +24282,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 +24311,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 { @@ -25852,11 +24378,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 +24532,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 +24561,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 { @@ -26161,11 +24672,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 +24740,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 +24775,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 { @@ -26404,11 +24898,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 +24957,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 +24986,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 { @@ -26625,11 +25104,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 +25133,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 { @@ -26761,11 +25230,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 +25295,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 +25324,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 { @@ -26964,11 +25416,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 +25445,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 { @@ -27277,11 +25719,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 +26057,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 +26199,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 +26223,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 { @@ -27897,11 +26319,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 +26347,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 +26385,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 +26424,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 +26453,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 { @@ -28247,11 +26644,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 +26735,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 +26799,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 +26832,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 { @@ -28960,11 +27337,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 +27419,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 +27448,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 { @@ -29148,11 +27510,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 { @@ -29255,13 +27612,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 +27694,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 +27723,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 { @@ -29471,13 +27811,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 +27846,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 +28032,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 { @@ -29869,11 +28192,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 +28274,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 +28303,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 { @@ -30085,13 +28391,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 +28727,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 +28800,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 { @@ -30583,11 +28872,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 { @@ -30660,11 +28944,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 { @@ -30737,11 +29016,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 { @@ -30814,11 +29088,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 { @@ -30891,11 +29160,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 { @@ -30968,11 +29232,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 { @@ -31045,11 +29304,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 { @@ -31122,11 +29376,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 { @@ -31199,11 +29448,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 { @@ -31276,11 +29520,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 { @@ -31353,11 +29592,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 { @@ -31430,11 +29664,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 { @@ -31511,11 +29740,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 { @@ -31588,11 +29812,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 { @@ -31665,11 +29884,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 { @@ -31746,11 +29960,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 { @@ -31823,11 +30032,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 { @@ -31904,11 +30108,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 { @@ -31983,11 +30182,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 { @@ -32064,11 +30258,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 { @@ -32145,11 +30334,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 { @@ -32222,11 +30406,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 { @@ -32299,11 +30478,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 { @@ -32376,11 +30550,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 { @@ -32453,11 +30622,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 { @@ -32530,11 +30694,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 { @@ -32611,11 +30770,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 { @@ -32688,11 +30842,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 { @@ -32765,11 +30914,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 { @@ -32846,11 +30990,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 { @@ -32923,11 +31062,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 { @@ -33000,11 +31134,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 { @@ -33077,11 +31206,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 { @@ -33156,11 +31280,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 { @@ -33333,11 +31452,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 +31481,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 { @@ -33460,13 +31569,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 +31617,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 +31661,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 { @@ -33638,11 +31728,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 +31878,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 +31907,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 { @@ -33920,13 +31995,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 +32045,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 +32078,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 { @@ -34099,11 +32155,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 { @@ -34247,11 +32298,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 +32327,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 { @@ -34384,11 +32425,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 +32449,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 { @@ -34633,11 +32664,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 { @@ -35116,13 +33142,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 +33215,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 { @@ -35277,11 +33291,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 { @@ -35358,11 +33367,6 @@ pub enum InstallationSuspendInstallationPermissionsChecks { #[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 { @@ -35439,11 +33443,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 { @@ -35520,11 +33519,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 { @@ -35601,11 +33595,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 { @@ -35682,11 +33671,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 { @@ -35763,11 +33747,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 { @@ -35844,11 +33823,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 { @@ -35925,11 +33899,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 { @@ -36006,11 +33975,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 { @@ -36087,11 +34051,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 { @@ -36168,13 +34127,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 { @@ -36253,11 +34205,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 { @@ -36336,11 +34283,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 { @@ -36417,13 +34359,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 { @@ -36502,11 +34437,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 { @@ -36583,13 +34513,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 { @@ -36668,11 +34591,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 { @@ -36751,15 +34669,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 { @@ -36842,13 +34751,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 { @@ -36927,11 +34829,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 { @@ -37008,11 +34905,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 { @@ -37089,11 +34981,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 { @@ -37170,11 +35057,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 { @@ -37251,11 +35133,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 { @@ -37334,13 +35211,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 { @@ -37419,11 +35289,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 { @@ -37500,11 +35365,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 { @@ -37581,13 +35441,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 { @@ -37666,11 +35519,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 { @@ -37747,11 +35595,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 { @@ -37828,11 +35671,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 { @@ -37909,11 +35747,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 { @@ -37992,11 +35825,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 { @@ -38074,11 +35902,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 { @@ -38275,13 +36098,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 +36130,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 { @@ -38395,11 +36206,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 { @@ -38464,11 +36270,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 { @@ -38573,13 +36374,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 +36404,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 { @@ -38757,11 +36546,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 +36575,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 { @@ -38893,13 +36672,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 +36696,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 { @@ -39146,11 +36913,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 { @@ -39635,13 +37397,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 +37470,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 { @@ -39796,11 +37546,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 { @@ -39877,11 +37622,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 { @@ -39958,11 +37698,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 { @@ -40041,11 +37776,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 { @@ -40122,11 +37852,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 { @@ -40203,11 +37928,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 { @@ -40284,11 +38004,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 { @@ -40365,11 +38080,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 { @@ -40446,11 +38156,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 { @@ -40527,11 +38232,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 { @@ -40608,11 +38308,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 { @@ -40689,15 +38384,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 { @@ -40780,13 +38466,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 { @@ -40865,11 +38544,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 { @@ -40948,13 +38622,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 { @@ -41033,11 +38700,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 { @@ -41116,13 +38778,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 { @@ -41201,13 +38856,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 { @@ -41286,15 +38934,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 { @@ -41377,13 +39016,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 { @@ -41462,11 +39094,6 @@ pub enum InstallationUnsuspendInstallationPermissionsPackages { #[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 { @@ -41543,11 +39170,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 { @@ -41624,11 +39246,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 { @@ -41705,11 +39322,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 { @@ -41786,13 +39398,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 { @@ -41871,13 +39476,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 { @@ -41956,11 +39554,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 { @@ -42037,11 +39630,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 { @@ -42118,13 +39706,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 { @@ -42203,11 +39784,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 { @@ -42284,11 +39860,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 { @@ -42365,11 +39936,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 { @@ -42446,13 +40012,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 { @@ -42531,11 +40090,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 { @@ -42613,11 +40167,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 { @@ -42692,11 +40241,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 { @@ -42765,11 +40309,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 { @@ -42876,13 +40415,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 +40439,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 { @@ -43199,11 +40726,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 +40764,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 { @@ -43386,11 +40903,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 +41034,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 +41063,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 { @@ -43716,11 +41218,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 +41256,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 { @@ -43864,11 +41356,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 +41388,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 { @@ -43991,13 +41473,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 +41505,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 { @@ -44206,11 +41676,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 +41705,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 { @@ -44400,11 +41860,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 +41898,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 { @@ -44548,11 +41998,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 +42030,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 { @@ -44675,13 +42115,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 +42147,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 { @@ -44912,11 +42340,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 +42369,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 { @@ -45022,11 +42440,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 +42473,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 +42590,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 +42628,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 { @@ -45330,11 +42728,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 +42760,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 { @@ -45457,13 +42845,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 +42877,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 { @@ -45568,11 +42944,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 +43000,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 +43043,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 { @@ -45793,11 +43154,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 +43184,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 { @@ -45951,11 +43302,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 +43332,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 { @@ -46101,11 +43442,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 +43480,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 { @@ -46234,11 +43565,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 +43604,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 { @@ -46375,11 +43696,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 +43725,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 { @@ -46527,11 +43838,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 +43867,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 { @@ -46670,11 +43971,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 +44009,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 { @@ -46803,13 +44094,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 +44137,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 { @@ -46992,11 +44271,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 +44300,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 { @@ -47117,11 +44386,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 +44420,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 +44446,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 +44525,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 +44666,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 +44695,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 { @@ -47581,11 +44820,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 +44849,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 { @@ -47740,11 +44969,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 +45007,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 { @@ -47873,11 +45092,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 +45135,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 { @@ -48041,11 +45250,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 +45279,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 { @@ -48184,11 +45383,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 +45421,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 { @@ -48410,11 +45599,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 +45631,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 { @@ -48533,11 +45712,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 +45755,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 { @@ -48721,11 +45890,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 +45919,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 { @@ -48827,11 +45986,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 +46057,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 +46095,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 { @@ -49036,11 +46180,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 +46219,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 { @@ -49177,11 +46311,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 +46340,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 { @@ -49327,11 +46451,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 +46480,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 { @@ -49471,11 +46585,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 +46623,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 { @@ -49604,11 +46708,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 +46747,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 { @@ -49763,11 +46857,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 +46886,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 { @@ -49869,11 +46953,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 +47023,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 +47053,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 { @@ -50083,11 +47152,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 +47181,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 { @@ -50237,11 +47296,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 +47325,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 { @@ -50386,11 +47435,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 +47462,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 +47522,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 +47565,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 { @@ -50632,11 +47659,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 +47688,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 { @@ -50775,11 +47792,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 +47848,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 +47877,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 { @@ -50969,11 +47971,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 +48000,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 { @@ -51150,11 +48142,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 +48171,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 { @@ -51290,11 +48272,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 +48307,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 +48333,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 +48359,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 +48386,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 +48451,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 +48478,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 +48606,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 +48651,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 +48805,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 +48834,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 { @@ -51982,13 +48909,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 +48954,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 +49024,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 +49146,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 +49300,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 +49329,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 { @@ -52515,13 +49404,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 +49449,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 +49519,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 +49641,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 +49676,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 +49855,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 +49884,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 { @@ -53228,13 +50076,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 +50105,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 { @@ -53348,13 +50184,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 +50229,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 +50299,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 +50421,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 +50458,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 +50503,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 +50573,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 +50695,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 +50765,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 +50919,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 +50948,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 { @@ -54258,13 +51023,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 +51068,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 +51138,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 +51260,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 +51336,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 +51365,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 { @@ -54711,11 +51438,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 +51473,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 +51505,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 { @@ -54909,11 +51621,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 +51650,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 { @@ -55021,11 +51723,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 +51749,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 +51776,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 +51842,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 +51871,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 { @@ -55281,11 +51958,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 +52026,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 +52055,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 { @@ -55461,11 +52123,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 { @@ -55527,11 +52184,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 +52286,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 +52315,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 { @@ -55744,11 +52386,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 { @@ -55834,11 +52471,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 +52587,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 +52616,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 { @@ -56115,11 +52737,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 +52776,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 +52808,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 { @@ -56269,11 +52876,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 +53009,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 +53086,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 +53115,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 { @@ -56621,11 +53208,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 +53237,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 { @@ -56775,11 +53352,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 +53381,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 { @@ -56907,11 +53474,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 +53503,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 { @@ -57038,11 +53595,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 +53624,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 { @@ -57217,11 +53764,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 +53793,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 { @@ -57357,11 +53894,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 +53929,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 +53955,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 +53981,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 +54016,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 +54118,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 +54147,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 { @@ -57740,11 +54240,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 +54269,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 { @@ -57850,11 +54340,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 { @@ -57946,11 +54431,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 +54460,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 { @@ -58046,11 +54521,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 +54582,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 +54611,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 { @@ -58287,11 +54747,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 +54796,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 +54825,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 { @@ -58453,11 +54898,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 +54972,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 +55001,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 { @@ -58729,11 +55159,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 +55188,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 { @@ -58897,13 +55317,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 +55366,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 +55395,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 { @@ -59079,11 +55482,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 +55511,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 { @@ -59179,11 +55572,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 +55920,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 +55949,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 { @@ -59924,11 +56302,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 +56543,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 +56618,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 +56694,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 +56741,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 +57080,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 +57109,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 { @@ -61126,11 +57463,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 +57705,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 +57780,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 +57856,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 +57903,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 +58006,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 +58079,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 +58106,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 +58260,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 +58393,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 +58437,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 +58469,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 { @@ -62272,11 +58543,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 +58648,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 +58747,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 +58824,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 +58853,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 { @@ -62678,11 +58924,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 +58948,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 +59002,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 +59031,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 { @@ -62897,11 +59123,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 +59152,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 { @@ -63051,11 +59267,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 +59296,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 { @@ -63161,11 +59367,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 +59391,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 +59426,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 +59547,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 +59576,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 { @@ -63466,11 +59647,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 +59671,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 +59720,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 +59774,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 +59803,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 { @@ -63755,11 +59911,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 +59965,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 +59994,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 { @@ -63945,11 +60086,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 +60115,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 { @@ -64096,11 +60227,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 +60256,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 { @@ -64204,11 +60325,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 +60356,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 +60387,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 +60461,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 +60490,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 { @@ -64486,11 +60582,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 +60611,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 { @@ -64617,11 +60703,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 +60732,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 { @@ -64783,11 +60859,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 +60888,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 { @@ -64908,11 +60974,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 +61008,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 +61034,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 +61069,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 +61148,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 +61177,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 { @@ -65212,11 +61248,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 { @@ -65318,11 +61349,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 +61493,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 +61517,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 { @@ -65599,11 +61615,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 +61643,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 +62103,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 +62141,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 { @@ -66255,11 +62251,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 +62280,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 { @@ -66391,11 +62377,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 +62406,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 { @@ -66527,11 +62503,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 +62532,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 { @@ -66649,11 +62615,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 +62705,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 +62734,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 { @@ -66917,11 +62868,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 +62906,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 { @@ -67058,11 +62999,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 +63044,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 +63104,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 +63127,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 +63166,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 { @@ -67390,11 +63304,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 +63333,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 { @@ -67575,13 +63479,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 +63517,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 { @@ -67718,13 +63610,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 +63655,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 +63715,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 +63738,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 +63781,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 { @@ -68060,11 +63921,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 +63950,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 { @@ -68185,11 +64036,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 +64070,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 +64096,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 +64179,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 +64309,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 +64375,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 +64404,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 { @@ -68686,11 +64502,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 +64563,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 +64592,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 { @@ -68929,11 +64730,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 +64759,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 { @@ -69112,11 +64903,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 +64930,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 +64994,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 +65039,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 +65099,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 +65122,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 +65161,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 { @@ -69551,11 +65303,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 +65332,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 { @@ -69739,13 +65481,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 +65519,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 { @@ -69882,13 +65612,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 +65657,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 +65717,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 +65740,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 +65779,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 { @@ -70218,11 +65917,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 +65946,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 { @@ -70401,11 +66090,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 +66128,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 { @@ -70542,13 +66221,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 +66266,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 +66326,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 +66349,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 +66388,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 { @@ -70801,11 +66449,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 +66694,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 +67053,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 +67082,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 { @@ -71847,13 +67475,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 +67513,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 { @@ -71990,13 +67606,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 +67651,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 +67711,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 +67734,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 +67780,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 { @@ -72600,11 +68183,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 +68212,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 { @@ -73032,13 +68605,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 +68643,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 { @@ -73175,13 +68736,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 +68781,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 +68841,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 +68864,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 +68910,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 { @@ -73807,11 +69335,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 +69364,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 { @@ -73917,13 +69435,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 +69468,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 +69823,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 +69861,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 { @@ -74462,13 +69954,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 +69999,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 +70059,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 +70082,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 +70128,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 { @@ -74740,11 +70199,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 +70249,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 +70282,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 { @@ -74912,11 +70356,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 { @@ -75091,11 +70530,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 +70559,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 { @@ -75272,11 +70701,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 +70730,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 +70759,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 { @@ -75537,11 +70949,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 +70978,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 { @@ -75646,11 +71048,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 +71081,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 +71182,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 +71211,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 +71238,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 +71380,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 +71409,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 { @@ -76117,11 +71480,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 { @@ -76291,11 +71649,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 +71678,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 { @@ -76397,11 +71745,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 { @@ -76571,11 +71914,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 +71943,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 { @@ -76749,11 +72082,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 +72111,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 +72144,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 { @@ -76939,11 +72255,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 +72284,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 { @@ -77082,11 +72388,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 +72417,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 { @@ -77225,11 +72521,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 +72550,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 { @@ -77363,11 +72649,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 +72678,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 { @@ -77558,11 +72834,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 +72977,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 +73078,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 +73108,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 { @@ -77944,11 +73200,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 +73229,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 { @@ -78075,11 +73321,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 +73350,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 { @@ -78240,11 +73476,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 +73505,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 { @@ -78364,11 +73590,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 +73624,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 +73650,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 +73693,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 +73802,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 +73831,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 { @@ -78728,11 +73924,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 +73995,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 +74024,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 { @@ -78934,11 +74115,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 +74169,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 +74198,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 { @@ -79140,11 +74306,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 +74335,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 { @@ -79269,11 +74425,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 +74462,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 +75050,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 +75120,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 +75149,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 { @@ -80202,11 +75333,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 +75357,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 { @@ -80334,13 +75455,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 +75483,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 +75544,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 +75573,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 { @@ -80536,11 +75635,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 { @@ -80642,11 +75736,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 +75765,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 { @@ -80747,11 +75831,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 +75896,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 +75925,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 { @@ -80993,11 +76062,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 +76091,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 { @@ -81135,11 +76194,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 +76227,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 +76254,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 +76281,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 +76332,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 +76428,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 +76463,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 { @@ -81783,11 +76803,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 +76847,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 +76916,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 +76945,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 { @@ -82128,11 +77128,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 +77152,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 { @@ -82260,13 +77250,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 +77278,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 +77359,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 +77388,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 { @@ -82603,11 +77571,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 +77595,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 { @@ -82735,13 +77693,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 +77721,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 +77761,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 +77852,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 +77881,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 { @@ -83030,11 +77961,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 +77994,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 +78018,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 +78096,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 +78125,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 { @@ -83300,11 +78202,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 +78232,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 +78254,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 +78331,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 +78360,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 { @@ -83671,11 +78544,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 +78568,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 { @@ -83803,13 +78666,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 +78694,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 +78804,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 +78833,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 { @@ -84113,13 +78952,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 +79053,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 +79082,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 { @@ -84381,13 +79201,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 +79228,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 +79347,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 +79376,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 { @@ -84699,13 +79495,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 +79570,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 +79599,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 { @@ -84903,11 +79682,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 +79709,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 +79804,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 +79833,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 { @@ -85157,11 +79916,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 +80002,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 +80031,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 { @@ -85376,11 +80120,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 +80158,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 { @@ -85501,11 +80235,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 +80456,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 +80485,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 { @@ -85998,13 +80717,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 +80749,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 +80778,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 +80808,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 +80833,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 +80899,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 +80923,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 +80952,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 +81153,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 +81182,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 { @@ -86765,13 +81414,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 +81446,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 +81475,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 +81505,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 +81530,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 +81596,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 +81620,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 +81649,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 +81850,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 +81879,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 { @@ -87532,13 +82111,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 +82143,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 +82172,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 +82202,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 +82227,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 +82293,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 +82317,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 +82346,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 +82544,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 +82573,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 { @@ -88293,13 +82802,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 +82834,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 +82863,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 +82893,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 +82918,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 +82984,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 +83008,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 +83037,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 +83392,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 +83430,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 { @@ -89080,11 +83519,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 +83564,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 +83624,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 +83647,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 +83689,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 { @@ -89383,11 +83797,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 +83826,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 { @@ -89509,11 +83913,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 +83981,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 +84010,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 { @@ -89708,11 +84097,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 +84186,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 +84215,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 { @@ -89911,11 +84285,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 +84318,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 +84367,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 +84406,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 +84511,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 +84540,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 { @@ -90285,13 +84627,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 +84725,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 +84754,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 { @@ -90500,13 +84825,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 +84849,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 +84898,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 +84960,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 +85051,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 +85080,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 { @@ -90862,11 +85151,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 +85175,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 +85224,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 +85280,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 +85309,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 { @@ -91143,11 +85403,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 +85432,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 { @@ -91243,11 +85493,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 +85868,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 +85916,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 +85946,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 +86171,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 +86314,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 +86351,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 +86388,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 +86418,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 +86478,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 +86543,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 { @@ -92448,11 +86641,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 +86680,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 { @@ -92714,11 +86897,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 +86943,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 +86997,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 +87026,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 { @@ -92955,11 +87118,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 +87147,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 { @@ -93086,11 +87239,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 +87268,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 { @@ -93301,11 +87444,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 +87473,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 { @@ -93479,11 +87612,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 +87648,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 +87674,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 +87700,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 +87748,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 +87787,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 +87825,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 +87869,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 +87990,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 +88025,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 { @@ -94023,11 +88102,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 { @@ -94124,11 +88198,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 +88227,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 { @@ -94343,11 +88407,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 +88439,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 { @@ -94455,11 +88509,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 +88563,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 +88592,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 { @@ -94674,11 +88713,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 +88890,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 { @@ -95065,11 +89094,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 +89160,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 +89283,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 +89357,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 +89386,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 { @@ -95469,11 +89473,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 +89505,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 { @@ -95586,11 +89580,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 { @@ -95665,11 +89654,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 { @@ -95737,11 +89721,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 +89869,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 +89898,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 { @@ -96075,11 +90044,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 +90073,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 { @@ -96235,11 +90194,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 +90223,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 { @@ -96370,11 +90319,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 +90346,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 +90400,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 { @@ -96545,11 +90477,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 { @@ -96841,11 +90768,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 +90852,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 +90881,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 { @@ -97073,11 +90985,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 +91032,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 { @@ -97259,13 +91161,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 +91196,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 +91231,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 +91269,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 { @@ -97484,11 +91360,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 { @@ -97562,11 +91433,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 +91522,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 +91557,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 +91592,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 +91651,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 +91680,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 { @@ -97915,11 +91756,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 { @@ -97990,11 +91826,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 +91895,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 +91930,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 { @@ -98180,11 +92001,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 { @@ -98277,11 +92093,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 +92122,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 { diff --git a/typify-impl/tests/vega.out b/typify-impl/tests/vega.out index 8473ac16..ca8894dc 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 { @@ -1008,11 +943,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 { @@ -1242,11 +1172,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 +1290,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 +1436,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 +1470,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 { @@ -1629,11 +1539,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 { @@ -1803,11 +1708,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 +1821,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 +1918,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 +2053,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 +2087,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 { @@ -2272,11 +2152,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 { @@ -2439,11 +2314,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 +2424,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 +2615,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 +2733,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 +2879,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 +2913,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 { @@ -3137,11 +2982,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 { @@ -3311,11 +3151,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 +3264,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 +3361,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 +3496,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 +3530,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 { @@ -3780,11 +3595,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 { @@ -3947,11 +3757,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 +3867,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 +4046,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 +4158,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 +4298,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 +4321,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 { @@ -4700,11 +4480,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 +4587,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 +4678,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 +4807,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 +4830,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 { @@ -5231,11 +4986,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 +5090,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 +5113,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 +5306,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 +5420,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 +5562,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 +5585,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 { @@ -6030,11 +5750,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 +5859,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 +5952,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 +6083,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 +6106,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 { @@ -6569,11 +6264,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 +6370,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 +6436,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 +6487,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 { @@ -6889,11 +6564,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 { @@ -6975,11 +6645,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 { @@ -8288,11 +7953,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 +7976,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 +8009,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 +8041,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 +8072,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 +8105,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 +8138,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 +8171,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 +8228,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 +8321,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 +8353,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 +8397,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 { @@ -8857,11 +8462,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 +8494,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 +8525,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 +8558,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 +8591,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 +8624,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 +8661,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 +8705,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 { @@ -9205,11 +8770,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 +8810,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 +8863,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 { @@ -9388,11 +8938,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 +8980,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 +9012,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 +9050,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 +9078,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 +9111,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 +9163,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 +9196,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 +9229,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 +9262,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 +9295,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 +9328,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 +9361,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 +9394,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 +9427,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 +9465,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 +9512,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 { @@ -10114,11 +9579,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 +9612,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 +9644,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 +9675,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 +9708,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 +9741,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 +9774,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 +9807,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 +9840,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 +9873,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 +9910,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 +9954,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 { @@ -10619,11 +10024,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 +10069,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 { @@ -10739,11 +10134,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 +10174,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 +10227,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 { @@ -10922,11 +10302,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 +10330,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 +10358,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 +10391,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 +10443,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 +10476,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 +10509,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 +10542,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 +10575,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 +10608,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 +10641,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 +10674,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 +10708,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 +10912,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 +11017,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 +11155,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 +11178,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 { @@ -12052,11 +11347,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 +11460,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 +11491,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 +11704,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 +11823,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 +11970,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 +12007,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 { @@ -12818,11 +12078,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 { @@ -12993,11 +12248,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 +12362,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 +12460,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 +12596,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 +12633,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 { @@ -13472,11 +12702,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 { @@ -13642,11 +12867,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 +12978,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 +13237,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 +13260,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 +13309,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 +13350,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 +13379,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 +13431,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 +13472,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 +13517,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 +13550,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 +13587,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 +13626,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 +13665,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 +13703,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 +13736,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 +13765,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 +13803,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 +13836,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 +13879,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 +13912,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 +13950,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 { @@ -15075,11 +14190,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 +14218,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 { @@ -15182,11 +14287,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 { @@ -15255,11 +14355,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 { @@ -15329,11 +14424,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 +14669,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 +14800,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 +14959,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 +15030,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 { @@ -16053,11 +15123,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 { @@ -16240,11 +15305,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 +15431,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 +15541,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 +15689,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 +15760,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 { @@ -16809,11 +15849,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 { @@ -16989,11 +16024,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 +16147,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 +16170,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 +16363,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 +16477,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 +16619,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 +16642,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 { @@ -17807,11 +16807,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 +16916,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 +17009,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 +17140,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 +17163,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 { @@ -18346,11 +17321,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 +17427,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 +17464,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 +17492,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 { @@ -18607,11 +17562,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 +17594,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 +17626,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 +17658,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 +17729,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 +17752,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 +17785,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 +18005,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 +18028,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 +18061,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 +18094,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 +18127,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 +18172,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 +18205,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 +18239,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 +18287,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 +18322,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 +18360,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 { @@ -19566,11 +18431,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 +18466,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 +18503,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 +18545,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 +18587,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 +18719,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 +18758,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 +18799,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 +18832,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 +18881,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 { @@ -20135,11 +18950,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 +18989,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 +19022,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 +19055,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 { @@ -20363,11 +19158,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 +19197,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 +19238,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 +19271,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 { @@ -20604,11 +19379,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 +19415,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 +19454,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 +19493,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 +19531,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 { @@ -21515,11 +20265,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 +20292,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 +20599,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 +20661,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 +20719,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 +20776,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 { @@ -22129,11 +20847,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 { @@ -22231,11 +20944,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 { @@ -22313,13 +21021,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 { @@ -22444,13 +21145,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 +21205,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 +21262,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 { @@ -22649,11 +21333,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 { @@ -22751,11 +21430,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 { @@ -22833,13 +21507,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 { @@ -22921,11 +21588,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 { @@ -23033,13 +21695,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 +21745,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 +21802,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 { @@ -23228,11 +21873,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 { @@ -23330,11 +21970,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 { @@ -23412,13 +22047,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 { @@ -23503,11 +22131,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 { @@ -23621,13 +22244,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 +22294,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 +22351,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 { @@ -23816,11 +22422,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 { @@ -23918,11 +22519,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 { @@ -24000,13 +22596,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 { @@ -24088,11 +22677,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 { @@ -24211,11 +22795,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 +22823,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 { @@ -24323,11 +22897,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 { @@ -24400,11 +22969,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 { @@ -24749,11 +23313,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 +23375,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 +23433,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 +23490,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 { @@ -25019,11 +23561,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 { @@ -25121,11 +23658,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 { @@ -25203,13 +23735,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 { @@ -25334,13 +23859,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 +23919,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 +23976,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 { @@ -25539,11 +24047,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 { @@ -25641,11 +24144,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 { @@ -25723,13 +24221,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 { @@ -25811,11 +24302,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 { @@ -25923,13 +24409,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 +24459,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 +24516,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 { @@ -26118,11 +24587,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 { @@ -26220,11 +24684,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 { @@ -26302,13 +24761,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 { @@ -26393,11 +24845,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 { @@ -26511,13 +24958,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 +25008,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 +25065,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 { @@ -26706,11 +25136,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 { @@ -26808,11 +25233,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 { @@ -26890,13 +25310,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 { @@ -26978,11 +25391,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 { @@ -27101,11 +25509,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 +25537,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 { @@ -27213,11 +25611,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 { @@ -27290,11 +25683,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 { @@ -27358,11 +25746,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 +26086,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 +26123,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 +26164,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 +26411,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 +26434,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 +26468,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 +26507,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 +26546,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 +26584,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 +26617,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 +26651,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 +26699,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 +26734,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 +26779,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 +26812,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 +26846,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 +26885,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 +26919,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 +26957,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 +26995,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 { @@ -28939,11 +27222,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 +27339,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 +27484,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 +27515,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 { @@ -29319,11 +27582,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 { @@ -29492,11 +27750,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 +27862,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 +27958,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 +28092,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 +28123,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 { @@ -29957,11 +28190,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 { @@ -30127,11 +28355,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 +28464,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 +28573,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 +28597,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 +28634,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 +28685,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 +28724,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 +28762,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 +28795,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 +28833,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 { @@ -30727,11 +28905,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 +28951,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 +29433,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 +29533,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 { @@ -31515,11 +29673,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 +29722,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 +29763,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 +29797,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 +29860,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 +29887,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 +29930,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 { @@ -31952,11 +30075,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 +30179,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 +30229,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 +30265,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 +30348,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 +30390,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 +30418,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 { @@ -32463,11 +30551,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 +30584,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 +30617,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 +30658,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 +30697,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 +30735,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 +30768,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 { @@ -32838,11 +30891,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 +30930,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 +30971,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 +31012,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 +31049,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 +31092,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 { @@ -33338,11 +31361,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 +31499,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 +31665,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 +31688,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 { @@ -33874,11 +31877,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 +32010,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 +32127,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 +32282,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 +32305,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 { @@ -34513,11 +32491,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 +32621,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 +33082,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 +33106,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 +33145,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 +33183,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 +33232,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 +33275,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 +33649,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 +33681,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 +33729,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 +33763,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 +33805,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 +33844,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 +33890,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 +33934,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 +33973,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 +34011,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 +34044,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 +34078,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 +34116,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 +34149,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 +34187,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 { @@ -36386,11 +34249,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 +34326,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 +34349,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 +34377,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 +34415,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 { @@ -36637,11 +34475,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 +34556,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 +34594,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 +34631,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 +34673,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 +34716,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 { @@ -37033,11 +34841,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 +34865,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 +34902,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 +34948,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 +34996,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 { @@ -37343,11 +35126,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 +35165,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 +35206,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 +35249,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 +35286,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 +35329,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 { @@ -37702,11 +35455,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 +35479,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 +35517,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 +35568,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 +35616,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 { @@ -37966,11 +35694,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 +35728,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 +35912,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 +35938,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 +35974,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 +36010,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 +36044,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 +36094,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 +36127,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 +36176,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 +36219,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 +36268,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 +36311,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 +36349,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 { @@ -38767,11 +36425,6 @@ pub struct GuideEncode { #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] pub style: ::std::option::Option