pub struct TestLLMProviderKeyResponse {
pub success: bool,
pub message: Option<String>,
}Expand description
TestLLMProviderKeyResponse model.
Fields§
§success: boolFalse when the connector could not reach the remote or the credentials were refused. This is the only field that says so; the status will be 200 either way.
message: Option<String>Why it failed. Absent on success.
Trait Implementations§
Source§impl Clone for TestLLMProviderKeyResponse
impl Clone for TestLLMProviderKeyResponse
Source§fn clone(&self) -> TestLLMProviderKeyResponse
fn clone(&self) -> TestLLMProviderKeyResponse
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 TestLLMProviderKeyResponse
impl Debug for TestLLMProviderKeyResponse
Source§impl Default for TestLLMProviderKeyResponse
impl Default for TestLLMProviderKeyResponse
Source§fn default() -> TestLLMProviderKeyResponse
fn default() -> TestLLMProviderKeyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestLLMProviderKeyResponse
impl<'de> Deserialize<'de> for TestLLMProviderKeyResponse
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 StructuralPartialEq for TestLLMProviderKeyResponse
Auto Trait Implementations§
impl Freeze for TestLLMProviderKeyResponse
impl RefUnwindSafe for TestLLMProviderKeyResponse
impl Send for TestLLMProviderKeyResponse
impl Sync for TestLLMProviderKeyResponse
impl Unpin for TestLLMProviderKeyResponse
impl UnsafeUnpin for TestLLMProviderKeyResponse
impl UnwindSafe for TestLLMProviderKeyResponse
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