[][src]Struct bigml::resource::Id

pub struct Id<R: Resource> { /* fields omitted */ }

A strongly-typed "resource ID" used to identify many different kinds of BigML resources.

Methods

impl<R: Resource> Id<R>[src]

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

Get this resource as a string.

pub fn dashboard_url(&self) -> Url[src]

Get a URL pointing at the human-readable version of this resource.

Trait Implementations

impl<R: Clone + Resource> Clone for Id<R>[src]

impl<R: Eq + Resource> Eq for Id<R>[src]

impl<R: Ord + Resource> Ord for Id<R>[src]

impl<R: PartialEq + Resource> PartialEq<Id<R>> for Id<R>[src]

impl<R: PartialOrd + Resource> PartialOrd<Id<R>> for Id<R>[src]

impl<R: Resource> Debug for Id<R>[src]

impl<R: Resource> Display for Id<R>[src]

impl<R: Resource> FromStr for Id<R>[src]

type Err = Error

The associated error which can be returned from parsing.

impl<R: Resource> StructuralPartialEq for Id<R>[src]

impl<R: Resource> StructuralEq for Id<R>[src]

impl<R: Resource> Serialize for Id<R>[src]

impl<'de, R: Resource> Deserialize<'de> for Id<R>[src]

Auto Trait Implementations

impl<R> Send for Id<R>

impl<R> Sync for Id<R>

impl<R> Unpin for Id<R> where
    R: Unpin

impl<R> UnwindSafe for Id<R> where
    R: UnwindSafe

impl<R> RefUnwindSafe for Id<R> where
    R: RefUnwindSafe

Blanket Implementations

impl<T> From<T> 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> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr

type Err = <T as FromStr>::Err

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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