pub struct SoftwareComponentInput {Show 14 fields
pub repository_id: String,
pub source_scope: String,
pub ecosystem: String,
pub language_id: String,
pub name: String,
pub requirement: Option<String>,
pub resolved_version: Option<String>,
pub dependency_group: String,
pub source_kind: String,
pub relationship_state: String,
pub evidence_path: String,
pub evidence_line_range: RepositoryCodeRange,
pub confidence_basis_points: u16,
pub created_graph_version: GraphVersion,
}Expand description
Constructor input for SoftwareComponent.
Fields§
§repository_id: String§source_scope: String§ecosystem: String§language_id: String§name: String§requirement: Option<String>§resolved_version: Option<String>§dependency_group: String§source_kind: String§relationship_state: String§evidence_path: String§evidence_line_range: RepositoryCodeRange§confidence_basis_points: u16§created_graph_version: GraphVersionTrait Implementations§
Source§impl Clone for SoftwareComponentInput
impl Clone for SoftwareComponentInput
Source§fn clone(&self) -> SoftwareComponentInput
fn clone(&self) -> SoftwareComponentInput
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 SoftwareComponentInput
impl Debug for SoftwareComponentInput
impl Eq for SoftwareComponentInput
Source§impl PartialEq for SoftwareComponentInput
impl PartialEq for SoftwareComponentInput
impl StructuralPartialEq for SoftwareComponentInput
Auto Trait Implementations§
impl Freeze for SoftwareComponentInput
impl RefUnwindSafe for SoftwareComponentInput
impl Send for SoftwareComponentInput
impl Sync for SoftwareComponentInput
impl Unpin for SoftwareComponentInput
impl UnsafeUnpin for SoftwareComponentInput
impl UnwindSafe for SoftwareComponentInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.