pub struct FallbackBinding {
pub step: String,
pub target: u32,
pub backend_id: String,
pub artifact: ArtifactId,
pub descriptor: DescriptorId,
pub output: OutputKind,
}Expand description
A runtime fallback target bound at compile time.
Fields§
§step: String§target: u321 for the first fallback; the bound backend is target 0.
backend_id: String§artifact: ArtifactId§descriptor: DescriptorId§output: OutputKindAlways the primary binding’s output kind.
Trait Implementations§
Source§impl Clone for FallbackBinding
impl Clone for FallbackBinding
Source§impl Debug for FallbackBinding
impl Debug for FallbackBinding
Source§impl<'de> Deserialize<'de> for FallbackBinding
impl<'de> Deserialize<'de> for FallbackBinding
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
impl Eq for FallbackBinding
Source§impl JsonSchema for FallbackBinding
impl JsonSchema for FallbackBinding
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 FallbackBinding
impl PartialEq for FallbackBinding
Source§impl Serialize for FallbackBinding
impl Serialize for FallbackBinding
impl StructuralPartialEq for FallbackBinding
Auto Trait Implementations§
impl Freeze for FallbackBinding
impl RefUnwindSafe for FallbackBinding
impl Send for FallbackBinding
impl Sync for FallbackBinding
impl Unpin for FallbackBinding
impl UnsafeUnpin for FallbackBinding
impl UnwindSafe for FallbackBinding
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