pub struct GitSizeLimits {
pub max_bytes: u64,
pub max_files: u64,
}Expand description
Disk budget for cloned/fetched git repositories.
Fields§
§max_bytes: u64§max_files: u64Implementations§
Trait Implementations§
Source§impl Clone for GitSizeLimits
impl Clone for GitSizeLimits
Source§fn clone(&self) -> GitSizeLimits
fn clone(&self) -> GitSizeLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GitSizeLimits
Auto Trait Implementations§
impl Freeze for GitSizeLimits
impl RefUnwindSafe for GitSizeLimits
impl Send for GitSizeLimits
impl Sync for GitSizeLimits
impl Unpin for GitSizeLimits
impl UnsafeUnpin for GitSizeLimits
impl UnwindSafe for GitSizeLimits
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