pub struct InputGet {
pub keyring_service: String,
pub app_name: String,
pub config_file_path: String,
pub app_owner: String,
pub min_expiration: Duration,
}Expand description
Input parameters for token retrieval.
All fields have sensible defaults. Use Default::default for the common
case and override individual fields as needed.
Fields§
§keyring_service: StringCustom keyring service name. When empty, DEFAULT_SERVICE_KEY is used.
app_name: StringApp selection by name. When empty, falls back to the GHTKN_APP
environment variable.
config_file_path: StringCustom config file path. When empty, the platform-specific default is
auto-detected via config::get_path.
app_owner: StringApp selection by git owner (used for git-credential integration).
min_expiration: DurationMinimum remaining token lifetime before renewal. A token whose expiration is within this duration of “now” is treated as expired.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputGet
impl RefUnwindSafe for InputGet
impl Send for InputGet
impl Sync for InputGet
impl Unpin for InputGet
impl UnsafeUnpin for InputGet
impl UnwindSafe for InputGet
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