pub struct TransformDescriptor {
pub id: String,
pub version: String,
pub key: String,
pub root: String,
pub impl_kind: String,
pub inputs: Vec<FieldInfo>,
pub outputs: Vec<FieldInfo>,
pub hardware: String,
pub deterministic: bool,
pub io: bool,
pub streaming: bool,
pub artifact: Option<String>,
}Expand description
A registry unit (transform or model) as the UI sees it.
Fields§
§id: String§version: String§key: Stringid@version — the selector used everywhere (pipeline step, UDF registration, provenance).
root: StringWhich registry root supplied it (the provided package or a business bundle).
impl_kind: String§inputs: Vec<FieldInfo>Input signature (for a model: the feature columns). First input only, flattened for the UI.
outputs: Vec<FieldInfo>Output signature (for a model: prediction + any pass-through columns).
hardware: String§deterministic: bool§io: bool§streaming: bool§artifact: Option<String>The artifact/payload path within the unit directory (.onnx, .wasm, expr.fvx, …).
Trait Implementations§
Source§impl Clone for TransformDescriptor
impl Clone for TransformDescriptor
Source§fn clone(&self) -> TransformDescriptor
fn clone(&self) -> TransformDescriptor
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 moreSource§impl Debug for TransformDescriptor
impl Debug for TransformDescriptor
Source§impl From<&RegisteredTransform> for TransformDescriptor
impl From<&RegisteredTransform> for TransformDescriptor
Source§fn from(r: &RegisteredTransform) -> Self
fn from(r: &RegisteredTransform) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransformDescriptor
impl PartialEq for TransformDescriptor
Source§impl Serialize for TransformDescriptor
impl Serialize for TransformDescriptor
impl StructuralPartialEq for TransformDescriptor
Auto Trait Implementations§
impl Freeze for TransformDescriptor
impl RefUnwindSafe for TransformDescriptor
impl Send for TransformDescriptor
impl Sync for TransformDescriptor
impl Unpin for TransformDescriptor
impl UnsafeUnpin for TransformDescriptor
impl UnwindSafe for TransformDescriptor
Blanket Implementations§
impl<T> Allocation for T
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