pub struct UpdateOpenAiCredentialDto {
pub api_key: Option<String>,
pub name: Option<String>,
}
Fields§
§api_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.
Implementations§
Source§impl UpdateOpenAiCredentialDto
impl UpdateOpenAiCredentialDto
pub fn new() -> UpdateOpenAiCredentialDto
Trait Implementations§
Source§impl Clone for UpdateOpenAiCredentialDto
impl Clone for UpdateOpenAiCredentialDto
Source§fn clone(&self) -> UpdateOpenAiCredentialDto
fn clone(&self) -> UpdateOpenAiCredentialDto
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 Debug for UpdateOpenAiCredentialDto
impl Debug for UpdateOpenAiCredentialDto
Source§impl Default for UpdateOpenAiCredentialDto
impl Default for UpdateOpenAiCredentialDto
Source§fn default() -> UpdateOpenAiCredentialDto
fn default() -> UpdateOpenAiCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateOpenAiCredentialDto
impl<'de> Deserialize<'de> for UpdateOpenAiCredentialDto
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 UpdateOpenAiCredentialDto
Auto Trait Implementations§
impl Freeze for UpdateOpenAiCredentialDto
impl RefUnwindSafe for UpdateOpenAiCredentialDto
impl Send for UpdateOpenAiCredentialDto
impl Sync for UpdateOpenAiCredentialDto
impl Unpin for UpdateOpenAiCredentialDto
impl UnwindSafe for UpdateOpenAiCredentialDto
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