pub struct PutParams {
pub ip: IpAddr,
pub mac: Option<MacAddr<false>>,
pub vmid: Option<VmId>,
pub zone: String,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§ip: IpAddr
The IP address to associate with the given MAC address
mac: Option<MacAddr<false>>
Unicast MAC address. A common MAC address with the I/G (Individual/Group) bit not set.
vmid: Option<VmId>
The (unique) ID of the VM.
zone: String
The SDN zone object identifier.
additional_properties: HashMap<String, Value>
Implementations§
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