pub struct SoftwareSdkUsage {
pub usage_id: String,
pub repository_id: String,
pub source_scope: String,
pub language_id: String,
pub module: String,
pub target_hint: Option<String>,
pub resolution_state: String,
pub evidence_path: String,
pub evidence_line_range: RepositoryCodeRange,
pub confidence_basis_points: u16,
pub created_graph_version: GraphVersion,
}Expand description
Projected SDK or external API usage from unresolved import/include evidence.
Fields§
§usage_id: String§repository_id: String§source_scope: String§language_id: String§module: String§target_hint: Option<String>§resolution_state: String§evidence_path: String§evidence_line_range: RepositoryCodeRange§confidence_basis_points: u16§created_graph_version: GraphVersionImplementations§
Source§impl SoftwareSdkUsage
impl SoftwareSdkUsage
Sourcepub fn new(input: SoftwareSdkUsageInput) -> Result<Self, DomainError>
pub fn new(input: SoftwareSdkUsageInput) -> Result<Self, DomainError>
Creates a validated unresolved SDK/API usage candidate.
Trait Implementations§
Source§impl Clone for SoftwareSdkUsage
impl Clone for SoftwareSdkUsage
Source§fn clone(&self) -> SoftwareSdkUsage
fn clone(&self) -> SoftwareSdkUsage
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 SoftwareSdkUsage
impl Debug for SoftwareSdkUsage
Source§impl<'de> Deserialize<'de> for SoftwareSdkUsage
impl<'de> Deserialize<'de> for SoftwareSdkUsage
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 SoftwareSdkUsage
impl PartialEq for SoftwareSdkUsage
Source§fn eq(&self, other: &SoftwareSdkUsage) -> bool
fn eq(&self, other: &SoftwareSdkUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SoftwareSdkUsage
impl Serialize for SoftwareSdkUsage
impl Eq for SoftwareSdkUsage
impl StructuralPartialEq for SoftwareSdkUsage
Auto Trait Implementations§
impl Freeze for SoftwareSdkUsage
impl RefUnwindSafe for SoftwareSdkUsage
impl Send for SoftwareSdkUsage
impl Sync for SoftwareSdkUsage
impl Unpin for SoftwareSdkUsage
impl UnsafeUnpin for SoftwareSdkUsage
impl UnwindSafe for SoftwareSdkUsage
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,
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.