Skip to content

Commit 7645d1a

Browse files
committed
remove empty line
1 parent 315a3c5 commit 7645d1a

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

sdk/rust/types/src/dstack.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ pub struct EventLog {
5757
#[derive(Debug, bon::Builder, Serialize, Deserialize)]
5858
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
5959
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
60-
6160
pub struct TlsKeyConfig {
6261
/// The subject name for the certificate
6362
#[builder(into, default = String::new())]
@@ -80,7 +79,6 @@ pub struct TlsKeyConfig {
8079
#[derive(Debug, Serialize, Deserialize)]
8180
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
8281
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
83-
8482
pub struct GetKeyResponse {
8583
/// The key in hexadecimal format
8684
pub key: String,
@@ -102,7 +100,6 @@ impl GetKeyResponse {
102100
#[derive(Debug, Serialize, Deserialize)]
103101
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
104102
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
105-
106103
pub struct GetQuoteResponse {
107104
/// The attestation quote in hexadecimal format
108105
pub quote: String,
@@ -144,7 +141,6 @@ impl GetQuoteResponse {
144141
#[derive(Debug, Serialize, Deserialize)]
145142
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
146143
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
147-
148144
pub struct InfoResponse {
149145
/// The application identifier
150146
pub app_id: String,
@@ -182,7 +178,6 @@ impl InfoResponse {
182178
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Serialize, Deserialize)]
183179
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
184180
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
185-
186181
pub struct TcbInfo {
187182
/// The measurement root of trust
188183
pub mrtd: String,
@@ -211,7 +206,6 @@ pub struct TcbInfo {
211206
#[derive(Debug, Serialize, Deserialize)]
212207
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
213208
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
214-
215209
pub struct GetTlsKeyResponse {
216210
/// The TLS key in hexadecimal format
217211
pub key: String,

sdk/rust/types/src/tappd.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const INIT_MR: &str = "000000000000000000000000000000000000000000000000000000000
2525
#[derive(Debug, Clone, Serialize, Deserialize)]
2626
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
2727
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
28-
2928
pub enum QuoteHashAlgorithm {
3029
Sha256,
3130
Sha384,
@@ -76,7 +75,6 @@ fn replay_rtmr(history: Vec<String>) -> Result<String, FromHexError> {
7675
#[derive(Debug, Serialize, Deserialize)]
7776
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
7877
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
79-
8078
pub struct DeriveKeyResponse {
8179
/// The derived key (PEM format for certificates, hex for raw keys)
8280
pub key: String,
@@ -149,7 +147,6 @@ impl DeriveKeyResponse {
149147
#[derive(Debug, Serialize, Deserialize)]
150148
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
151149
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
152-
153150
pub struct TdxQuoteResponse {
154151
/// The TDX quote in hexadecimal format
155152
pub quote: String,
@@ -198,7 +195,6 @@ impl TdxQuoteResponse {
198195
#[derive(Debug, Serialize, Deserialize)]
199196
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
200197
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
201-
202198
pub struct TappdTcbInfo {
203199
/// The measurement root of trust
204200
pub mrtd: String,
@@ -220,7 +216,6 @@ pub struct TappdTcbInfo {
220216
#[derive(Debug, Serialize, Deserialize)]
221217
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
222218
#[cfg_attr(feature = "borsh_schema", derive(BorshSchema))]
223-
224219
pub struct TappdInfoResponse {
225220
/// The application identifier
226221
pub app_id: String,

0 commit comments

Comments
 (0)