pub struct DataSpec {
pub scheme: Option<String>,
pub host: Option<String>,
pub port: Option<String>,
pub path: Option<(String, String)>,
pub mime_type: Option<String>,
}Fields§
§scheme: Option<String>§host: Option<String>§port: Option<String>§path: Option<(String, String)>path, pathPrefix, pathPattern, pathAdvancedPattern or
pathSuffix, with its value.
mime_type: Option<String>Trait Implementations§
impl StructuralPartialEq for DataSpec
Auto Trait Implementations§
impl Forget for DataSpec
impl Freeze for DataSpec
impl Move for DataSpec
impl RefUnwindSafe for DataSpec
impl Send for DataSpec
impl Sync for DataSpec
impl Unpin for DataSpec
impl UnsafeUnpin for DataSpec
impl UnwindSafe for DataSpec
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