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