pub struct SystemOneResponse {
pub answers: IndexMap<String, Answer>,
pub usage: Usage,
pub routing: Option<SystemRoutingSummary>,
}Expand description
Jev 互換 POST /v1/systemone レスポンスペイロード。
Fields§
§answers: IndexMap<String, Answer>各 question_id に対応する判定結果マップ。
usage: Usageトークン使用統計情報。
routing: Option<SystemRoutingSummary>リクエスト全体の集約ルーティングサマリー(任意)。
Implementations§
Source§impl SystemOneResponse
impl SystemOneResponse
Sourcepub fn with_routing(self, routing: SystemRoutingSummary) -> Self
pub fn with_routing(self, routing: SystemRoutingSummary) -> Self
集約ルーティングサマリーを付与して新規レスポンスを生成する。
Trait Implementations§
Source§impl Clone for SystemOneResponse
impl Clone for SystemOneResponse
Source§fn clone(&self) -> SystemOneResponse
fn clone(&self) -> SystemOneResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for SystemOneResponse
impl ComposeSchema for SystemOneResponse
Source§impl Debug for SystemOneResponse
impl Debug for SystemOneResponse
Source§impl<'de> Deserialize<'de> for SystemOneResponse
impl<'de> Deserialize<'de> for SystemOneResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SystemOneResponse
impl PartialEq for SystemOneResponse
Source§impl Serialize for SystemOneResponse
impl Serialize for SystemOneResponse
impl StructuralPartialEq for SystemOneResponse
Auto Trait Implementations§
impl Freeze for SystemOneResponse
impl RefUnwindSafe for SystemOneResponse
impl Send for SystemOneResponse
impl Sync for SystemOneResponse
impl Unpin for SystemOneResponse
impl UnsafeUnpin for SystemOneResponse
impl UnwindSafe for SystemOneResponse
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