pub struct UpdateCustomLlmCredentialDto {
pub api_key: Option<String>,
pub authentication_plan: Option<OAuth2AuthenticationPlan>,
pub name: Option<String>,
}
Fields§
§api_key: Option<String>
This is not returned in the API.
authentication_plan: Option<OAuth2AuthenticationPlan>
This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey
name: Option<String>
This is the name of credential. This is just for your reference.
Implementations§
Source§impl UpdateCustomLlmCredentialDto
impl UpdateCustomLlmCredentialDto
pub fn new() -> UpdateCustomLlmCredentialDto
Trait Implementations§
Source§impl Clone for UpdateCustomLlmCredentialDto
impl Clone for UpdateCustomLlmCredentialDto
Source§fn clone(&self) -> UpdateCustomLlmCredentialDto
fn clone(&self) -> UpdateCustomLlmCredentialDto
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateCustomLlmCredentialDto
impl Debug for UpdateCustomLlmCredentialDto
Source§impl Default for UpdateCustomLlmCredentialDto
impl Default for UpdateCustomLlmCredentialDto
Source§fn default() -> UpdateCustomLlmCredentialDto
fn default() -> UpdateCustomLlmCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateCustomLlmCredentialDto
impl<'de> Deserialize<'de> for UpdateCustomLlmCredentialDto
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 UpdateCustomLlmCredentialDto
impl PartialEq for UpdateCustomLlmCredentialDto
Source§fn eq(&self, other: &UpdateCustomLlmCredentialDto) -> bool
fn eq(&self, other: &UpdateCustomLlmCredentialDto) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateCustomLlmCredentialDto
Auto Trait Implementations§
impl Freeze for UpdateCustomLlmCredentialDto
impl RefUnwindSafe for UpdateCustomLlmCredentialDto
impl Send for UpdateCustomLlmCredentialDto
impl Sync for UpdateCustomLlmCredentialDto
impl Unpin for UpdateCustomLlmCredentialDto
impl UnwindSafe for UpdateCustomLlmCredentialDto
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