pub struct GeneralRepoSettings {
pub http_git_disabled: Option<bool>,
pub lfs_disabled: Option<bool>,
pub migrations_disabled: Option<bool>,
pub mirrors_disabled: Option<bool>,
pub stars_disabled: Option<bool>,
pub time_tracking_disabled: Option<bool>,
}
Expand description
GeneralRepoSettings : GeneralRepoSettings contains global repository settings exposed by API
Fields§
§http_git_disabled: Option<bool>
§lfs_disabled: Option<bool>
§migrations_disabled: Option<bool>
§mirrors_disabled: Option<bool>
§stars_disabled: Option<bool>
§time_tracking_disabled: Option<bool>
Implementations§
Source§impl GeneralRepoSettings
impl GeneralRepoSettings
Sourcepub fn new() -> GeneralRepoSettings
pub fn new() -> GeneralRepoSettings
GeneralRepoSettings contains global repository settings exposed by API
Trait Implementations§
Source§impl Clone for GeneralRepoSettings
impl Clone for GeneralRepoSettings
Source§fn clone(&self) -> GeneralRepoSettings
fn clone(&self) -> GeneralRepoSettings
Returns a copy 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 GeneralRepoSettings
impl Debug for GeneralRepoSettings
Source§impl Default for GeneralRepoSettings
impl Default for GeneralRepoSettings
Source§fn default() -> GeneralRepoSettings
fn default() -> GeneralRepoSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeneralRepoSettings
impl<'de> Deserialize<'de> for GeneralRepoSettings
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 GeneralRepoSettings
impl PartialEq for GeneralRepoSettings
Source§impl Serialize for GeneralRepoSettings
impl Serialize for GeneralRepoSettings
impl StructuralPartialEq for GeneralRepoSettings
Auto Trait Implementations§
impl Freeze for GeneralRepoSettings
impl RefUnwindSafe for GeneralRepoSettings
impl Send for GeneralRepoSettings
impl Sync for GeneralRepoSettings
impl Unpin for GeneralRepoSettings
impl UnwindSafe for GeneralRepoSettings
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