pub struct CreateDhcpOptionsRequest {
pub domain_name: Option<String>,
pub domain_name_servers: Option<Vec<String>>,
pub dry_run: Option<bool>,
pub log_servers: Option<Vec<String>>,
pub ntp_servers: Option<Vec<String>>,
}Fields§
§domain_name: Option<String>Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, LogServers, or NtpServers.
domain_name_servers: Option<Vec<String>>The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, LogServers, or NtpServers.
dry_run: Option<bool>If true, checks whether you have the required permissions to perform the action.
log_servers: Option<Vec<String>>The IPs of the log servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, LogServers, or NtpServers.
ntp_servers: Option<Vec<String>>The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, LogServers, or NtpServers.
Implementations§
Source§impl CreateDhcpOptionsRequest
impl CreateDhcpOptionsRequest
pub fn new() -> CreateDhcpOptionsRequest
Trait Implementations§
Source§impl Clone for CreateDhcpOptionsRequest
impl Clone for CreateDhcpOptionsRequest
Source§fn clone(&self) -> CreateDhcpOptionsRequest
fn clone(&self) -> CreateDhcpOptionsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateDhcpOptionsRequest
impl Debug for CreateDhcpOptionsRequest
Source§impl Default for CreateDhcpOptionsRequest
impl Default for CreateDhcpOptionsRequest
Source§fn default() -> CreateDhcpOptionsRequest
fn default() -> CreateDhcpOptionsRequest
Source§impl<'de> Deserialize<'de> for CreateDhcpOptionsRequest
impl<'de> Deserialize<'de> for CreateDhcpOptionsRequest
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>,
Source§impl PartialEq for CreateDhcpOptionsRequest
impl PartialEq for CreateDhcpOptionsRequest
Source§impl Serialize for CreateDhcpOptionsRequest
impl Serialize for CreateDhcpOptionsRequest
impl StructuralPartialEq for CreateDhcpOptionsRequest
Auto Trait Implementations§
impl Freeze for CreateDhcpOptionsRequest
impl RefUnwindSafe for CreateDhcpOptionsRequest
impl Send for CreateDhcpOptionsRequest
impl Sync for CreateDhcpOptionsRequest
impl Unpin for CreateDhcpOptionsRequest
impl UnwindSafe for CreateDhcpOptionsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more