[−][src]Enum osproto::common::Root
A result of a version discovery endpoint.
Variants
Multiple major versions.
Single major version.
Fields of OneVersion
version: Version
Implementations
impl Root
[src][−]
pub fn sort(&mut self)
[src][−]
Sort versions from lowest to highest (using unstable sorting).
pub fn into_sorted(self) -> Self
[src][−]
Create a Root
sorted with sort
.
pub fn into_stable_iter(self) -> IntoStableIterⓘNotable traits for IntoStableIter
impl Iterator for IntoStableIter type Item = Version;
[src][−]
Notable traits for IntoStableIter
impl Iterator for IntoStableIter type Item = Version;
Create an iterator over stable versions.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnwindSafe for Root
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,