pub struct SourceArtifact {
pub source_id: String,
pub path: String,
pub digest: String,
pub kind: String,
pub bytes_size: u64,
pub loaded_at: Option<DateTime<Utc>>,
pub degradation: Vec<String>,
}Expand description
A source artifact (document) that claims are extracted from.
Fields§
§source_id: String§path: String§digest: String§kind: String§bytes_size: u64§loaded_at: Option<DateTime<Utc>>§degradation: Vec<String>Trait Implementations§
Source§impl Clone for SourceArtifact
impl Clone for SourceArtifact
Source§fn clone(&self) -> SourceArtifact
fn clone(&self) -> SourceArtifact
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 SourceArtifact
impl Debug for SourceArtifact
Source§impl<'de> Deserialize<'de> for SourceArtifact
impl<'de> Deserialize<'de> for SourceArtifact
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
Auto Trait Implementations§
impl Freeze for SourceArtifact
impl RefUnwindSafe for SourceArtifact
impl Send for SourceArtifact
impl Sync for SourceArtifact
impl Unpin for SourceArtifact
impl UnsafeUnpin for SourceArtifact
impl UnwindSafe for SourceArtifact
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