Struct PipIndexUrl
pub struct PipIndexUrl(/* private fields */);Expand description
pip package index URL metadata.
Implementations§
§impl PipIndexUrl
impl PipIndexUrl
pub fn new(input: &str) -> Result<PipIndexUrl, PipTextError>
pub fn new(input: &str) -> Result<PipIndexUrl, PipTextError>
Creates index URL metadata.
§Errors
Returns PipTextError when input is empty, contains whitespace, or is not HTTP(S)-shaped.
Trait Implementations§
§impl Clone for PipIndexUrl
impl Clone for PipIndexUrl
§fn clone(&self) -> PipIndexUrl
fn clone(&self) -> PipIndexUrl
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 more§impl Debug for PipIndexUrl
impl Debug for PipIndexUrl
§impl Display for PipIndexUrl
impl Display for PipIndexUrl
§impl Hash for PipIndexUrl
impl Hash for PipIndexUrl
§impl Ord for PipIndexUrl
impl Ord for PipIndexUrl
§impl PartialEq for PipIndexUrl
impl PartialEq for PipIndexUrl
§impl PartialOrd for PipIndexUrl
impl PartialOrd for PipIndexUrl
impl Eq for PipIndexUrl
impl StructuralPartialEq for PipIndexUrl
Auto Trait Implementations§
impl Freeze for PipIndexUrl
impl RefUnwindSafe for PipIndexUrl
impl Send for PipIndexUrl
impl Sync for PipIndexUrl
impl Unpin for PipIndexUrl
impl UnsafeUnpin for PipIndexUrl
impl UnwindSafe for PipIndexUrl
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