pub struct MaxFileSize {
pub type: Type,
pub parameters: Option<Box<MaxFileSizeParameters>>,
}
Expand description
MaxFileSize : Note: max_file_size is in beta and subject to change. Prevent commits that exceed a specified file size limit from being pushed to the commit.
Fields§
§type: Type
§parameters: Option<Box<MaxFileSizeParameters>>
Implementations§
Source§impl MaxFileSize
impl MaxFileSize
Sourcepub fn new(type: Type) -> MaxFileSize
pub fn new(type: Type) -> MaxFileSize
Note: max_file_size is in beta and subject to change. Prevent commits that exceed a specified file size limit from being pushed to the commit.
Trait Implementations§
Source§impl Clone for MaxFileSize
impl Clone for MaxFileSize
Source§fn clone(&self) -> MaxFileSize
fn clone(&self) -> MaxFileSize
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 moreSource§impl Debug for MaxFileSize
impl Debug for MaxFileSize
Source§impl Default for MaxFileSize
impl Default for MaxFileSize
Source§fn default() -> MaxFileSize
fn default() -> MaxFileSize
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MaxFileSize
impl<'de> Deserialize<'de> for MaxFileSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MaxFileSize
impl PartialEq for MaxFileSize
Source§impl Serialize for MaxFileSize
impl Serialize for MaxFileSize
impl StructuralPartialEq for MaxFileSize
Auto Trait Implementations§
impl Freeze for MaxFileSize
impl RefUnwindSafe for MaxFileSize
impl Send for MaxFileSize
impl Sync for MaxFileSize
impl Unpin for MaxFileSize
impl UnwindSafe for MaxFileSize
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