pub struct SchemaArg {
pub name: String,
pub ty: String,
pub required: bool,
pub description: String,
}Expand description
A single argument in a host call schema (T51).
Fields§
§name: StringThe argument name (for named args) or position (for positional).
ty: StringThe expected type name (e.g. “string”, “i64”, “Instant”, “List<f64>”).
required: boolWhether the argument is required.
description: StringOptional description.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SchemaArg
Auto Trait Implementations§
impl Freeze for SchemaArg
impl RefUnwindSafe for SchemaArg
impl Send for SchemaArg
impl Sync for SchemaArg
impl Unpin for SchemaArg
impl UnsafeUnpin for SchemaArg
impl UnwindSafe for SchemaArg
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