pub struct Schemas {
pub args: Option<Value>,
pub result: Option<Value>,
}Expand description
The JSON Schemas of an action: of its arguments and of its result,
when its author gives them. describe lists them; the example of
the arguments (ActionSpec::args) stays beside them.
Fields§
§args: Option<Value>A JSON Schema of the arguments.
result: Option<Value>A JSON Schema of the result (the feedback’s data).
Trait Implementations§
impl StructuralPartialEq for Schemas
Auto Trait Implementations§
impl Freeze for Schemas
impl RefUnwindSafe for Schemas
impl Send for Schemas
impl Sync for Schemas
impl Unpin for Schemas
impl UnsafeUnpin for Schemas
impl UnwindSafe for Schemas
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more