Struct hydrus_api::wrapper::url::Url
source · pub struct Url {
pub url: String,
pub normalised_url: String,
pub url_type: UrlType,
pub match_name: String,
pub can_parse: bool,
/* private fields */
}
Fields§
§url: String
§normalised_url: String
§url_type: UrlType
§match_name: String
§can_parse: bool
Implementations§
source§impl Url
impl Url
sourcepub async fn files(&mut self) -> Result<Vec<HydrusFile>>
pub async fn files(&mut self) -> Result<Vec<HydrusFile>>
Returns a list of files associated with the url
sourcepub fn import(&mut self) -> UrlImportBuilder
pub fn import(&mut self) -> UrlImportBuilder
Creates an import builder for the url
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Url
impl Send for Url
impl Sync for Url
impl Unpin for Url
impl !UnwindSafe for Url
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