magic_hour 0.64.0

Magic Hour Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// V1FaceDetectionGetResponse
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct V1FaceDetectionGetResponse {
    /// The credits charged for the task.
    pub credits_charged: i64,
    /// The faces detected in the image or video. The list is populated as faces are detected.
    pub faces: Vec<crate::models::V1FaceDetectionGetResponseFacesItem>,
    /// The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id).
    pub id: String,
    /// The status of the detection.
    pub status: crate::models::V1FaceDetectionGetResponseStatusEnum,
}