actix 中的處理函數可以返回實現「響應者」特徵的各種對象。從API返回一致的響應變得輕而易舉。 #[derive(Serialize)] struct Measurement { temperature: ...
確定! 回上一頁