pub struct IrVersion;Expand description
The IR semantic-generation number, pinned to the integer 1 in v0.1
(02 §11). Serializes as the JSON number 1; any other value fails
deserialization (runners match irVersion exactly, fail-closed).
Implementations§
Trait Implementations§
impl Copy for IrVersion
Source§impl<'de> Deserialize<'de> for IrVersion
impl<'de> Deserialize<'de> for IrVersion
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IrVersion
Source§impl JsonSchema for IrVersion
impl JsonSchema for IrVersion
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§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§impl Ord for IrVersion
impl Ord for IrVersion
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for IrVersion
impl PartialOrd for IrVersion
impl StructuralPartialEq for IrVersion
Auto Trait Implementations§
impl Freeze for IrVersion
impl RefUnwindSafe for IrVersion
impl Send for IrVersion
impl Sync for IrVersion
impl Unpin for IrVersion
impl UnsafeUnpin for IrVersion
impl UnwindSafe for IrVersion
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