pub struct UpdatePullRequestArgs {
pub owner: String,
pub repo: String,
pub pr_number: u64,
pub title: Option<String>,
pub body: Option<String>,
pub state: Option<String>,
pub base: Option<String>,
pub maintainer_can_modify: Option<bool>,
}Expand description
Arguments for updating a pull request
Fields§
§owner: StringRepository owner (user or organization)
repo: StringRepository name
pr_number: u64Pull request number
title: Option<String>New title (optional)
body: Option<String>New body/description (optional)
state: Option<String>New state: “open” or “closed” (optional)
base: Option<String>New base branch (optional)
maintainer_can_modify: Option<bool>Whether maintainers can modify the pull request (optional)
Trait Implementations§
Source§impl Clone for UpdatePullRequestArgs
impl Clone for UpdatePullRequestArgs
Source§impl Debug for UpdatePullRequestArgs
impl Debug for UpdatePullRequestArgs
Source§impl<'de> Deserialize<'de> for UpdatePullRequestArgs
impl<'de> Deserialize<'de> for UpdatePullRequestArgs
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 UpdatePullRequestArgs
impl JsonSchema for UpdatePullRequestArgs
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 UpdatePullRequestArgs
impl Serialize for UpdatePullRequestArgs
Source§impl ToolArgs for UpdatePullRequestArgs
impl ToolArgs for UpdatePullRequestArgs
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 = "Update an existing pull request"
const DESCRIPTION: &'static str = "Update an existing pull request"
Human-readable tool description
Source§type Output = GitHubUpdatePrOutput
type Output = GitHubUpdatePrOutput
The output type for tools using these args.
Defined here in schema package, not in tool impl - provides compile-time enforcement.
Source§type Prompts = UpdatePullRequestPrompts
type Prompts = UpdatePullRequestPrompts
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 UpdatePullRequestArgs
impl RefUnwindSafe for UpdatePullRequestArgs
impl Send for UpdatePullRequestArgs
impl Sync for UpdatePullRequestArgs
impl Unpin for UpdatePullRequestArgs
impl UnsafeUnpin for UpdatePullRequestArgs
impl UnwindSafe for UpdatePullRequestArgs
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