Struct algorithmia::algo::AlgoUri
[−]
[src]
pub struct AlgoUri { /* fields omitted */ }
URI of an Algorithmia algorithm
Methods
impl AlgoUri
[src]
fn with_version<V: Into<Version>>(user_algo: &str, version: V) -> AlgoUri
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");
fn path(&self) -> &str
Returns the algorithm's URI path
Trait Implementations
impl Clone for AlgoUri
[src]
fn clone(&self) -> AlgoUri
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