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