oxinat_core 0.14.1

oxinat xapi-oxidized core library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::fmt::Display;

/// Represents the URI paths available for a
/// specific version of the XNAT REST API.
pub trait Version: Display {
    /// Represents the root URI used by the API
    /// version.
    fn root_uri(&self) -> String;
    /// Represents the root URI used by the API
    /// to access legacy  and data endpoints.
    fn data_uri(&self) -> String;
}