pub struct SoftwareIacResource {Show 15 fields
pub resource_id: String,
pub repository_id: String,
pub source_scope: String,
pub language_id: String,
pub provider: String,
pub resource_kind: String,
pub name: String,
pub scope_hint: Option<String>,
pub target_hint: Option<String>,
pub resolution_state: String,
pub source_kind: String,
pub evidence_path: String,
pub evidence_line_range: RepositoryCodeRange,
pub confidence_basis_points: u16,
pub created_graph_version: GraphVersion,
}Expand description
Infrastructure, deployment, or service-operation resource projected from indexed IaC evidence.
Fields§
§resource_id: String§repository_id: String§source_scope: String§language_id: String§provider: String§resource_kind: String§name: String§scope_hint: Option<String>§target_hint: Option<String>§resolution_state: String§source_kind: String§evidence_path: String§evidence_line_range: RepositoryCodeRange§confidence_basis_points: u16§created_graph_version: GraphVersionImplementations§
Source§impl SoftwareIacResource
impl SoftwareIacResource
Sourcepub fn new(input: SoftwareIacResourceInput) -> Result<Self, DomainError>
pub fn new(input: SoftwareIacResourceInput) -> Result<Self, DomainError>
Creates a validated IaC/deployment resource projection row.
Trait Implementations§
Source§impl Clone for SoftwareIacResource
impl Clone for SoftwareIacResource
Source§fn clone(&self) -> SoftwareIacResource
fn clone(&self) -> SoftwareIacResource
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 SoftwareIacResource
impl Debug for SoftwareIacResource
Source§impl<'de> Deserialize<'de> for SoftwareIacResource
impl<'de> Deserialize<'de> for SoftwareIacResource
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
impl Eq for SoftwareIacResource
Source§impl PartialEq for SoftwareIacResource
impl PartialEq for SoftwareIacResource
Source§fn eq(&self, other: &SoftwareIacResource) -> bool
fn eq(&self, other: &SoftwareIacResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SoftwareIacResource
impl Serialize for SoftwareIacResource
impl StructuralPartialEq for SoftwareIacResource
Auto Trait Implementations§
impl Freeze for SoftwareIacResource
impl RefUnwindSafe for SoftwareIacResource
impl Send for SoftwareIacResource
impl Sync for SoftwareIacResource
impl Unpin for SoftwareIacResource
impl UnsafeUnpin for SoftwareIacResource
impl UnwindSafe for SoftwareIacResource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.