pub struct IpAddressRequest {Show 14 fields
pub id: Option<Uuid>,
pub address: String,
pub namespace: Option<Box<BulkWritableIpAddressRequestNamespace>>,
pub type: Option<IpAddressTypeChoices>,
pub dns_name: Option<String>,
pub description: Option<String>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub role: Option<Option<Box<ApprovalWorkflowUser>>>,
pub parent: Option<Option<Box<BulkWritableIpAddressRequestParent>>>,
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
IpAddressRequest : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Option<Uuid>§address: String§namespace: Option<Box<BulkWritableIpAddressRequestNamespace>>§type: Option<IpAddressTypeChoices>§dns_name: Option<String>Hostname or FQDN (not case-sensitive)
description: Option<String>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§role: Option<Option<Box<ApprovalWorkflowUser>>>§parent: Option<Option<Box<BulkWritableIpAddressRequestParent>>>§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 IpAddressRequest
impl IpAddressRequest
Sourcepub fn new(
address: String,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> IpAddressRequest
pub fn new( address: String, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> IpAddressRequest
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for IpAddressRequest
impl Clone for IpAddressRequest
Source§fn clone(&self) -> IpAddressRequest
fn clone(&self) -> IpAddressRequest
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 IpAddressRequest
impl Debug for IpAddressRequest
Source§impl Default for IpAddressRequest
impl Default for IpAddressRequest
Source§fn default() -> IpAddressRequest
fn default() -> IpAddressRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpAddressRequest
impl<'de> Deserialize<'de> for IpAddressRequest
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 IpAddressRequest
impl PartialEq for IpAddressRequest
Source§impl Serialize for IpAddressRequest
impl Serialize for IpAddressRequest
impl StructuralPartialEq for IpAddressRequest
Auto Trait Implementations§
impl Freeze for IpAddressRequest
impl RefUnwindSafe for IpAddressRequest
impl Send for IpAddressRequest
impl Sync for IpAddressRequest
impl Unpin for IpAddressRequest
impl UnsafeUnpin for IpAddressRequest
impl UnwindSafe for IpAddressRequest
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