pub struct VonageCredential {
pub vonage_application_private_key: String,
pub provider: ProviderTrue,
pub api_secret: String,
pub id: String,
pub org_id: String,
pub created_at: String,
pub updated_at: String,
pub vonage_application_id: String,
pub name: Option<String>,
pub api_key: String,
}
Fields§
§vonage_application_private_key: String
This is not returned in the API.
provider: ProviderTrue
§api_secret: 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.
vonage_application_id: String
This is the Vonage Application ID for the credential. Only relevant for Vonage credentials.
name: Option<String>
This is the name of credential. This is just for your reference.
api_key: String
Implementations§
Trait Implementations§
Source§impl Clone for VonageCredential
impl Clone for VonageCredential
Source§fn clone(&self) -> VonageCredential
fn clone(&self) -> VonageCredential
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 VonageCredential
impl Debug for VonageCredential
Source§impl Default for VonageCredential
impl Default for VonageCredential
Source§fn default() -> VonageCredential
fn default() -> VonageCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VonageCredential
impl<'de> Deserialize<'de> for VonageCredential
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 VonageCredential
impl PartialEq for VonageCredential
Source§impl Serialize for VonageCredential
impl Serialize for VonageCredential
impl StructuralPartialEq for VonageCredential
Auto Trait Implementations§
impl Freeze for VonageCredential
impl RefUnwindSafe for VonageCredential
impl Send for VonageCredential
impl Sync for VonageCredential
impl Unpin for VonageCredential
impl UnwindSafe for VonageCredential
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