This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by Microsoft TypeSpec | |
pub mod models { | |
pub mod all { | |
/// This is a sample CRUD pet store service. | |
pub mod pet_store { | |
#[derive( | |
Debug, | |
Clone, | |
PartialEq, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Demo of a little strongly-typed state machine utility. | |
*/ | |
// #region State Handler Types | |
/** | |
* The type used to control the behavior of the state machine. | |
*/ | |
type StateResult<States, Result> = StateTransitionResult<States> | StateResolveResult<Result> | StateRejectResult; |