pub struct Ranges {
pub min_version: i64,
pub max_version: i64,
pub profiles: Vec<String>,
}Expand description
What one end speaks: the versions [min, max] and its profiles by name,
in its order of preference, 1 to 8 of them. A peer may name profiles this
crate does not know.
Fields§
§min_version: i64§max_version: i64§profiles: Vec<String>Implementations§
Trait Implementations§
impl Eq for Ranges
impl StructuralPartialEq for Ranges
Auto Trait Implementations§
impl Freeze for Ranges
impl RefUnwindSafe for Ranges
impl Send for Ranges
impl Sync for Ranges
impl Unpin for Ranges
impl UnsafeUnpin for Ranges
impl UnwindSafe for Ranges
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more