pub struct RepositoryView {
pub explanation: FieldExplanation,
pub working_directory: WorkingDirectoryInfo,
pub remotes: Vec<RemoteInfo>,
pub commits: Vec<CommitInfo>,
pub branch_info: Option<BranchInfo>,
pub pr_template: Option<String>,
pub branch_prs: Option<Vec<PullRequest>>,
}Expand description
Complete repository view output structure
Fields§
§explanation: FieldExplanationExplanation of field meanings and structure
working_directory: WorkingDirectoryInfoWorking directory status information
remotes: Vec<RemoteInfo>List of remote repositories and their main branches
commits: Vec<CommitInfo>List of analyzed commits with metadata and analysis
branch_info: Option<BranchInfo>Branch information (only present when using branch commands)
pr_template: Option<String>Pull request template content (only present in branch commands when template exists)
branch_prs: Option<Vec<PullRequest>>Pull requests created from the current branch (only present in branch commands)
Trait Implementations§
Source§impl Debug for RepositoryView
impl Debug for RepositoryView
Source§impl<'de> Deserialize<'de> for RepositoryView
impl<'de> Deserialize<'de> for RepositoryView
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 RepositoryView
impl RefUnwindSafe for RepositoryView
impl Send for RepositoryView
impl Sync for RepositoryView
impl Unpin for RepositoryView
impl UnwindSafe for RepositoryView
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