pub struct InstallServerRequest {
pub os_id: String,
pub hostname: String,
pub ssh_key_ids: Vec<String>,
pub user: Option<Option<String>>,
pub password: Option<Option<String>>,
pub service_user: Option<Option<String>>,
pub service_password: Option<Option<String>>,
}
Fields§
§os_id: String
ID of the OS to install on the server
hostname: String
Hostname of the server
ssh_key_ids: Vec<String>
SSH key IDs authorized on the server
user: Option<Option<String>>
User used for the installation
password: Option<Option<String>>
Password used for the installation
service_user: Option<Option<String>>
User used for the service to install
service_password: Option<Option<String>>
Password used for the service to install
Implementations§
Trait Implementations§
Source§impl Clone for InstallServerRequest
impl Clone for InstallServerRequest
Source§fn clone(&self) -> InstallServerRequest
fn clone(&self) -> InstallServerRequest
Returns a duplicate 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 InstallServerRequest
impl Debug for InstallServerRequest
Source§impl Default for InstallServerRequest
impl Default for InstallServerRequest
Source§fn default() -> InstallServerRequest
fn default() -> InstallServerRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstallServerRequest
impl<'de> Deserialize<'de> for InstallServerRequest
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 InstallServerRequest
impl PartialEq for InstallServerRequest
Source§impl Serialize for InstallServerRequest
impl Serialize for InstallServerRequest
impl StructuralPartialEq for InstallServerRequest
Auto Trait Implementations§
impl Freeze for InstallServerRequest
impl RefUnwindSafe for InstallServerRequest
impl Send for InstallServerRequest
impl Sync for InstallServerRequest
impl Unpin for InstallServerRequest
impl UnwindSafe for InstallServerRequest
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