pub struct ConfigResponseModel {
pub object: Option<String>,
pub version: Option<String>,
pub git_hash: Option<String>,
pub server: Option<Box<ServerConfigResponseModel>>,
pub environment: Option<Box<EnvironmentConfigResponseModel>>,
pub feature_states: Option<HashMap<String, Value>>,
pub settings: Option<Box<ServerSettingsResponseModel>>,
}
Fields§
§object: Option<String>
§version: Option<String>
§git_hash: Option<String>
§server: Option<Box<ServerConfigResponseModel>>
§environment: Option<Box<EnvironmentConfigResponseModel>>
§feature_states: Option<HashMap<String, Value>>
§settings: Option<Box<ServerSettingsResponseModel>>
Implementations§
Source§impl ConfigResponseModel
impl ConfigResponseModel
pub fn new() -> ConfigResponseModel
Trait Implementations§
Source§impl Clone for ConfigResponseModel
impl Clone for ConfigResponseModel
Source§fn clone(&self) -> ConfigResponseModel
fn clone(&self) -> ConfigResponseModel
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 ConfigResponseModel
impl Debug for ConfigResponseModel
Source§impl Default for ConfigResponseModel
impl Default for ConfigResponseModel
Source§fn default() -> ConfigResponseModel
fn default() -> ConfigResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigResponseModel
impl<'de> Deserialize<'de> for ConfigResponseModel
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 ConfigResponseModel
impl PartialEq for ConfigResponseModel
Source§impl Serialize for ConfigResponseModel
impl Serialize for ConfigResponseModel
impl StructuralPartialEq for ConfigResponseModel
Auto Trait Implementations§
impl Freeze for ConfigResponseModel
impl RefUnwindSafe for ConfigResponseModel
impl Send for ConfigResponseModel
impl Sync for ConfigResponseModel
impl Unpin for ConfigResponseModel
impl UnwindSafe for ConfigResponseModel
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