pub struct Versions {
pub current: String,
pub latest: String,
pub options: String,
pub list: Vec<Version>,
}Expand description
The Version switch (contract/SPEC.md, “The model”): the listed versions, the one shown and Latest’s manifest.
Fields§
§current: StringThe key of the version shown: a listed version’s, or “latest”.
latest: StringThe main manifest’s URL, Latest’s.
options: StringThe options as canonical JSON (options_json), for the browser to build another version’s gallery the same
way.
list: Vec<Version>Trait Implementations§
impl Eq for Versions
impl StructuralPartialEq for Versions
Auto Trait Implementations§
impl Forget for Versions
impl Freeze for Versions
impl Move for Versions
impl RefUnwindSafe for Versions
impl Send for Versionswhere
RawVecInner: Send,
impl Sync for Versionswhere
RawVecInner: Sync,
impl Unpin for Versions
impl UnsafeUnpin for Versionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Version>: UnsafeUnpin,
impl UnwindSafe for Versionswhere
RawVecInner: UnwindSafe,
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