pub struct NetworkAddressReservation {
pub end_address: Option<String>,
pub note: Option<String>,
pub start_address: Option<String>,
}Expand description
A reservation of one or more addresses in a network.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_address: Option<String>The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
note: Option<String>A note about this reservation, intended for human consumption.
start_address: Option<String>The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
Trait Implementations§
Source§impl Clone for NetworkAddressReservation
impl Clone for NetworkAddressReservation
Source§fn clone(&self) -> NetworkAddressReservation
fn clone(&self) -> NetworkAddressReservation
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 NetworkAddressReservation
impl Debug for NetworkAddressReservation
Source§impl Default for NetworkAddressReservation
impl Default for NetworkAddressReservation
Source§fn default() -> NetworkAddressReservation
fn default() -> NetworkAddressReservation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkAddressReservation
impl<'de> Deserialize<'de> for NetworkAddressReservation
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
impl Part for NetworkAddressReservation
Auto Trait Implementations§
impl Freeze for NetworkAddressReservation
impl RefUnwindSafe for NetworkAddressReservation
impl Send for NetworkAddressReservation
impl Sync for NetworkAddressReservation
impl Unpin for NetworkAddressReservation
impl UnwindSafe for NetworkAddressReservation
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