pub struct S3Credential {
pub provider: ProviderTrue,
pub aws_access_key_id: String,
pub aws_secret_access_key: String,
pub region: String,
pub s3_bucket_name: String,
pub s3_path_prefix: String,
pub fallback_index: Option<f64>,
pub id: String,
pub org_id: String,
pub created_at: String,
pub updated_at: String,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
Credential provider. Only allowed value is s3
aws_access_key_id: String
AWS access key ID.
aws_secret_access_key: String
AWS access key secret. This is not returned in the API.
region: String
AWS region in which the S3 bucket is located.
s3_bucket_name: String
AWS S3 bucket name.
s3_path_prefix: String
The path prefix for the uploaded recording. Ex. "recordings/"
fallback_index: Option<f64>
This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
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.
Implementations§
Trait Implementations§
Source§impl Clone for S3Credential
impl Clone for S3Credential
Source§fn clone(&self) -> S3Credential
fn clone(&self) -> S3Credential
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 S3Credential
impl Debug for S3Credential
Source§impl Default for S3Credential
impl Default for S3Credential
Source§fn default() -> S3Credential
fn default() -> S3Credential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for S3Credential
impl<'de> Deserialize<'de> for S3Credential
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 S3Credential
impl PartialEq for S3Credential
Source§impl Serialize for S3Credential
impl Serialize for S3Credential
impl StructuralPartialEq for S3Credential
Auto Trait Implementations§
impl Freeze for S3Credential
impl RefUnwindSafe for S3Credential
impl Send for S3Credential
impl Sync for S3Credential
impl Unpin for S3Credential
impl UnwindSafe for S3Credential
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