pub struct CompleteAi200Response {
pub text: String,
pub model: Box<AiProviderModel>,
}Fields§
§text: String§model: Box<AiProviderModel>Implementations§
Source§impl CompleteAi200Response
impl CompleteAi200Response
pub fn new(text: String, model: AiProviderModel) -> CompleteAi200Response
Trait Implementations§
Source§impl Clone for CompleteAi200Response
impl Clone for CompleteAi200Response
Source§impl Debug for CompleteAi200Response
impl Debug for CompleteAi200Response
Source§impl Default for CompleteAi200Response
impl Default for CompleteAi200Response
Source§impl<'de> Deserialize<'de> for CompleteAi200Response
impl<'de> Deserialize<'de> for CompleteAi200Response
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 CompleteAi200Response
impl PartialEq for CompleteAi200Response
Source§impl Serialize for CompleteAi200Response
impl Serialize for CompleteAi200Response
impl StructuralPartialEq for CompleteAi200Response
Auto Trait Implementations§
impl Freeze for CompleteAi200Response
impl RefUnwindSafe for CompleteAi200Response
impl Send for CompleteAi200Response
impl Sync for CompleteAi200Response
impl Unpin for CompleteAi200Response
impl UnsafeUnpin for CompleteAi200Response
impl UnwindSafe for CompleteAi200Response
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