#[non_exhaustive]pub struct ModelCompleteResult {
pub command_id: String,
pub status: CommandStatus,
}Expand description
model/complete result: admission only — the ack is never the completion.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_id: StringThe request’s id, echoed.
status: CommandStatusAlways accepted on this path.
Trait Implementations§
Source§impl Clone for ModelCompleteResult
impl Clone for ModelCompleteResult
Source§impl Debug for ModelCompleteResult
impl Debug for ModelCompleteResult
Source§impl<'de> Deserialize<'de> for ModelCompleteResult
impl<'de> Deserialize<'de> for ModelCompleteResult
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
impl Eq for ModelCompleteResult
Source§impl PartialEq for ModelCompleteResult
impl PartialEq for ModelCompleteResult
Source§impl Serialize for ModelCompleteResult
impl Serialize for ModelCompleteResult
impl StructuralPartialEq for ModelCompleteResult
Auto Trait Implementations§
impl Forget for ModelCompleteResult
impl Freeze for ModelCompleteResult
impl Move for ModelCompleteResult
impl RefUnwindSafe for ModelCompleteResult
impl Send for ModelCompleteResult
impl Sync for ModelCompleteResult
impl Unpin for ModelCompleteResult
impl UnsafeUnpin for ModelCompleteResult
impl UnwindSafe for ModelCompleteResult
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