pub struct RepositoryrulemaxfilesizeParameters {
pub max_file_size: Option<u8>,
}Fields§
§max_file_size: Option<u8>The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).
Trait Implementations§
Source§impl Clone for RepositoryrulemaxfilesizeParameters
impl Clone for RepositoryrulemaxfilesizeParameters
Source§fn clone(&self) -> RepositoryrulemaxfilesizeParameters
fn clone(&self) -> RepositoryrulemaxfilesizeParameters
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 Default for RepositoryrulemaxfilesizeParameters
impl Default for RepositoryrulemaxfilesizeParameters
Source§fn default() -> RepositoryrulemaxfilesizeParameters
fn default() -> RepositoryrulemaxfilesizeParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryrulemaxfilesizeParameters
impl<'de> Deserialize<'de> for RepositoryrulemaxfilesizeParameters
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 RepositoryrulemaxfilesizeParameters
impl PartialEq for RepositoryrulemaxfilesizeParameters
Source§fn eq(&self, other: &RepositoryrulemaxfilesizeParameters) -> bool
fn eq(&self, other: &RepositoryrulemaxfilesizeParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepositoryrulemaxfilesizeParameters
Auto Trait Implementations§
impl Freeze for RepositoryrulemaxfilesizeParameters
impl RefUnwindSafe for RepositoryrulemaxfilesizeParameters
impl Send for RepositoryrulemaxfilesizeParameters
impl Sync for RepositoryrulemaxfilesizeParameters
impl Unpin for RepositoryrulemaxfilesizeParameters
impl UnwindSafe for RepositoryrulemaxfilesizeParameters
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