pub struct DocumentArtifactInput {
pub artifact_kind: ArtifactKind,
pub artifact: String,
pub claimed_vendor: Option<String>,
pub expansion_state: ExpansionState,
pub occurrences: Vec<ArtifactOccurrence>,
}Expand description
One extracted artifact plus the places it appeared.
Fields§
§artifact_kind: ArtifactKind§artifact: String§claimed_vendor: Option<String>§expansion_state: ExpansionState§occurrences: Vec<ArtifactOccurrence>Trait Implementations§
Source§impl Clone for DocumentArtifactInput
impl Clone for DocumentArtifactInput
Source§fn clone(&self) -> DocumentArtifactInput
fn clone(&self) -> DocumentArtifactInput
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 DocumentArtifactInput
impl Debug for DocumentArtifactInput
Source§impl<'de> Deserialize<'de> for DocumentArtifactInput
impl<'de> Deserialize<'de> for DocumentArtifactInput
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 DocumentArtifactInput
Source§impl PartialEq for DocumentArtifactInput
impl PartialEq for DocumentArtifactInput
impl StructuralPartialEq for DocumentArtifactInput
Auto Trait Implementations§
impl Freeze for DocumentArtifactInput
impl RefUnwindSafe for DocumentArtifactInput
impl Send for DocumentArtifactInput
impl Sync for DocumentArtifactInput
impl Unpin for DocumentArtifactInput
impl UnsafeUnpin for DocumentArtifactInput
impl UnwindSafe for DocumentArtifactInput
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