pub struct SessionGitHubAuthSetCredentialsResult {
pub copilot_user_resolved: Option<bool>,
pub success: bool,
}Expand description
Indicates whether the credential update succeeded.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§copilot_user_resolved: Option<bool>Whether the session ended up with a populated copilotUser for the installed credentials. true when the supplied credential already carried copilotUser or it was successfully re-resolved server-side. false when the credential is installed without copilotUser — either re-resolution failed, or the variant cannot be re-resolved from the credential alone (only the raw-token variants token, env, and gh-cli can). In both false cases the token swap still applied, but plan/quota/billing metadata is degraded. Present whenever a credential was supplied; omitted only when no credential was supplied (no-op call).
success: boolWhether the operation succeeded
Trait Implementations§
Source§impl Clone for SessionGitHubAuthSetCredentialsResult
impl Clone for SessionGitHubAuthSetCredentialsResult
Source§fn clone(&self) -> SessionGitHubAuthSetCredentialsResult
fn clone(&self) -> SessionGitHubAuthSetCredentialsResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more