pub struct TwilioCredential {
pub provider: ProviderTrue,
pub auth_token: Option<String>,
pub api_key: Option<String>,
pub api_secret: Option<String>,
pub id: String,
pub org_id: String,
pub created_at: String,
pub updated_at: String,
pub name: Option<String>,
pub account_sid: 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.
id: String
This is the unique identifier for the credential.
org_id: String
This is the unique identifier for the org that this credential belongs to.
created_at: String
This is the ISO 8601 date-time string of when the credential was created.
updated_at: String
This is the ISO 8601 date-time string of when the assistant was last updated.
name: Option<String>
This is the name of credential. This is just for your reference.
account_sid: String
Implementations§
Source§impl TwilioCredential
impl TwilioCredential
pub fn new( provider: ProviderTrue, id: String, org_id: String, created_at: String, updated_at: String, account_sid: String, ) -> TwilioCredential
Trait Implementations§
Source§impl Clone for TwilioCredential
impl Clone for TwilioCredential
Source§fn clone(&self) -> TwilioCredential
fn clone(&self) -> TwilioCredential
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 TwilioCredential
impl Debug for TwilioCredential
Source§impl Default for TwilioCredential
impl Default for TwilioCredential
Source§fn default() -> TwilioCredential
fn default() -> TwilioCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TwilioCredential
impl<'de> Deserialize<'de> for TwilioCredential
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 TwilioCredential
impl PartialEq for TwilioCredential
Source§impl Serialize for TwilioCredential
impl Serialize for TwilioCredential
impl StructuralPartialEq for TwilioCredential
Auto Trait Implementations§
impl Freeze for TwilioCredential
impl RefUnwindSafe for TwilioCredential
impl Send for TwilioCredential
impl Sync for TwilioCredential
impl Unpin for TwilioCredential
impl UnwindSafe for TwilioCredential
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