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