Struct cargonauts::api::raw::Identifier [] [src]

pub struct Identifier {
    pub resource: &'static str,
    pub id: String,
}

Fields

Methods

impl Identifier
[src]

Trait Implementations

impl Clone for Identifier
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Identifier
[src]

impl PartialEq for Identifier
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Identifier
[src]

Formats the value using the given formatter.

impl<'a, T: Resource + 'a> From<&'a T> for Identifier
[src]

Performs the conversion.

impl<'a, T: RawFetch> From<&'a ResourceObject<T>> for Identifier
[src]

Performs the conversion.

impl Serialize for Identifier
[src]

Serializes this value into this serializer.