pub struct GeneratedCredential {
pub value: String,
pub extra_headers: HashMap<String, String>,
pub extra_env: HashMap<String, String>,
}Expand description
Result of running a generator — primary token + optional extra injections.
Fields§
§value: StringPrimary token value (used for bearer/header/query auth).
extra_headers: HashMap<String, String>Extra headers from JSON inject targets with type=“header”.
extra_env: HashMap<String, String>Extra env vars from JSON inject targets with type=“env”.
Trait Implementations§
Source§impl Clone for GeneratedCredential
impl Clone for GeneratedCredential
Source§fn clone(&self) -> GeneratedCredential
fn clone(&self) -> GeneratedCredential
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 moreAuto Trait Implementations§
impl Freeze for GeneratedCredential
impl RefUnwindSafe for GeneratedCredential
impl Send for GeneratedCredential
impl Sync for GeneratedCredential
impl Unpin for GeneratedCredential
impl UnsafeUnpin for GeneratedCredential
impl UnwindSafe for GeneratedCredential
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