diff --git a/src/videos.rs b/src/videos.rs index 83d7d40..16bfb90 100644 --- a/src/videos.rs +++ b/src/videos.rs @@ -87,7 +87,7 @@ pub struct VideoItem { #[serde(skip_serializing_if = "Option::is_none")] pub preview: Option, #[serde(skip_serializing_if = "Option::is_none")] - pub aspectRation: Option, + pub aspectRatio: Option, } #[allow(dead_code)] impl VideoItem { @@ -116,7 +116,7 @@ impl VideoItem { formats: None, // Placeholder for formats embed: None, // Placeholder for embed information preview: None, - aspectRation: None, + aspectRatio: None, } } pub fn tags(mut self, tags: Vec) -> Self { @@ -168,7 +168,7 @@ impl VideoItem { } pub fn aspect_ratio(mut self, aspect_ratio: f32) -> Self { - self.aspectRation = Some(aspect_ratio); + self.aspectRatio = Some(aspect_ratio); self } }