pub struct IpAllocationRequest {
pub id: Option<Uuid>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub type: Option<IpAddressTypeChoices>,
pub dns_name: Option<String>,
pub description: Option<String>,
pub role: Option<Option<Box<ApprovalWorkflowUser>>>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub nat_inside: Option<Option<Box<NatInside>>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
IpAllocationRequest : Input serializer for POST to /api/ipam/prefixes/{id}/available-ips/, i.e. allocating addresses from a prefix.
Fields§
§id: Option<Uuid>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§type: Option<IpAddressTypeChoices>§dns_name: Option<String>Hostname or FQDN (not case-sensitive)
description: Option<String>§role: Option<Option<Box<ApprovalWorkflowUser>>>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§nat_inside: Option<Option<Box<NatInside>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl IpAllocationRequest
impl IpAllocationRequest
Sourcepub fn new(
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> IpAllocationRequest
pub fn new( status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> IpAllocationRequest
Input serializer for POST to /api/ipam/prefixes/{id}/available-ips/, i.e. allocating addresses from a prefix.
Trait Implementations§
Source§impl Clone for IpAllocationRequest
impl Clone for IpAllocationRequest
Source§fn clone(&self) -> IpAllocationRequest
fn clone(&self) -> IpAllocationRequest
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 IpAllocationRequest
impl Debug for IpAllocationRequest
Source§impl Default for IpAllocationRequest
impl Default for IpAllocationRequest
Source§fn default() -> IpAllocationRequest
fn default() -> IpAllocationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpAllocationRequest
impl<'de> Deserialize<'de> for IpAllocationRequest
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 PartialEq for IpAllocationRequest
impl PartialEq for IpAllocationRequest
Source§impl Serialize for IpAllocationRequest
impl Serialize for IpAllocationRequest
impl StructuralPartialEq for IpAllocationRequest
Auto Trait Implementations§
impl Freeze for IpAllocationRequest
impl RefUnwindSafe for IpAllocationRequest
impl Send for IpAllocationRequest
impl Sync for IpAllocationRequest
impl Unpin for IpAllocationRequest
impl UnsafeUnpin for IpAllocationRequest
impl UnwindSafe for IpAllocationRequest
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