pub struct RustEmitter;Expand description
Split-YAML Rust client schema crate emitter.
Implementations§
Source§impl RustEmitter
impl RustEmitter
Sourcepub fn generator_handlers(&self) -> Vec<ProjectionHandler>
pub fn generator_handlers(&self) -> Vec<ProjectionHandler>
Return its exact projection-handler evidence.
Sourcepub fn code_resources(&self) -> Result<Vec<CodeResourceDigest>, Diagnostic>
pub fn code_resources(&self) -> Result<Vec<CodeResourceDigest>, Diagnostic>
Hash every fixed byte resource consumed by emission.
Sourcepub fn emit(
&self,
projection: &RuntimeProjection,
) -> Result<GeneratedPackage, Diagnostic>
pub fn emit( &self, projection: &RuntimeProjection, ) -> Result<GeneratedPackage, Diagnostic>
Emit exactly eleven deterministic crate files without filesystem mutation.
Sourcepub fn emit_with_declared_schema(
&self,
projection: &RuntimeProjection,
declared: &DeclaredSchema,
) -> Result<GeneratedPackage, Diagnostic>
pub fn emit_with_declared_schema( &self, projection: &RuntimeProjection, declared: &DeclaredSchema, ) -> Result<GeneratedPackage, Diagnostic>
Emit a Rust package carrying the canonical declared schema required by the authenticated remote model-query authority.
Trait Implementations§
Source§impl Clone for RustEmitter
impl Clone for RustEmitter
Source§fn clone(&self) -> RustEmitter
fn clone(&self) -> RustEmitter
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 RustEmitter
Source§impl Debug for RustEmitter
impl Debug for RustEmitter
Source§impl Default for RustEmitter
impl Default for RustEmitter
Source§fn default() -> RustEmitter
fn default() -> RustEmitter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RustEmitter
impl RefUnwindSafe for RustEmitter
impl Send for RustEmitter
impl Sync for RustEmitter
impl Unpin for RustEmitter
impl UnsafeUnpin for RustEmitter
impl UnwindSafe for RustEmitter
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