pub struct AddressModel;Trait Implementations§
Source§impl PrismModel<DefaultHostTypes, AddrBounds, Sha256Hasher, AddressResolverTuple<Sha256Hasher>> for AddressModel
impl PrismModel<DefaultHostTypes, AddrBounds, Sha256Hasher, AddressResolverTuple<Sha256Hasher>> for AddressModel
Source§type Input = JsonInput
type Input = JsonInput
Input feature type — a
ConstrainedTypeShape impl declared in
foundation vocabulary.
Per wiki ADR-023, Input is also bound by IntoBindingValue so
run_route can serialize the runtime input value into the
CompileUnit binding table for Term::Variable { name_index: 0 }
(the route’s input-parameter slot per ADR-022 D3 G2).Source§type Output = AddressLabel
type Output = AddressLabel
Output label type — a
ConstrainedTypeShape impl declared in
foundation vocabulary that is also a crate::enforcement::GroundedShape.Source§type Route = AddressRoute
type Route = AddressRoute
Type-level witness of the term tree mapping
Input to Output.
Bound by FoundationClosed: the prism_model! macro emits the
FoundationClosed impl for this witness iff every node is a
foundation-vocabulary item, satisfying the closure check at the
application’s compile time per UORassembly (TC-04).Source§fn forward(
input: <Self as PrismModel<DefaultHostTypes, AddrBounds, Sha256Hasher, AddressResolverTuple<Sha256Hasher>>>::Input,
) -> Result<Grounded<<Self as PrismModel<DefaultHostTypes, AddrBounds, Sha256Hasher, AddressResolverTuple<Sha256Hasher>>>::Output>, PipelineFailure>
fn forward( input: <Self as PrismModel<DefaultHostTypes, AddrBounds, Sha256Hasher, AddressResolverTuple<Sha256Hasher>>>::Input, ) -> Result<Grounded<<Self as PrismModel<DefaultHostTypes, AddrBounds, Sha256Hasher, AddressResolverTuple<Sha256Hasher>>>::Output>, PipelineFailure>
impl Sealed for AddressModel
Auto Trait Implementations§
impl Freeze for AddressModel
impl RefUnwindSafe for AddressModel
impl Send for AddressModel
impl Sync for AddressModel
impl Unpin for AddressModel
impl UnsafeUnpin for AddressModel
impl UnwindSafe for AddressModel
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