pub struct PlatformRecipe {
pub url: String,
pub sha256: String,
pub install_to: Option<String>,
pub executable: bool,
pub archive: Option<ArchiveSpec>,
}Fields§
§url: String§sha256: String§install_to: Option<String>Bare-binary install target (relative to mur_home); None when archive.
executable: bool§archive: Option<ArchiveSpec>Trait Implementations§
Source§impl Clone for PlatformRecipe
impl Clone for PlatformRecipe
Source§fn clone(&self) -> PlatformRecipe
fn clone(&self) -> PlatformRecipe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformRecipe
impl Debug for PlatformRecipe
Source§impl<'de> Deserialize<'de> for PlatformRecipe
impl<'de> Deserialize<'de> for PlatformRecipe
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 JsonSchema for PlatformRecipe
impl JsonSchema for PlatformRecipe
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PlatformRecipe
impl PartialEq for PlatformRecipe
Source§impl Serialize for PlatformRecipe
impl Serialize for PlatformRecipe
impl StructuralPartialEq for PlatformRecipe
Auto Trait Implementations§
impl Freeze for PlatformRecipe
impl RefUnwindSafe for PlatformRecipe
impl Send for PlatformRecipe
impl Sync for PlatformRecipe
impl Unpin for PlatformRecipe
impl UnsafeUnpin for PlatformRecipe
impl UnwindSafe for PlatformRecipe
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