[][src]Trait osauth::stream::Resource

pub trait Resource {
    type Id: Debug + Serialize;
    type Root: DeserializeOwned;
    pub fn resource_id(&self) -> Self::Id;
}

A single resource.

Associated Types

type Id: Debug + Serialize[src]

Type of an ID.

type Root: DeserializeOwned[src]

Root type of the listing.

Loading content...

Required methods

pub fn resource_id(&self) -> Self::Id[src]

Retrieve a copy of the ID.

Loading content...

Implementors

Loading content...