pub struct SshAuth {
pub href: String,
pub headers: HashMap<String, String>,
}Expand description
Resolved auth from a git-lfs-authenticate call.
Fields§
§href: StringReplacement endpoint URL prefix. Empty ("") when the server
expects the original URL to be used as-is.
headers: HashMap<String, String>Headers to merge into the outgoing request — typically a single
Authorization entry, but the schema lets servers set arbitrary
keys (e.g. X-RemoteAuth-Provider for vendor extensions).
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