Struct algorithmia::algo::AlgoUri [] [src]

pub struct AlgoUri { /* fields omitted */ }

URI of an Algorithmia algorithm

Methods

impl AlgoUri
[src]

Initialize AlgoUri with a typed Version

let uri = AlgoUri::with_version("demo/Hello", Version::Minor(0, 1));
assert_eq!(uri.path(), "demo/Hello/0.1");

Returns the algorithm's URI path

Trait Implementations

impl Clone for AlgoUri
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for AlgoUri
[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for AlgoUri
[src]

Performs the conversion.

impl From<String> for AlgoUri
[src]

Performs the conversion.