pub struct RuntimeManifest {
pub language: String,
pub versions: HashMap<String, RuntimeVersion>,
}Fields§
§language: String§versions: HashMap<String, RuntimeVersion>Implementations§
Source§impl RuntimeManifest
impl RuntimeManifest
pub fn new(language: String) -> Self
pub fn add_version(&mut self, version: String, info: RuntimeVersion)
pub fn get_version(&self, version: &str) -> Option<&RuntimeVersion>
Trait Implementations§
Source§impl Clone for RuntimeManifest
impl Clone for RuntimeManifest
Source§fn clone(&self) -> RuntimeManifest
fn clone(&self) -> RuntimeManifest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeManifest
impl Debug for RuntimeManifest
Source§impl<'de> Deserialize<'de> for RuntimeManifest
impl<'de> Deserialize<'de> for RuntimeManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuntimeManifest
impl PartialEq for RuntimeManifest
Source§impl Serialize for RuntimeManifest
impl Serialize for RuntimeManifest
impl StructuralPartialEq for RuntimeManifest
Auto Trait Implementations§
impl Freeze for RuntimeManifest
impl RefUnwindSafe for RuntimeManifest
impl Send for RuntimeManifest
impl Sync for RuntimeManifest
impl Unpin for RuntimeManifest
impl UnwindSafe for RuntimeManifest
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