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