pub struct GetPullRequestFilesArgs {
pub owner: String,
pub repo: String,
pub pr_number: u64,
}Expand description
Arguments for getting pull request files
Fields§
§owner: StringRepository owner (user or organization)
repo: StringRepository name
pr_number: u64Pull request number
Trait Implementations§
Source§impl Clone for GetPullRequestFilesArgs
impl Clone for GetPullRequestFilesArgs
Source§impl Debug for GetPullRequestFilesArgs
impl Debug for GetPullRequestFilesArgs
Source§impl<'de> Deserialize<'de> for GetPullRequestFilesArgs
impl<'de> Deserialize<'de> for GetPullRequestFilesArgs
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
Source§impl JsonSchema for GetPullRequestFilesArgs
impl JsonSchema for GetPullRequestFilesArgs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for GetPullRequestFilesArgs
impl Serialize for GetPullRequestFilesArgs
Source§impl ToolArgs for GetPullRequestFilesArgs
impl ToolArgs for GetPullRequestFilesArgs
Source§const CATEGORY: &'static Category = CATEGORY_GITHUB
const CATEGORY: &'static Category = CATEGORY_GITHUB
Tool category for organization - structured data with name and icon
Source§const DESCRIPTION: &'static str = "Get all files changed in a pull request"
const DESCRIPTION: &'static str = "Get all files changed in a pull request"
Human-readable tool description
Source§type Output = GitHubGetPrFilesOutput
type Output = GitHubGetPrFilesOutput
The output type for tools using these args.
Defined here in schema package, not in tool impl - provides compile-time enforcement.
Source§type Prompts = GetPullRequestFilesPrompts
type Prompts = GetPullRequestFilesPrompts
Prompt provider - MUST be from schema package (sealed trait).
This enforces that all prompt logic is centralized in kodegen-mcp-schema.
Auto Trait Implementations§
impl Freeze for GetPullRequestFilesArgs
impl RefUnwindSafe for GetPullRequestFilesArgs
impl Send for GetPullRequestFilesArgs
impl Sync for GetPullRequestFilesArgs
impl Unpin for GetPullRequestFilesArgs
impl UnsafeUnpin for GetPullRequestFilesArgs
impl UnwindSafe for GetPullRequestFilesArgs
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