pub struct IdentityInfo {
pub id_field: String,
pub import_field: String,
pub force_replace_fields: Vec<String>,
}Expand description
Identity and import configuration for a resource.
Fields§
§id_field: StringPrimary identifier field name (e.g., “name” or “id”).
import_field: StringField used for Terraform import (defaults to id_field).
force_replace_fields: Vec<String>Fields that force resource replacement when changed.
Trait Implementations§
Source§impl Clone for IdentityInfo
impl Clone for IdentityInfo
Source§fn clone(&self) -> IdentityInfo
fn clone(&self) -> IdentityInfo
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 IdentityInfo
impl Debug for IdentityInfo
Source§impl<'de> Deserialize<'de> for IdentityInfo
impl<'de> Deserialize<'de> for IdentityInfo
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.
Source§impl FromSExpr for IdentityInfo
impl FromSExpr for IdentityInfo
Source§fn from_sexpr(s: &SExpr) -> Result<Self, SExprError>
fn from_sexpr(s: &SExpr) -> Result<Self, SExprError>
Errors Read more
Source§impl Serialize for IdentityInfo
impl Serialize for IdentityInfo
Source§impl ToSExpr for IdentityInfo
impl ToSExpr for IdentityInfo
fn to_sexpr(&self) -> SExpr
Source§fn content_hash(&self) -> ContentHash
fn content_hash(&self) -> ContentHash
Convenience: content hash of this value’s canonical emission. Read more
Auto Trait Implementations§
impl Freeze for IdentityInfo
impl RefUnwindSafe for IdentityInfo
impl Send for IdentityInfo
impl Sync for IdentityInfo
impl Unpin for IdentityInfo
impl UnsafeUnpin for IdentityInfo
impl UnwindSafe for IdentityInfo
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