pub struct IpAllocationResponse {
pub cidr: String,
pub total_ips: u32,
pub allocated_count: usize,
pub available_count: u32,
pub utilization_percent: f64,
pub allocated_ips: Option<Vec<String>>,
}Expand description
IP allocation status response
Fields§
§cidr: StringOverlay network CIDR
total_ips: u32Total available IPs in the range
allocated_count: usizeNumber of allocated IPs
available_count: u32Number of available IPs
utilization_percent: f64Utilization percentage (0.0 - 100.0)
allocated_ips: Option<Vec<String>>List of allocated IP addresses (only included if requested)
Trait Implementations§
Source§impl ComposeSchema for IpAllocationResponse
impl ComposeSchema for IpAllocationResponse
Source§impl Debug for IpAllocationResponse
impl Debug for IpAllocationResponse
Source§impl<'de> Deserialize<'de> for IpAllocationResponse
impl<'de> Deserialize<'de> for IpAllocationResponse
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 Serialize for IpAllocationResponse
impl Serialize for IpAllocationResponse
Auto Trait Implementations§
impl Freeze for IpAllocationResponse
impl RefUnwindSafe for IpAllocationResponse
impl Send for IpAllocationResponse
impl Sync for IpAllocationResponse
impl Unpin for IpAllocationResponse
impl UnsafeUnpin for IpAllocationResponse
impl UnwindSafe for IpAllocationResponse
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