Derive `Clone` `Copy` for simple enums
Signed-off-by: Joe Grund <jgrund@whamcloud.io>
This commit is contained in:
parent
382aada615
commit
4a33aae615
|
@ -319,7 +319,7 @@ pub struct Authorization {
|
||||||
|
|
||||||
/// Status for an [`Authorization`]
|
/// Status for an [`Authorization`]
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Clone, Copy, Debug, Deserialize)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub enum AuthorizationStatus {
|
pub enum AuthorizationStatus {
|
||||||
Pending,
|
Pending,
|
||||||
|
@ -349,7 +349,7 @@ pub enum ChallengeType {
|
||||||
TlsAlpn01,
|
TlsAlpn01,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Clone, Copy, Debug, Deserialize)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub enum ChallengeStatus {
|
pub enum ChallengeStatus {
|
||||||
Pending,
|
Pending,
|
||||||
|
@ -360,7 +360,7 @@ pub enum ChallengeStatus {
|
||||||
|
|
||||||
/// Status of an [Order](crate::Order)
|
/// Status of an [Order](crate::Order)
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
#[derive(Debug, Deserialize, PartialEq, Eq)]
|
#[derive(Clone, Copy, Debug, Deserialize, PartialEq, Eq)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub enum OrderStatus {
|
pub enum OrderStatus {
|
||||||
Pending,
|
Pending,
|
||||||
|
|
Loading…
Reference in New Issue