pub struct LfsConfig {
pub upstream_base: String,
pub cache_root: PathBuf,
pub upstream_auth_header: Option<String>,
pub serve_token: Option<String>,
}Fields§
§upstream_base: StringUpstream base URL, trailing slash trimmed (same value the git side uses).
cache_root: PathBuf§upstream_auth_header: Option<String>Full upstream auth header line (e.g. Authorization: Basic <b64>), or None
for anonymous.
serve_token: Option<String>The proxy’s own serve token, if configured; embedded in each rewritten download action so git-lfs re-presents it on the (auth-checked) object GET.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LfsConfig
impl RefUnwindSafe for LfsConfig
impl Send for LfsConfig
impl Sync for LfsConfig
impl Unpin for LfsConfig
impl UnsafeUnpin for LfsConfig
impl UnwindSafe for LfsConfig
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