@@ -12,7 +12,7 @@ pub type CodeBuildPhaseType = String;
12
12
13
13
/// `CodeBuildEvent` is documented at:
14
14
/// <https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html#sample-build-notifications-ref>
15
- #[ derive( Debug , Clone , PartialEq , Deserialize , Serialize ) ]
15
+ #[ derive( Debug , Default , Clone , PartialEq , Deserialize , Serialize ) ]
16
16
#[ serde( rename_all = "camelCase" ) ]
17
17
pub struct CodeBuildEvent {
18
18
/// AccountID is the id of the AWS account from which the event originated.
@@ -54,7 +54,7 @@ pub struct CodeBuildEvent {
54
54
}
55
55
56
56
/// `CodeBuildEventDetail` represents the all details related to the code build event
57
- #[ derive( Debug , Clone , PartialEq , Deserialize , Serialize ) ]
57
+ #[ derive( Debug , Default , Clone , PartialEq , Deserialize , Serialize ) ]
58
58
#[ serde( rename_all = "camelCase" ) ]
59
59
pub struct CodeBuildEventDetail {
60
60
#[ serde( rename = "build-status" ) ]
@@ -101,7 +101,7 @@ pub struct CodeBuildEventDetail {
101
101
}
102
102
103
103
/// `CodeBuildEventAdditionalInformation` represents additional information to the code build event
104
- #[ derive( Debug , Clone , PartialEq , Deserialize , Serialize ) ]
104
+ #[ derive( Debug , Default , Clone , PartialEq , Deserialize , Serialize ) ]
105
105
#[ serde( rename_all = "camelCase" ) ]
106
106
pub struct CodeBuildEventAdditionalInformation {
107
107
pub artifact : CodeBuildArtifact ,
@@ -133,7 +133,7 @@ pub struct CodeBuildEventAdditionalInformation {
133
133
}
134
134
135
135
/// `CodeBuildArtifact` represents the artifact provided to build
136
- #[ derive( Debug , Clone , Eq , PartialEq , Deserialize , Serialize ) ]
136
+ #[ derive( Debug , Default , Clone , Eq , PartialEq , Deserialize , Serialize ) ]
137
137
#[ serde( rename_all = "camelCase" ) ]
138
138
pub struct CodeBuildArtifact {
139
139
#[ serde( default ) ]
@@ -154,7 +154,7 @@ pub struct CodeBuildArtifact {
154
154
}
155
155
156
156
/// `CodeBuildEnvironment` represents the environment for a build
157
- #[ derive( Debug , Clone , Eq , PartialEq , Deserialize , Serialize ) ]
157
+ #[ derive( Debug , Default , Clone , Eq , PartialEq , Deserialize , Serialize ) ]
158
158
#[ serde( rename_all = "camelCase" ) ]
159
159
pub struct CodeBuildEnvironment {
160
160
#[ serde( default ) ]
@@ -200,7 +200,7 @@ pub struct CodeBuildEnvironmentVariable {
200
200
}
201
201
202
202
/// `CodeBuildSource` represent the code source will be build
203
- #[ derive( Debug , Clone , Eq , PartialEq , Deserialize , Serialize ) ]
203
+ #[ derive( Debug , Default , Clone , Eq , PartialEq , Deserialize , Serialize ) ]
204
204
#[ serde( rename_all = "camelCase" ) ]
205
205
pub struct CodeBuildSource {
206
206
#[ serde( default ) ]
@@ -217,7 +217,7 @@ pub struct CodeBuildSource {
217
217
}
218
218
219
219
/// `CodeBuildLogs` gives the log details of a code build
220
- #[ derive( Debug , Clone , Eq , PartialEq , Deserialize , Serialize ) ]
220
+ #[ derive( Debug , Default , Clone , Eq , PartialEq , Deserialize , Serialize ) ]
221
221
#[ serde( rename_all = "camelCase" ) ]
222
222
pub struct CodeBuildLogs {
223
223
#[ serde( default ) ]
0 commit comments