Skip to content

Commit

Permalink
how
Browse files Browse the repository at this point in the history
  • Loading branch information
Delta456 committed Dec 18, 2024
1 parent cab48c6 commit d0ad0ba
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions rust/src/edge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,42 +555,42 @@ impl SeleniumManager for EdgeManager {

#[derive(Serialize, Deserialize, Debug)]
pub struct EdgeProduct {
#[serde(rename = "Product")]
#[serde(rename = "Product", alias = "product")]
pub product: String,
#[serde(rename = "Releases")]
#[serde(rename = "Releases", alias = "releases")]
pub releases: Vec<Release>,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct Release {
#[serde(rename = "ReleaseId")]
#[serde(rename = "ReleaseId", alias = "releaseId")]
pub release_id: u32,
#[serde(rename = "Platform")]
#[serde(rename = "Platform", alias = "platform")]
pub platform: String,
#[serde(rename = "Architecture")]
#[serde(rename = "Architecture", alias = "architecture")]
pub architecture: String,
#[serde(rename = "CVEs")]
#[serde(rename = "CVEs", alias = "cves")]
pub cves: Vec<String>,
#[serde(rename = "ProductVersion")]
#[serde(rename = "ProductVersion", alias = "productVersion")]
pub product_version: String,
#[serde(rename = "Artifacts")]
#[serde(rename = "Artifacts", alias = "artifacts")]
pub artifacts: Vec<Artifact>,
#[serde(rename = "PublishedTime")]
#[serde(rename = "PublishedTime", alias = "publishedTime")]
pub published_time: String,
#[serde(rename = "ExpectedExpiryDate")]
#[serde(rename = "ExpectedExpiryDate", alias = "expectedExpiryDate")]
pub expected_expiry_date: String,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct Artifact {
#[serde(rename = "ArtifactName")]
#[serde(rename = "ArtifactName", alias = "artifactName")]
pub artifact_name: String,
#[serde(rename = "Location")]
#[serde(rename = "Location", alias = "location")]
pub location: String,
#[serde(rename = "Hash")]
#[serde(rename = "Hash", alias = "hash")]
pub hash: String,
#[serde(rename = "HashAlgorithm")]
#[serde(rename = "HashAlgorithm", alias = "hashAlgorithm")]
pub hash_algorithm: String,
#[serde(rename = "SizeInBytes")]
#[serde(rename = "SizeInBytes", alias = "sizeInBytes")]
pub size_in_bytes: u32,
}

0 comments on commit d0ad0ba

Please sign in to comment.