Enum openstack::ApiVersionRequest
[−]
[src]
pub enum ApiVersionRequest {
Minimum,
Latest,
LatestFrom(ApiVersion, ApiVersion),
Exact(ApiVersion),
Choice(Vec<ApiVersion>),
}A request for negotiating an API version.
Variants
MinimumMinimum possible version (usually the default).
LatestLatest version.
This may result in an incompatible version, so it is always recommended to use LatestFrom or Choice instead.
LatestFrom(ApiVersion, ApiVersion)Latest version from the given range.
Exact(ApiVersion)Specified version.
This is a very inflexible approach, and is only recommended when the application can work with one and only one version.
Choice(Vec<ApiVersion>)Choice between several versions.
Trait Implementations
impl Debug for ApiVersionRequest[src]
impl Clone for ApiVersionRequest[src]
fn clone(&self) -> ApiVersionRequest[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more