pub struct MigrationsSetLfsPreferenceRequest {
pub use_lfs: UseLfs,
}
Fields§
§use_lfs: UseLfs
Whether to store large files during the import. opt_in
means large files will be stored using Git LFS. opt_out
means large files will be removed during the import.
Implementations§
Source§impl MigrationsSetLfsPreferenceRequest
impl MigrationsSetLfsPreferenceRequest
pub fn new(use_lfs: UseLfs) -> MigrationsSetLfsPreferenceRequest
Trait Implementations§
Source§impl Clone for MigrationsSetLfsPreferenceRequest
impl Clone for MigrationsSetLfsPreferenceRequest
Source§fn clone(&self) -> MigrationsSetLfsPreferenceRequest
fn clone(&self) -> MigrationsSetLfsPreferenceRequest
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 MigrationsSetLfsPreferenceRequest
impl Default for MigrationsSetLfsPreferenceRequest
Source§fn default() -> MigrationsSetLfsPreferenceRequest
fn default() -> MigrationsSetLfsPreferenceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MigrationsSetLfsPreferenceRequest
impl<'de> Deserialize<'de> for MigrationsSetLfsPreferenceRequest
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 MigrationsSetLfsPreferenceRequest
impl PartialEq for MigrationsSetLfsPreferenceRequest
Source§fn eq(&self, other: &MigrationsSetLfsPreferenceRequest) -> bool
fn eq(&self, other: &MigrationsSetLfsPreferenceRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MigrationsSetLfsPreferenceRequest
Auto Trait Implementations§
impl Freeze for MigrationsSetLfsPreferenceRequest
impl RefUnwindSafe for MigrationsSetLfsPreferenceRequest
impl Send for MigrationsSetLfsPreferenceRequest
impl Sync for MigrationsSetLfsPreferenceRequest
impl Unpin for MigrationsSetLfsPreferenceRequest
impl UnwindSafe for MigrationsSetLfsPreferenceRequest
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