pub struct CodeSizeInspectionRequest {
pub repo: Option<PathBuf>,
pub scope: CodeSizeScope,
pub base: Option<String>,
pub head: Option<String>,
pub changed_files: Vec<RepoRelativePath>,
pub include_transitive: bool,
pub languages: Vec<CodeLanguage>,
pub rules: Vec<CodeSizeRuleKind>,
pub fail_on: InspectionFailOn,
}Expand description
Request for code-size inspection.
Fields§
§repo: Option<PathBuf>Optional starting path or explicit repo root.
scope: CodeSizeScopeInspection scope.
base: Option<String>Optional base git ref.
head: Option<String>Optional head git ref.
changed_files: Vec<RepoRelativePath>Explicit changed source files.
include_transitive: boolInclude transitively affected projects for affected scope.
languages: Vec<CodeLanguage>Optional language filter.
rules: Vec<CodeSizeRuleKind>Optional rule filter.
fail_on: InspectionFailOnProcess exit behavior.
Trait Implementations§
Source§impl Clone for CodeSizeInspectionRequest
impl Clone for CodeSizeInspectionRequest
Source§fn clone(&self) -> CodeSizeInspectionRequest
fn clone(&self) -> CodeSizeInspectionRequest
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 CodeSizeInspectionRequest
impl Debug for CodeSizeInspectionRequest
Source§impl Default for CodeSizeInspectionRequest
impl Default for CodeSizeInspectionRequest
Source§fn default() -> CodeSizeInspectionRequest
fn default() -> CodeSizeInspectionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeSizeInspectionRequest
impl<'de> Deserialize<'de> for CodeSizeInspectionRequest
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 CodeSizeInspectionRequest
Source§impl PartialEq for CodeSizeInspectionRequest
impl PartialEq for CodeSizeInspectionRequest
Source§fn eq(&self, other: &CodeSizeInspectionRequest) -> bool
fn eq(&self, other: &CodeSizeInspectionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeSizeInspectionRequest
Auto Trait Implementations§
impl Freeze for CodeSizeInspectionRequest
impl RefUnwindSafe for CodeSizeInspectionRequest
impl Send for CodeSizeInspectionRequest
impl Sync for CodeSizeInspectionRequest
impl Unpin for CodeSizeInspectionRequest
impl UnsafeUnpin for CodeSizeInspectionRequest
impl UnwindSafe for CodeSizeInspectionRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.