pub struct StreamStatus {
pub available: bool,
pub status_code: Option<u16>,
pub response_time_ms: Option<u64>,
pub content_type: Option<String>,
pub error: Option<String>,
}Expand description
Result of checking a stream’s availability.
Fields§
§available: boolWhether the stream is reachable.
status_code: Option<u16>HTTP status code (if applicable).
response_time_ms: Option<u64>Response time in milliseconds.
content_type: Option<String>Detected content type.
error: Option<String>Error message if unavailable.
Trait Implementations§
Source§impl Clone for StreamStatus
impl Clone for StreamStatus
Source§fn clone(&self) -> StreamStatus
fn clone(&self) -> StreamStatus
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 StreamStatus
impl Debug for StreamStatus
Source§impl<'de> Deserialize<'de> for StreamStatus
impl<'de> Deserialize<'de> for StreamStatus
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 StreamStatus
impl RefUnwindSafe for StreamStatus
impl Send for StreamStatus
impl Sync for StreamStatus
impl Unpin for StreamStatus
impl UnsafeUnpin for StreamStatus
impl UnwindSafe for StreamStatus
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