pub struct CredentialsConfig {
pub file_path: String,
pub json_path: String,
pub field_mappings: HashMap<String, String>,
}Fields§
§file_path: StringPath to credential file (supports ~ for home directory)
json_path: StringJSON path to the credential object within the file For Claude Code: “claudeAiOauth”
field_mappings: HashMap<String, String>Field mappings: credential_field -> github_secret_name
Trait Implementations§
Source§impl Clone for CredentialsConfig
impl Clone for CredentialsConfig
Source§fn clone(&self) -> CredentialsConfig
fn clone(&self) -> CredentialsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CredentialsConfig
impl Debug for CredentialsConfig
Source§impl<'de> Deserialize<'de> for CredentialsConfig
impl<'de> Deserialize<'de> for CredentialsConfig
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 CredentialsConfig
impl RefUnwindSafe for CredentialsConfig
impl Send for CredentialsConfig
impl Sync for CredentialsConfig
impl Unpin for CredentialsConfig
impl UnwindSafe for CredentialsConfig
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