pub struct CreateMakeCredentialDto {
pub provider: ProviderTrue,
pub team_id: String,
pub region: String,
pub api_key: String,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
§team_id: String
Team ID
region: String
Region of your application. For example: eu1, eu2, us1, us2
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 CreateMakeCredentialDto
impl CreateMakeCredentialDto
pub fn new( provider: ProviderTrue, team_id: String, region: String, api_key: String, ) -> CreateMakeCredentialDto
Trait Implementations§
Source§impl Clone for CreateMakeCredentialDto
impl Clone for CreateMakeCredentialDto
Source§fn clone(&self) -> CreateMakeCredentialDto
fn clone(&self) -> CreateMakeCredentialDto
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 Debug for CreateMakeCredentialDto
impl Debug for CreateMakeCredentialDto
Source§impl Default for CreateMakeCredentialDto
impl Default for CreateMakeCredentialDto
Source§fn default() -> CreateMakeCredentialDto
fn default() -> CreateMakeCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateMakeCredentialDto
impl<'de> Deserialize<'de> for CreateMakeCredentialDto
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 CreateMakeCredentialDto
impl PartialEq for CreateMakeCredentialDto
Source§impl Serialize for CreateMakeCredentialDto
impl Serialize for CreateMakeCredentialDto
impl StructuralPartialEq for CreateMakeCredentialDto
Auto Trait Implementations§
impl Freeze for CreateMakeCredentialDto
impl RefUnwindSafe for CreateMakeCredentialDto
impl Send for CreateMakeCredentialDto
impl Sync for CreateMakeCredentialDto
impl Unpin for CreateMakeCredentialDto
impl UnwindSafe for CreateMakeCredentialDto
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