pub struct IdentityConfig {
pub id_field: String,
pub import_field: Option<String>,
pub force_new_fields: Vec<String>,
}Expand description
Identity and import configuration.
Fields§
§id_field: StringPrimary identifier field name.
import_field: Option<String>Field used for Terraform import (defaults to id_field).
force_new_fields: Vec<String>Fields whose changes force resource replacement.
Trait Implementations§
Source§impl Clone for IdentityConfig
impl Clone for IdentityConfig
Source§fn clone(&self) -> IdentityConfig
fn clone(&self) -> IdentityConfig
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 IdentityConfig
impl Debug for IdentityConfig
Source§impl Default for IdentityConfig
impl Default for IdentityConfig
Source§fn default() -> IdentityConfig
fn default() -> IdentityConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdentityConfig
impl<'de> Deserialize<'de> for IdentityConfig
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 From<&IdentityConfig> for IdentityInfo
impl From<&IdentityConfig> for IdentityInfo
Source§fn from(config: &IdentityConfig) -> Self
fn from(config: &IdentityConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdentityConfig
impl RefUnwindSafe for IdentityConfig
impl Send for IdentityConfig
impl Sync for IdentityConfig
impl Unpin for IdentityConfig
impl UnsafeUnpin for IdentityConfig
impl UnwindSafe for IdentityConfig
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