pub struct MissionChatResponse {
pub mission_id: Option<String>,
pub content: Option<String>,
pub model: Option<String>,
pub cost_ticks: i64,
pub usage: Option<MissionChatUsage>,
}Expand description
Response from chatting with the architect.
Fields§
§mission_id: Option<String>Mission identifier.
content: Option<String>Architect’s response content.
model: Option<String>Model used.
cost_ticks: i64Cost in ticks.
usage: Option<MissionChatUsage>Token usage.
Trait Implementations§
Source§impl Clone for MissionChatResponse
impl Clone for MissionChatResponse
Source§fn clone(&self) -> MissionChatResponse
fn clone(&self) -> MissionChatResponse
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 Debug for MissionChatResponse
impl Debug for MissionChatResponse
Source§impl<'de> Deserialize<'de> for MissionChatResponse
impl<'de> Deserialize<'de> for MissionChatResponse
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
Auto Trait Implementations§
impl Freeze for MissionChatResponse
impl RefUnwindSafe for MissionChatResponse
impl Send for MissionChatResponse
impl Sync for MissionChatResponse
impl Unpin for MissionChatResponse
impl UnsafeUnpin for MissionChatResponse
impl UnwindSafe for MissionChatResponse
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