pub struct ActionSpec {
pub name: String,
pub schema: Value,
}Expand description
A legal action with a hand-rolled JSON schema (an object whose fields are all required).
Fields§
§name: String§schema: ValueImplementations§
Trait Implementations§
Source§impl Clone for ActionSpec
impl Clone for ActionSpec
Auto Trait Implementations§
impl Forget for ActionSpec
impl Freeze for ActionSpec
impl Move for ActionSpec
impl RefUnwindSafe for ActionSpec
impl Send for ActionSpec
impl Sync for ActionSpec
impl Unpin for ActionSpec
impl UnsafeUnpin for ActionSpec
impl UnwindSafe for ActionSpec
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