rlmesh::adapters::Text
A text input expected by a model.
struct TextFields
Associated functions
role
field[source]role: StringSemantic role matched against env text features.
container
field[source]container: TextContainerEmit a plain string or a single-element list.
fill
field[source]fill: Option<String>Fallback value used when the observation omits the feature; when None the input is omitted
from the payload instead. Named to match Actuator.fill.
new
associated function[source]fn new(role: impl Into<String>) -> SelfConstruct a string input with no fallback value.
Trait implementations
- impl Clone for Text
- impl Debug for Text
- impl StructuralPartialEq for Text
- impl PartialEq for Text
- impl Serialize for Text
- impl<'de> Deserialize<'de> for Text
- impl Eq for Text
- impl Hash for Text
- impl Display for Text
- impl From<Text> for InputNode
- impl From<Text> for ReadItem