pub struct SoftwareEntityInput {
pub repository_id: String,
pub source_scope: String,
pub entity_kind: SoftwareEntityKind,
pub name: String,
pub namespace: Option<String>,
pub source_kind: SoftwareSourceKind,
pub evidence_refs: Vec<SoftwareEvidenceRef>,
pub attributes: BTreeMap<String, String>,
pub created_graph_version: GraphVersion,
}Expand description
Constructor input for SoftwareEntity.
Fields§
§repository_id: String§source_scope: String§entity_kind: SoftwareEntityKind§name: String§namespace: Option<String>§source_kind: SoftwareSourceKind§evidence_refs: Vec<SoftwareEvidenceRef>§attributes: BTreeMap<String, String>§created_graph_version: GraphVersionTrait Implementations§
Source§impl Clone for SoftwareEntityInput
impl Clone for SoftwareEntityInput
Source§fn clone(&self) -> SoftwareEntityInput
fn clone(&self) -> SoftwareEntityInput
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 SoftwareEntityInput
impl Debug for SoftwareEntityInput
impl Eq for SoftwareEntityInput
Source§impl PartialEq for SoftwareEntityInput
impl PartialEq for SoftwareEntityInput
impl StructuralPartialEq for SoftwareEntityInput
Auto Trait Implementations§
impl Freeze for SoftwareEntityInput
impl RefUnwindSafe for SoftwareEntityInput
impl Send for SoftwareEntityInput
impl Sync for SoftwareEntityInput
impl Unpin for SoftwareEntityInput
impl UnsafeUnpin for SoftwareEntityInput
impl UnwindSafe for SoftwareEntityInput
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.