pub struct CodeChangePublishedMessage {
pub provider: String,
pub url: String,
pub repo: String,
pub identifier: String,
pub uuid: String,
pub session_id: String,
}Expand description
code_change_published system message — the session is now associated
with a published code change (a pull/merge request). Fires on creation and
whenever the session contributes to an existing one, so bind on every
event; re-emission for the same URL is possible and idempotent. Values are
scraped from captured command output — treat them as a binding hint and
verify against the forge before routing authenticated requests.
Fields§
§provider: StringForge classification derived from the URL’s shape (github,
github-enterprise, gitlab, bitbucket today). Open set — treat an
unknown value as a valid provider, never as an error.
url: StringWeb URL of the pull/merge request. Unverified.
repo: StringRepository path from the URL (owner/name on GitHub; may carry more
segments on GitLab).
identifier: StringProvider-native change identifier — the PR/MR number as a string.
uuid: String§session_id: StringTrait Implementations§
Source§impl Clone for CodeChangePublishedMessage
impl Clone for CodeChangePublishedMessage
Source§fn clone(&self) -> CodeChangePublishedMessage
fn clone(&self) -> CodeChangePublishedMessage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more