pub struct DynamicSecretCreateOpenAi {Show 13 fields
pub custom_username_template: Option<String>,
pub delete_protection: Option<String>,
pub description: Option<String>,
pub item_custom_fields: Option<HashMap<String, String>>,
pub json: Option<bool>,
pub name: String,
pub producer_encryption_key_name: Option<String>,
pub project_id: Option<String>,
pub tags: Option<Vec<String>>,
pub target_name: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub user_ttl: Option<String>,
}Expand description
DynamicSecretCreateOpenAi : dynamicSecretCreateOpenAI is a command that creates OpenAI dynamic secret
Fields§
§custom_username_template: Option<String>Customize how temporary usernames are generated using go template
delete_protection: Option<String>Protection from accidental deletion of this object [true/false]
description: Option<String>Description of the object
item_custom_fields: Option<HashMap<String, String>>Additional custom fields to associate with the item
json: Option<bool>Set output format to JSON
name: StringDynamic secret name
producer_encryption_key_name: Option<String>Dynamic producer encryption key
project_id: Option<String>Project ID
Add tags attached to this object
target_name: Option<String>Name of existing target to use in producer creation
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
user_ttl: Option<String>User TTL
Implementations§
Source§impl DynamicSecretCreateOpenAi
impl DynamicSecretCreateOpenAi
Sourcepub fn new(name: String) -> DynamicSecretCreateOpenAi
pub fn new(name: String) -> DynamicSecretCreateOpenAi
dynamicSecretCreateOpenAI is a command that creates OpenAI dynamic secret
Trait Implementations§
Source§impl Clone for DynamicSecretCreateOpenAi
impl Clone for DynamicSecretCreateOpenAi
Source§fn clone(&self) -> DynamicSecretCreateOpenAi
fn clone(&self) -> DynamicSecretCreateOpenAi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DynamicSecretCreateOpenAi
impl Debug for DynamicSecretCreateOpenAi
Source§impl Default for DynamicSecretCreateOpenAi
impl Default for DynamicSecretCreateOpenAi
Source§fn default() -> DynamicSecretCreateOpenAi
fn default() -> DynamicSecretCreateOpenAi
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DynamicSecretCreateOpenAi
impl<'de> Deserialize<'de> for DynamicSecretCreateOpenAi
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 DynamicSecretCreateOpenAi
impl PartialEq for DynamicSecretCreateOpenAi
Source§fn eq(&self, other: &DynamicSecretCreateOpenAi) -> bool
fn eq(&self, other: &DynamicSecretCreateOpenAi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DynamicSecretCreateOpenAi
Auto Trait Implementations§
impl Freeze for DynamicSecretCreateOpenAi
impl RefUnwindSafe for DynamicSecretCreateOpenAi
impl Send for DynamicSecretCreateOpenAi
impl Sync for DynamicSecretCreateOpenAi
impl Unpin for DynamicSecretCreateOpenAi
impl UnsafeUnpin for DynamicSecretCreateOpenAi
impl UnwindSafe for DynamicSecretCreateOpenAi
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