pub struct UpdateServerRequest {
pub name: Option<Option<String>>,
pub description: Option<Option<String>>,
pub tags: Option<Option<Vec<String>>>,
}
Fields§
§name: Option<Option<String>>
Name of the server (≠hostname), not updated if null
description: Option<Option<String>>
Description associated to the server, max 255 characters, not updated if null
Tags associated to the server, not updated if null
Implementations§
source§impl UpdateServerRequest
impl UpdateServerRequest
pub fn new() -> UpdateServerRequest
Trait Implementations§
source§impl Clone for UpdateServerRequest
impl Clone for UpdateServerRequest
source§fn clone(&self) -> UpdateServerRequest
fn clone(&self) -> UpdateServerRequest
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 UpdateServerRequest
impl Debug for UpdateServerRequest
source§impl Default for UpdateServerRequest
impl Default for UpdateServerRequest
source§fn default() -> UpdateServerRequest
fn default() -> UpdateServerRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateServerRequest
impl<'de> Deserialize<'de> for UpdateServerRequest
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<UpdateServerRequest> for UpdateServerRequest
impl PartialEq<UpdateServerRequest> for UpdateServerRequest
source§fn eq(&self, other: &UpdateServerRequest) -> bool
fn eq(&self, other: &UpdateServerRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.