pub struct BulkWritablePlatformRequest {
pub id: Uuid,
pub name: String,
pub network_driver: Option<String>,
pub napalm_driver: Option<String>,
pub napalm_args: Option<Option<Value>>,
pub description: Option<String>,
pub manufacturer: Option<Option<Box<BulkWritablePlatformRequestManufacturer>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
BulkWritablePlatformRequest : 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§name: String§network_driver: Option<String>The normalized network driver to use when interacting with devices, e.g. cisco_ios, arista_eos, etc. Library-specific driver names will be derived from this setting as appropriate
napalm_driver: Option<String>The name of the NAPALM driver to use when Nautobot internals interact with devices
napalm_args: Option<Option<Value>>Additional arguments to pass when initiating the NAPALM driver (JSON format)
description: Option<String>§manufacturer: Option<Option<Box<BulkWritablePlatformRequestManufacturer>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl BulkWritablePlatformRequest
impl BulkWritablePlatformRequest
Sourcepub fn new(id: Uuid, name: String) -> BulkWritablePlatformRequest
pub fn new(id: Uuid, name: String) -> BulkWritablePlatformRequest
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 BulkWritablePlatformRequest
impl Clone for BulkWritablePlatformRequest
Source§fn clone(&self) -> BulkWritablePlatformRequest
fn clone(&self) -> BulkWritablePlatformRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BulkWritablePlatformRequest
impl Debug for BulkWritablePlatformRequest
Source§impl Default for BulkWritablePlatformRequest
impl Default for BulkWritablePlatformRequest
Source§fn default() -> BulkWritablePlatformRequest
fn default() -> BulkWritablePlatformRequest
Source§impl<'de> Deserialize<'de> for BulkWritablePlatformRequest
impl<'de> Deserialize<'de> for BulkWritablePlatformRequest
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>,
Source§impl PartialEq for BulkWritablePlatformRequest
impl PartialEq for BulkWritablePlatformRequest
Source§fn eq(&self, other: &BulkWritablePlatformRequest) -> bool
fn eq(&self, other: &BulkWritablePlatformRequest) -> bool
self and other values to be equal, and is used by ==.