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