pub struct LinkValidator { /* private fields */ }Expand description
Validates link syntax and format
Implementations§
Source§impl LinkValidator
impl LinkValidator
Sourcepub fn new() -> LinkValidator
pub fn new() -> LinkValidator
Create a new link validator
Sourcepub fn check_fragments(self, check: bool) -> LinkValidator
pub fn check_fragments(self, check: bool) -> LinkValidator
Enable or disable fragment validation
Trait Implementations§
Source§impl Clone for LinkValidator
impl Clone for LinkValidator
Source§fn clone(&self) -> LinkValidator
fn clone(&self) -> LinkValidator
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 LinkValidator
impl Debug for LinkValidator
Source§impl Default for LinkValidator
impl Default for LinkValidator
Source§fn default() -> LinkValidator
fn default() -> LinkValidator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinkValidator
impl RefUnwindSafe for LinkValidator
impl Send for LinkValidator
impl Sync for LinkValidator
impl Unpin for LinkValidator
impl UnwindSafe for LinkValidator
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