pub struct BulkWritableLocationRequest {Show 21 fields
pub id: Uuid,
pub time_zone: Option<Option<String>>,
pub name: String,
pub description: Option<String>,
pub facility: Option<String>,
pub asn: Option<Option<i64>>,
pub physical_address: Option<String>,
pub shipping_address: Option<String>,
pub latitude: Option<Option<String>>,
pub longitude: Option<Option<String>>,
pub contact_name: Option<String>,
pub contact_phone: Option<String>,
pub contact_email: Option<String>,
pub comments: Option<String>,
pub parent: Option<Option<Box<ApprovalWorkflowUser>>>,
pub location_type: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
BulkWritableLocationRequest : Add a tree_depth field to non-nested model serializers based on django-tree-queries.
Fields§
§id: Uuid§time_zone: Option<Option<String>>§name: String§description: Option<String>§facility: Option<String>Local facility ID or description
asn: Option<Option<i64>>32-bit autonomous system number
physical_address: Option<String>§shipping_address: Option<String>§latitude: Option<Option<String>>GPS coordinate (latitude)
longitude: Option<Option<String>>GPS coordinate (longitude)
contact_name: Option<String>§contact_phone: Option<String>§contact_email: Option<String>§comments: Option<String>§parent: Option<Option<Box<ApprovalWorkflowUser>>>§location_type: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl BulkWritableLocationRequest
impl BulkWritableLocationRequest
Sourcepub fn new(
id: Uuid,
name: String,
location_type: ApprovalWorkflowStageResponseApprovalWorkflowStage,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> BulkWritableLocationRequest
pub fn new( id: Uuid, name: String, location_type: ApprovalWorkflowStageResponseApprovalWorkflowStage, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> BulkWritableLocationRequest
Add a tree_depth field to non-nested model serializers based on django-tree-queries.
Trait Implementations§
Source§impl Clone for BulkWritableLocationRequest
impl Clone for BulkWritableLocationRequest
Source§fn clone(&self) -> BulkWritableLocationRequest
fn clone(&self) -> BulkWritableLocationRequest
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 BulkWritableLocationRequest
impl Debug for BulkWritableLocationRequest
Source§impl Default for BulkWritableLocationRequest
impl Default for BulkWritableLocationRequest
Source§fn default() -> BulkWritableLocationRequest
fn default() -> BulkWritableLocationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkWritableLocationRequest
impl<'de> Deserialize<'de> for BulkWritableLocationRequest
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 BulkWritableLocationRequest
Auto Trait Implementations§
impl Freeze for BulkWritableLocationRequest
impl RefUnwindSafe for BulkWritableLocationRequest
impl Send for BulkWritableLocationRequest
impl Sync for BulkWritableLocationRequest
impl Unpin for BulkWritableLocationRequest
impl UnsafeUnpin for BulkWritableLocationRequest
impl UnwindSafe for BulkWritableLocationRequest
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