pub struct MediaFile {
pub media_id: String,
pub created_at: OffsetDateTime,
pub content_type: String,
pub has_reports: bool,
pub label: String,
pub processing_status: String,
pub last_used_at: Option<OffsetDateTime>,
pub retention: MediaRetention,
pub size_bytes: Option<u64>,
pub duration_seconds: Option<f64>,
}Expand description
Detailed media record returned by media.get() and media.list().
Fields§
§media_id: StringMedia identifier.
created_at: OffsetDateTimeMedia creation timestamp.
content_type: StringContent type recorded for the media.
has_reports: boolWhether the media already has associated reports.
label: StringUser-facing label.
processing_status: StringProcessing status reported by the API.
last_used_at: Option<OffsetDateTime>Last usage timestamp, when reported.
retention: MediaRetentionRetention metadata.
size_bytes: Option<u64>Size in bytes, when reported.
duration_seconds: Option<f64>Duration in seconds, when reported.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MediaFile
impl RefUnwindSafe for MediaFile
impl Send for MediaFile
impl Sync for MediaFile
impl Unpin for MediaFile
impl UnsafeUnpin for MediaFile
impl UnwindSafe for MediaFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more