Struct rustsec::advisory::affected::Identifier[][src]

pub struct Identifier(_);

Identifiers within paths. Note that the typical Rust path grammar supports multiple types of path segments, however for the purposes of vulnerability advisories we only care about identifiers. https://doc.rust-lang.org/reference/identifiers.html

Implementations

impl Identifier[src]

pub fn as_str(&self) -> &str[src]

Borrow this identifier as a str

Trait Implementations

impl AsRef<str> for Identifier[src]

impl Clone for Identifier[src]

impl Debug for Identifier[src]

impl Eq for Identifier[src]

impl FromStr for Identifier[src]

type Err = Error

The associated error which can be returned from parsing.

fn from_str(identifier: &str) -> Result<Self, Error>[src]

Parse an Identifier within a path

impl Hash for Identifier[src]

impl Ord for Identifier[src]

impl PartialEq<Identifier> for Identifier[src]

impl PartialOrd<Identifier> for Identifier[src]

impl StructuralEq for Identifier[src]

impl StructuralPartialEq for Identifier[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.