pub struct SecretRequest {
pub id: Option<Uuid>,
pub name: String,
pub description: Option<String>,
pub provider: String,
pub parameters: Option<Option<Value>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
SecretRequest : Serializer for Secret objects.
Fields§
§id: Option<Uuid>§name: String§description: Option<String>§provider: String§parameters: Option<Option<Value>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl SecretRequest
impl SecretRequest
Sourcepub fn new(name: String, provider: String) -> SecretRequest
pub fn new(name: String, provider: String) -> SecretRequest
Serializer for Secret objects.
Trait Implementations§
Source§impl Clone for SecretRequest
impl Clone for SecretRequest
Source§fn clone(&self) -> SecretRequest
fn clone(&self) -> SecretRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 SecretRequest
impl Debug for SecretRequest
Source§impl Default for SecretRequest
impl Default for SecretRequest
Source§fn default() -> SecretRequest
fn default() -> SecretRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretRequest
impl<'de> Deserialize<'de> for SecretRequest
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 SecretRequest
impl PartialEq for SecretRequest
Source§impl Serialize for SecretRequest
impl Serialize for SecretRequest
impl StructuralPartialEq for SecretRequest
Auto Trait Implementations§
impl Freeze for SecretRequest
impl RefUnwindSafe for SecretRequest
impl Send for SecretRequest
impl Sync for SecretRequest
impl Unpin for SecretRequest
impl UnsafeUnpin for SecretRequest
impl UnwindSafe for SecretRequest
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