pub struct SystemConfig {
pub gitspace_enabled: Option<bool>,
pub ssh_enabled: Option<bool>,
pub user_signup_allowed: Option<bool>,
pub public_resource_creation_enabled: Option<bool>,
pub artifact_registry_enabled: Option<bool>,
}Expand description
GET /api/v1/system/config — what this instance has switched on.
Fields§
§gitspace_enabled: Option<bool>§ssh_enabled: Option<bool>§user_signup_allowed: Option<bool>§public_resource_creation_enabled: Option<bool>§artifact_registry_enabled: Option<bool>Trait Implementations§
Source§impl Clone for SystemConfig
impl Clone for SystemConfig
Source§impl Debug for SystemConfig
impl Debug for SystemConfig
Source§impl Default for SystemConfig
impl Default for SystemConfig
Source§impl<'de> Deserialize<'de> for SystemConfig
impl<'de> Deserialize<'de> for SystemConfig
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
Auto Trait Implementations§
impl Forget for SystemConfig
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnsafeUnpin for SystemConfig
impl UnwindSafe for SystemConfig
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