pub struct ProjectionVersion;Expand description
The projection-protocol version marker, pinned to the JSON number 1
(spine §10.3). Additive evolution keeps the value; breaking changes
bump it. Independent of irVersion — the projection is a read-side
contract and never touches IR or checkpoint semantics.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectionVersion
impl Clone for ProjectionVersion
Source§fn clone(&self) -> ProjectionVersion
fn clone(&self) -> ProjectionVersion
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 moreimpl Copy for ProjectionVersion
Source§impl Debug for ProjectionVersion
impl Debug for ProjectionVersion
Source§impl Default for ProjectionVersion
impl Default for ProjectionVersion
Source§fn default() -> ProjectionVersion
fn default() -> ProjectionVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectionVersion
impl<'de> Deserialize<'de> for ProjectionVersion
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 ProjectionVersion
Source§impl JsonSchema for ProjectionVersion
impl JsonSchema for ProjectionVersion
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 PartialEq for ProjectionVersion
impl PartialEq for ProjectionVersion
Source§impl Serialize for ProjectionVersion
impl Serialize for ProjectionVersion
impl StructuralPartialEq for ProjectionVersion
Auto Trait Implementations§
impl Freeze for ProjectionVersion
impl RefUnwindSafe for ProjectionVersion
impl Send for ProjectionVersion
impl Sync for ProjectionVersion
impl Unpin for ProjectionVersion
impl UnsafeUnpin for ProjectionVersion
impl UnwindSafe for ProjectionVersion
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