[−][src]Struct bigml::resource::Id
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]
fn cmp(&self, other: &Id<R>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<R: PartialEq + Resource> PartialEq<Id<R>> for Id<R>
[src]
impl<R: PartialOrd + Resource> PartialOrd<Id<R>> for Id<R>
[src]
fn partial_cmp(&self, other: &Id<R>) -> Option<Ordering>
[src]
fn lt(&self, other: &Id<R>) -> bool
[src]
fn le(&self, other: &Id<R>) -> bool
[src]
fn gt(&self, other: &Id<R>) -> bool
[src]
fn ge(&self, other: &Id<R>) -> bool
[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.
fn from_str(id: &str) -> Result<Self>
[src]
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]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl<R> Send for Id<R>
impl<R> Sync for Id<R>
impl<R> Unpin for Id<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for Id<R> where
R: UnwindSafe,
R: UnwindSafe,
impl<R> RefUnwindSafe for Id<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<'a, T> TryFrom<&'a str> for T where
T: FromStr,
T: FromStr,
type Err = <T as FromStr>::Err
fn try_from(string: &'a str) -> Result<T, <T as TryFrom<&'a str>>::Err>
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,