pub struct SshAuth {
pub href: String,
pub header: HashMap<String, String>,
pub expires_at: Option<SystemTime>,
}Expand description
Parsed git-lfs-authenticate response with absolute expiry resolved.
Fields§
§href: StringReplacement HTTPS endpoint. Empty when the server expects the original URL to be used as-is.
header: HashMap<String, String>Headers to merge into LFS API requests (commonly Authorization).
expires_at: Option<SystemTime>Absolute expiration time. None means “no server-side TTL” — we
keep the entry until process exit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SshAuth
impl RefUnwindSafe for SshAuth
impl Send for SshAuth
impl Sync for SshAuth
impl Unpin for SshAuth
impl UnsafeUnpin for SshAuth
impl UnwindSafe for SshAuth
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