pub struct StreamUrl {
pub url: String,
pub protocol: StreamProtocol,
}Expand description
A validated stream URL with detected protocol.
Fields§
§url: StringThe raw URL string.
protocol: StreamProtocolDetected protocol.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StreamUrl
impl<'de> Deserialize<'de> for StreamUrl
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 StreamUrl
impl RefUnwindSafe for StreamUrl
impl Send for StreamUrl
impl Sync for StreamUrl
impl Unpin for StreamUrl
impl UnsafeUnpin for StreamUrl
impl UnwindSafe for StreamUrl
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