pub struct CodeArtifact {
pub is_code_output: bool,
pub language: String,
pub code_type: String,
pub size_bytes: usize,
pub line_count: usize,
pub secrets_detected: usize,
pub unsafe_patterns: usize,
pub policies_checked: Vec<String>,
}Fields§
§is_code_output: bool§language: String§code_type: String§size_bytes: usize§line_count: usize§secrets_detected: usize§unsafe_patterns: usize§policies_checked: Vec<String>Trait Implementations§
Source§impl Clone for CodeArtifact
impl Clone for CodeArtifact
Source§fn clone(&self) -> CodeArtifact
fn clone(&self) -> CodeArtifact
Returns a duplicate of the value. Read more
1.0.0 · 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 CodeArtifact
impl Debug for CodeArtifact
Source§impl<'de> Deserialize<'de> for CodeArtifact
impl<'de> Deserialize<'de> for CodeArtifact
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 CodeArtifact
impl RefUnwindSafe for CodeArtifact
impl Send for CodeArtifact
impl Sync for CodeArtifact
impl Unpin for CodeArtifact
impl UnsafeUnpin for CodeArtifact
impl UnwindSafe for CodeArtifact
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