pub struct CreateLmntCredentialDto {
pub provider: ProviderTrue,
pub api_key: String,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
§api_key: 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 CreateLmntCredentialDto
impl CreateLmntCredentialDto
pub fn new(provider: ProviderTrue, api_key: String) -> CreateLmntCredentialDto
Trait Implementations§
Source§impl Clone for CreateLmntCredentialDto
impl Clone for CreateLmntCredentialDto
Source§fn clone(&self) -> CreateLmntCredentialDto
fn clone(&self) -> CreateLmntCredentialDto
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 CreateLmntCredentialDto
impl Debug for CreateLmntCredentialDto
Source§impl Default for CreateLmntCredentialDto
impl Default for CreateLmntCredentialDto
Source§fn default() -> CreateLmntCredentialDto
fn default() -> CreateLmntCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateLmntCredentialDto
impl<'de> Deserialize<'de> for CreateLmntCredentialDto
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 CreateLmntCredentialDto
impl PartialEq for CreateLmntCredentialDto
Source§impl Serialize for CreateLmntCredentialDto
impl Serialize for CreateLmntCredentialDto
impl StructuralPartialEq for CreateLmntCredentialDto
Auto Trait Implementations§
impl Freeze for CreateLmntCredentialDto
impl RefUnwindSafe for CreateLmntCredentialDto
impl Send for CreateLmntCredentialDto
impl Sync for CreateLmntCredentialDto
impl Unpin for CreateLmntCredentialDto
impl UnwindSafe for CreateLmntCredentialDto
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