Skip to content

Commit

Permalink
Merge pull request #147 from lkatalin/get_uuid
Browse files Browse the repository at this point in the history
Add getter functions for LogEntry fields
  • Loading branch information
lkatalin authored Oct 21, 2022
2 parents 6f76617 + ce26db0 commit 2084677
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/rekor/models/log_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct LogEntry {
uuid: String,
pub uuid: String,
#[serde(skip_serializing_if = "Option::is_none")]
attestation: Option<Attestation>,
body: String,
integrated_time: i64,
log_i_d: String,
log_index: i64,
verification: Verification,
pub attestation: Option<Attestation>,
pub body: String,
pub integrated_time: i64,
pub log_i_d: String,
pub log_index: i64,
pub verification: Verification,
}

#[derive(Default, Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
Expand Down

0 comments on commit 2084677

Please sign in to comment.