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