pub struct PutParams {
pub delete: Option<String>,
pub dhcp_dns_server: Option<IpAddr>,
pub dhcp_range: Vec<String>,
pub digest: Option<String>,
pub dnszoneprefix: Option<String>,
pub gateway: Option<IpAddr>,
pub snat: Option<bool>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§delete: Option<String>
A list of settings you want to delete.
dhcp_dns_server: Option<IpAddr>
IP address for the DNS server
dhcp_range: Vec<String>
A list of DHCP ranges for this subnet
digest: Option<String>
Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
dnszoneprefix: Option<String>
dns domain zone prefix ex: ‘adm’ -> <hostname>.adm.mydomain.com
gateway: Option<IpAddr>
Subnet Gateway: Will be assign on vnet for layer3 zones
snat: Option<bool>
enable masquerade for this subnet if pve-firewall
additional_properties: HashMap<String, Value>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PutParams
impl<'de> Deserialize<'de> for PutParams
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
Auto Trait Implementations§
impl Freeze for PutParams
impl RefUnwindSafe for PutParams
impl Send for PutParams
impl Sync for PutParams
impl Unpin for PutParams
impl UnwindSafe for PutParams
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