pub struct CodeRepositoryScopePreview {Show 13 fields
pub repository_id: String,
pub alias: String,
pub requested_ref: String,
pub resolved_commit_sha: String,
pub tree_hash: String,
pub selected_file_count: usize,
pub selected_byte_count: usize,
pub unsupported_file_count: usize,
pub generated_or_heavy_file_count: usize,
pub expected_degraded_file_count: usize,
pub language_distribution: Vec<CodeRepositoryLanguagePreview>,
pub largest_files: Vec<CodeRepositoryLargestFile>,
pub excluded_paths: Vec<CodeRepositoryExcludedPath>,
}Expand description
Non-mutating preview of the effective repository indexing scope.
Fields§
§repository_id: String§alias: String§requested_ref: String§resolved_commit_sha: String§tree_hash: String§selected_file_count: usize§selected_byte_count: usize§unsupported_file_count: usize§generated_or_heavy_file_count: usize§expected_degraded_file_count: usize§language_distribution: Vec<CodeRepositoryLanguagePreview>§largest_files: Vec<CodeRepositoryLargestFile>§excluded_paths: Vec<CodeRepositoryExcludedPath>Trait Implementations§
Source§impl Clone for CodeRepositoryScopePreview
impl Clone for CodeRepositoryScopePreview
Source§fn clone(&self) -> CodeRepositoryScopePreview
fn clone(&self) -> CodeRepositoryScopePreview
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 CodeRepositoryScopePreview
impl Debug for CodeRepositoryScopePreview
Source§impl<'de> Deserialize<'de> for CodeRepositoryScopePreview
impl<'de> Deserialize<'de> for CodeRepositoryScopePreview
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 CodeRepositoryScopePreview
impl StructuralPartialEq for CodeRepositoryScopePreview
Auto Trait Implementations§
impl Freeze for CodeRepositoryScopePreview
impl RefUnwindSafe for CodeRepositoryScopePreview
impl Send for CodeRepositoryScopePreview
impl Sync for CodeRepositoryScopePreview
impl Unpin for CodeRepositoryScopePreview
impl UnsafeUnpin for CodeRepositoryScopePreview
impl UnwindSafe for CodeRepositoryScopePreview
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,
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.