pub struct UpdatePerplexityAiCredentialDto {
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§
Trait Implementations§
Source§impl Clone for UpdatePerplexityAiCredentialDto
impl Clone for UpdatePerplexityAiCredentialDto
Source§fn clone(&self) -> UpdatePerplexityAiCredentialDto
fn clone(&self) -> UpdatePerplexityAiCredentialDto
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 Default for UpdatePerplexityAiCredentialDto
impl Default for UpdatePerplexityAiCredentialDto
Source§fn default() -> UpdatePerplexityAiCredentialDto
fn default() -> UpdatePerplexityAiCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdatePerplexityAiCredentialDto
impl<'de> Deserialize<'de> for UpdatePerplexityAiCredentialDto
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 UpdatePerplexityAiCredentialDto
impl PartialEq for UpdatePerplexityAiCredentialDto
Source§fn eq(&self, other: &UpdatePerplexityAiCredentialDto) -> bool
fn eq(&self, other: &UpdatePerplexityAiCredentialDto) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdatePerplexityAiCredentialDto
Auto Trait Implementations§
impl Freeze for UpdatePerplexityAiCredentialDto
impl RefUnwindSafe for UpdatePerplexityAiCredentialDto
impl Send for UpdatePerplexityAiCredentialDto
impl Sync for UpdatePerplexityAiCredentialDto
impl Unpin for UpdatePerplexityAiCredentialDto
impl UnwindSafe for UpdatePerplexityAiCredentialDto
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