Struct bigml::resource::Id
[−]
[src]
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]
Trait Implementations
impl<R: Clone + Resource> Clone for Id<R>
[src]
fn clone(&self) -> Id<R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<R: PartialEq + Resource> PartialEq for Id<R>
[src]
fn eq(&self, __arg_0: &Id<R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Id<R>) -> bool
This method tests for !=
.
impl<R: Eq + Resource> Eq for Id<R>
[src]
impl<R: PartialOrd + Resource> PartialOrd for Id<R>
[src]
fn partial_cmp(&self, __arg_0: &Id<R>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Id<R>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Id<R>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Id<R>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Id<R>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<R: Ord + Resource> Ord for Id<R>
[src]
fn cmp(&self, __arg_0: &Id<R>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min
)Compares and returns the minimum of two values. Read more
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>
Parses a string s
to return a value of this type. Read more
impl<R: Resource> Debug for Id<R>
[src]
impl<R: Resource> Display 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>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more