[−][src]Struct nyaasi_scraper::magnet_uri::MagnetURI
A struct holding fields stored in a Magnet URI
Methods
impl MagnetURI
[src]
pub fn has_extensions(&self) -> bool
[src]
pub fn has_unknown_fields(&self) -> bool
[src]
pub fn has_topic_conflict(&self) -> bool
[src]
pub fn is_strictly_valid(&self) -> bool
[src]
pub fn names(&self) -> Vec<&str>
[src]
pub fn name(&self) -> Option<&str>
[src]
pub fn dn(&self) -> Option<&str>
[src]
pub fn length(&self) -> Option<u64>
[src]
pub fn xl(&self) -> Option<u64>
[src]
pub fn iter_topics(&self) -> impl Iterator<Item = &Topic>
[src]
pub fn topics(&self) -> Vec<&Topic>
[src]
pub fn info_hashes(&self) -> Vec<&String>
[src]
pub fn info_hash(&self) -> Option<&String>
[src]
pub fn add_field(&mut self, f: Field) -> &Self
[src]
pub fn add_name(&mut self, name: &str) -> &Self
[src]
pub fn add_topic(&mut self, xt: Topic) -> &Self
[src]
pub fn add_extension(&mut self, ext_name: &str, val: &str) -> &Self
[src]
pub fn set_name(&mut self, name: &str) -> &Self
[src]
pub fn set_info_hash(&mut self, bith: String) -> &Self
[src]
Trait Implementations
Auto Trait Implementations
impl Send for MagnetURI
impl Unpin for MagnetURI
impl Sync for MagnetURI
impl UnwindSafe for MagnetURI
impl RefUnwindSafe for MagnetURI
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,