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