pub struct BulkVmInterfaceRequest {Show 18 fields
pub id: i32,
pub virtual_machine: Box<BulkVmInterfaceRequestVirtualMachine>,
pub name: String,
pub enabled: Option<bool>,
pub parent: Option<Option<Box<NestedVmInterfaceRequest>>>,
pub bridge: Option<Option<Box<NestedVmInterfaceRequest>>>,
pub mtu: Option<Option<i32>>,
pub primary_mac_address: Option<Option<Box<BulkInterfaceRequestPrimaryMacAddress>>>,
pub description: Option<String>,
pub mode: Option<Mode>,
pub untagged_vlan: Option<Option<Box<BulkInterfaceRequestUntaggedVlan>>>,
pub tagged_vlans: Option<Vec<i32>>,
pub qinq_svlan: Option<Option<Box<BulkInterfaceRequestUntaggedVlan>>>,
pub vlan_translation_policy: Option<Option<Box<BulkInterfaceRequestVlanTranslationPolicy>>>,
pub vrf: Option<Option<Box<BulkIpAddressRequestVrf>>>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
BulkVmInterfaceRequest : Adds an owner field for models which have a ForeignKey to users.Owner.
Fields§
§id: i32§virtual_machine: Box<BulkVmInterfaceRequestVirtualMachine>§name: String§enabled: Option<bool>§parent: Option<Option<Box<NestedVmInterfaceRequest>>>§bridge: Option<Option<Box<NestedVmInterfaceRequest>>>§mtu: Option<Option<i32>>§primary_mac_address: Option<Option<Box<BulkInterfaceRequestPrimaryMacAddress>>>§description: Option<String>§mode: Option<Mode>access- Access *tagged- Tagged *tagged-all- Tagged (All) *q-in-q- Q-in-Q (802.1ad)
untagged_vlan: Option<Option<Box<BulkInterfaceRequestUntaggedVlan>>>§tagged_vlans: Option<Vec<i32>>§qinq_svlan: Option<Option<Box<BulkInterfaceRequestUntaggedVlan>>>§vlan_translation_policy: Option<Option<Box<BulkInterfaceRequestVlanTranslationPolicy>>>§vrf: Option<Option<Box<BulkIpAddressRequestVrf>>>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl BulkVmInterfaceRequest
impl BulkVmInterfaceRequest
Sourcepub fn new(
id: i32,
virtual_machine: BulkVmInterfaceRequestVirtualMachine,
name: String,
) -> BulkVmInterfaceRequest
pub fn new( id: i32, virtual_machine: BulkVmInterfaceRequestVirtualMachine, name: String, ) -> BulkVmInterfaceRequest
Adds an owner field for models which have a ForeignKey to users.Owner.
Trait Implementations§
Source§impl Clone for BulkVmInterfaceRequest
impl Clone for BulkVmInterfaceRequest
Source§fn clone(&self) -> BulkVmInterfaceRequest
fn clone(&self) -> BulkVmInterfaceRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BulkVmInterfaceRequest
impl Debug for BulkVmInterfaceRequest
Source§impl Default for BulkVmInterfaceRequest
impl Default for BulkVmInterfaceRequest
Source§fn default() -> BulkVmInterfaceRequest
fn default() -> BulkVmInterfaceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkVmInterfaceRequest
impl<'de> Deserialize<'de> for BulkVmInterfaceRequest
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 BulkVmInterfaceRequest
impl PartialEq for BulkVmInterfaceRequest
Source§impl Serialize for BulkVmInterfaceRequest
impl Serialize for BulkVmInterfaceRequest
impl StructuralPartialEq for BulkVmInterfaceRequest
Auto Trait Implementations§
impl Freeze for BulkVmInterfaceRequest
impl RefUnwindSafe for BulkVmInterfaceRequest
impl Send for BulkVmInterfaceRequest
impl Sync for BulkVmInterfaceRequest
impl Unpin for BulkVmInterfaceRequest
impl UnsafeUnpin for BulkVmInterfaceRequest
impl UnwindSafe for BulkVmInterfaceRequest
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