pub struct CheckResult {
pub url: String,
pub info: StreamInfo,
pub checked_at: DateTime<Utc>,
pub media_info: Option<MediaInfo>,
pub category: StreamCategory,
pub error_reason: Option<String>,
pub mismatch_warnings: Vec<String>,
}Expand description
Result of checking a single stream URL.
Fields§
§url: StringThe URL that was checked.
info: StreamInfoStream availability information.
checked_at: DateTime<Utc>Timestamp when the check was performed.
media_info: Option<MediaInfo>Media probe information (codec, resolution, FPS) if available.
category: StreamCategoryCategorization of the stream status.
error_reason: Option<String>Human-readable error reason (from summarize_error).
mismatch_warnings: Vec<String>Label mismatch warnings (e.g., “Expected 4K, got 1080p”).
Trait Implementations§
Source§impl Clone for CheckResult
impl Clone for CheckResult
Source§fn clone(&self) -> CheckResult
fn clone(&self) -> CheckResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckResult
impl Debug for CheckResult
Source§impl<'de> Deserialize<'de> for CheckResult
impl<'de> Deserialize<'de> for CheckResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnsafeUnpin for CheckResult
impl UnwindSafe for CheckResult
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