pub struct UpdateAzureOpenAiCredentialDto {
pub region: Option<RegionTrue>,
pub models: Option<Vec<ModelsTrue>>,
pub open_ai_key: Option<String>,
pub ocp_apim_subscription_key: Option<String>,
pub name: Option<String>,
pub open_ai_endpoint: Option<String>,
}
Fields§
§region: Option<RegionTrue>
§models: Option<Vec<ModelsTrue>>
§open_ai_key: Option<String>
This is not returned in the API.
ocp_apim_subscription_key: Option<String>
This is not returned in the API.
name: Option<String>
This is the name of credential. This is just for your reference.
open_ai_endpoint: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for UpdateAzureOpenAiCredentialDto
impl Clone for UpdateAzureOpenAiCredentialDto
Source§fn clone(&self) -> UpdateAzureOpenAiCredentialDto
fn clone(&self) -> UpdateAzureOpenAiCredentialDto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for UpdateAzureOpenAiCredentialDto
impl Default for UpdateAzureOpenAiCredentialDto
Source§fn default() -> UpdateAzureOpenAiCredentialDto
fn default() -> UpdateAzureOpenAiCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAzureOpenAiCredentialDto
impl<'de> Deserialize<'de> for UpdateAzureOpenAiCredentialDto
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 UpdateAzureOpenAiCredentialDto
impl PartialEq for UpdateAzureOpenAiCredentialDto
Source§fn eq(&self, other: &UpdateAzureOpenAiCredentialDto) -> bool
fn eq(&self, other: &UpdateAzureOpenAiCredentialDto) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateAzureOpenAiCredentialDto
Auto Trait Implementations§
impl Freeze for UpdateAzureOpenAiCredentialDto
impl RefUnwindSafe for UpdateAzureOpenAiCredentialDto
impl Send for UpdateAzureOpenAiCredentialDto
impl Sync for UpdateAzureOpenAiCredentialDto
impl Unpin for UpdateAzureOpenAiCredentialDto
impl UnwindSafe for UpdateAzureOpenAiCredentialDto
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