pub struct CreateVonageCredentialDto {
pub provider: ProviderTrue,
pub api_secret: String,
pub api_key: String,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
§api_secret: String
This is not returned in the API.
api_key: String
§name: Option<String>
This is the name of credential. This is just for your reference.
Implementations§
Source§impl CreateVonageCredentialDto
impl CreateVonageCredentialDto
pub fn new( provider: ProviderTrue, api_secret: String, api_key: String, ) -> CreateVonageCredentialDto
Trait Implementations§
Source§impl Clone for CreateVonageCredentialDto
impl Clone for CreateVonageCredentialDto
Source§fn clone(&self) -> CreateVonageCredentialDto
fn clone(&self) -> CreateVonageCredentialDto
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 CreateVonageCredentialDto
impl Debug for CreateVonageCredentialDto
Source§impl Default for CreateVonageCredentialDto
impl Default for CreateVonageCredentialDto
Source§fn default() -> CreateVonageCredentialDto
fn default() -> CreateVonageCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateVonageCredentialDto
impl<'de> Deserialize<'de> for CreateVonageCredentialDto
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 CreateVonageCredentialDto
Auto Trait Implementations§
impl Freeze for CreateVonageCredentialDto
impl RefUnwindSafe for CreateVonageCredentialDto
impl Send for CreateVonageCredentialDto
impl Sync for CreateVonageCredentialDto
impl Unpin for CreateVonageCredentialDto
impl UnwindSafe for CreateVonageCredentialDto
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