pub struct ServerSettingsResponseModel {
pub disable_user_registration: Option<bool>,
}
Fields§
§disable_user_registration: Option<bool>
Implementations§
Source§impl ServerSettingsResponseModel
impl ServerSettingsResponseModel
pub fn new() -> ServerSettingsResponseModel
Trait Implementations§
Source§impl Clone for ServerSettingsResponseModel
impl Clone for ServerSettingsResponseModel
Source§fn clone(&self) -> ServerSettingsResponseModel
fn clone(&self) -> ServerSettingsResponseModel
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 ServerSettingsResponseModel
impl Debug for ServerSettingsResponseModel
Source§impl Default for ServerSettingsResponseModel
impl Default for ServerSettingsResponseModel
Source§fn default() -> ServerSettingsResponseModel
fn default() -> ServerSettingsResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerSettingsResponseModel
impl<'de> Deserialize<'de> for ServerSettingsResponseModel
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
impl StructuralPartialEq for ServerSettingsResponseModel
Auto Trait Implementations§
impl Freeze for ServerSettingsResponseModel
impl RefUnwindSafe for ServerSettingsResponseModel
impl Send for ServerSettingsResponseModel
impl Sync for ServerSettingsResponseModel
impl Unpin for ServerSettingsResponseModel
impl UnwindSafe for ServerSettingsResponseModel
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