pub struct GitHttpConfig {
pub root: PathBuf,
pub port: u16,
pub addr: String,
}
Expand description
git http server config
Fields§
§root: PathBuf
git repository root
port: u16
git http server port
addr: String
git http server address
Trait Implementations§
Source§impl Clone for GitHttpConfig
impl Clone for GitHttpConfig
Source§fn clone(&self) -> GitHttpConfig
fn clone(&self) -> GitHttpConfig
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 GitHttpConfig
impl RefUnwindSafe for GitHttpConfig
impl Send for GitHttpConfig
impl Sync for GitHttpConfig
impl Unpin for GitHttpConfig
impl UnwindSafe for GitHttpConfig
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