pub struct UpdateDeepgramCredentialDto {
pub api_key: Option<String>,
pub name: Option<String>,
pub api_url: 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.
api_url: Option<String>
This can be used to point to an onprem Deepgram instance. Defaults to api.deepgram.com.
Implementations§
Source§impl UpdateDeepgramCredentialDto
impl UpdateDeepgramCredentialDto
pub fn new() -> UpdateDeepgramCredentialDto
Trait Implementations§
Source§impl Clone for UpdateDeepgramCredentialDto
impl Clone for UpdateDeepgramCredentialDto
Source§fn clone(&self) -> UpdateDeepgramCredentialDto
fn clone(&self) -> UpdateDeepgramCredentialDto
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 UpdateDeepgramCredentialDto
impl Debug for UpdateDeepgramCredentialDto
Source§impl Default for UpdateDeepgramCredentialDto
impl Default for UpdateDeepgramCredentialDto
Source§fn default() -> UpdateDeepgramCredentialDto
fn default() -> UpdateDeepgramCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateDeepgramCredentialDto
impl<'de> Deserialize<'de> for UpdateDeepgramCredentialDto
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 UpdateDeepgramCredentialDto
Auto Trait Implementations§
impl Freeze for UpdateDeepgramCredentialDto
impl RefUnwindSafe for UpdateDeepgramCredentialDto
impl Send for UpdateDeepgramCredentialDto
impl Sync for UpdateDeepgramCredentialDto
impl Unpin for UpdateDeepgramCredentialDto
impl UnwindSafe for UpdateDeepgramCredentialDto
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