pub struct BulkWritablePrefixRequest {Show 16 fields
pub id: Uuid,
pub prefix: String,
pub type: Option<PrefixTypeChoices>,
pub location: Option<Option<Box<BulkWritablePrefixRequestLocation>>>,
pub date_allocated: Option<Option<String>>,
pub description: Option<String>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub role: Option<Option<Box<ApprovalWorkflowUser>>>,
pub parent: Option<Option<Box<BulkWritablePrefixRequestParent>>>,
pub namespace: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub vlan: Option<Option<Box<ApprovalWorkflowUser>>>,
pub rir: Option<Option<Box<BulkWritablePrefixRequestRir>>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
BulkWritablePrefixRequest : 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: Uuid§prefix: String§type: Option<PrefixTypeChoices>§location: Option<Option<Box<BulkWritablePrefixRequestLocation>>>§date_allocated: Option<Option<String>>Date this prefix was allocated to an RIR, reserved in IPAM, etc.
description: Option<String>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§role: Option<Option<Box<ApprovalWorkflowUser>>>§parent: Option<Option<Box<BulkWritablePrefixRequestParent>>>§namespace: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§vlan: Option<Option<Box<ApprovalWorkflowUser>>>§rir: Option<Option<Box<BulkWritablePrefixRequestRir>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl BulkWritablePrefixRequest
impl BulkWritablePrefixRequest
Sourcepub fn new(
id: Uuid,
prefix: String,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> BulkWritablePrefixRequest
pub fn new( id: Uuid, prefix: String, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> BulkWritablePrefixRequest
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 BulkWritablePrefixRequest
impl Clone for BulkWritablePrefixRequest
Source§fn clone(&self) -> BulkWritablePrefixRequest
fn clone(&self) -> BulkWritablePrefixRequest
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 BulkWritablePrefixRequest
impl Debug for BulkWritablePrefixRequest
Source§impl Default for BulkWritablePrefixRequest
impl Default for BulkWritablePrefixRequest
Source§fn default() -> BulkWritablePrefixRequest
fn default() -> BulkWritablePrefixRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkWritablePrefixRequest
impl<'de> Deserialize<'de> for BulkWritablePrefixRequest
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 StructuralPartialEq for BulkWritablePrefixRequest
Auto Trait Implementations§
impl Freeze for BulkWritablePrefixRequest
impl RefUnwindSafe for BulkWritablePrefixRequest
impl Send for BulkWritablePrefixRequest
impl Sync for BulkWritablePrefixRequest
impl Unpin for BulkWritablePrefixRequest
impl UnsafeUnpin for BulkWritablePrefixRequest
impl UnwindSafe for BulkWritablePrefixRequest
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