diff --git a/src/models/mod.rs b/src/models/mod.rs index d2cafb1..9f385ca 100644 --- a/src/models/mod.rs +++ b/src/models/mod.rs @@ -299,15 +299,15 @@ pub struct TimeBucketAssetResponse { /// Array of video durations in HH:MM:SS format (null for images) pub duration: Option>>, /// Array of file creation timestamps in UTC - pub file_created_at: Option>, + pub file_created_at: Vec, /// Array of asset IDs in the time bucket pub id: Vec, /// Array indicating whether each asset is favorited - pub is_favorite: Option>, + pub is_favorite: Vec, /// Array indicating whether each asset is an image (false for videos) - pub is_image: Option>, + pub is_image: Vec, /// Array indicating whether each asset is in the trash - pub is_trashed: Option>, + pub is_trashed: Vec, /// Array of latitude coordinates extracted from EXIF GPS data pub latitude: Option>>, /// Array of live photo video asset IDs (null for non-live photos) @@ -317,7 +317,7 @@ pub struct TimeBucketAssetResponse { /// Array of longitude coordinates extracted from EXIF GPS data pub longitude: Option>>, /// Array of owner IDs for each asset - pub owner_id: Option>, + pub owner_id: Vec, /// Array of projection types for 360° content pub projection_type: Option>>, /// Array of aspect ratios (width/height) for each asset @@ -327,7 +327,7 @@ pub struct TimeBucketAssetResponse { /// Array of BlurHash strings for generating asset previews pub thumbhash: Option>>, /// Array of visibility statuses for each asset - pub visibility: Option>, + pub visibility: Vec, } #[cfg(test)]