pub struct UrlStatus {
pub url: String,
pub status: Option<u16>,
}
Expand description
Represents the status of a URL, including its HTTP status code if available.
Fields§
§url: String
The URL as a string.
status: Option<u16>
The HTTP status code returned for the URL, if available.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UrlStatus
impl<'de> Deserialize<'de> for UrlStatus
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 UrlStatus
impl RefUnwindSafe for UrlStatus
impl Send for UrlStatus
impl Sync for UrlStatus
impl Unpin for UrlStatus
impl UnwindSafe for UrlStatus
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