pub struct WritableL2VpnRequest {
pub identifier: Option<Option<i64>>,
pub name: String,
pub slug: String,
pub type: RHashType,
pub status: Option<Status>,
pub import_targets: Option<Vec<i32>>,
pub export_targets: Option<Vec<i32>>,
pub description: Option<String>,
pub comments: Option<String>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
WritableL2VpnRequest : Adds support for custom fields and tags.
Fields§
§identifier: Option<Option<i64>>§name: String§slug: String§type: RHashTypevpws- VPWS *vpls- VPLS *vxlan- VXLAN *vxlan-evpn- VXLAN-EVPN *mpls-evpn- MPLS EVPN *pbb-evpn- PBB EVPN *evpn-vpws- EVPN VPWS *epl- EPL *evpl- EVPL *ep-lan- Ethernet Private LAN *evp-lan- Ethernet Virtual Private LAN *ep-tree- Ethernet Private Tree *evp-tree- Ethernet Virtual Private Tree *spb- SPB
status: Option<Status>active- Active *planned- Planned *decommissioning- Decommissioning
import_targets: Option<Vec<i32>>§export_targets: Option<Vec<i32>>§description: Option<String>§comments: Option<String>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§custom_fields: Option<HashMap<String, Value>>Implementations§
Trait Implementations§
Source§impl Clone for WritableL2VpnRequest
impl Clone for WritableL2VpnRequest
Source§fn clone(&self) -> WritableL2VpnRequest
fn clone(&self) -> WritableL2VpnRequest
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 WritableL2VpnRequest
impl Debug for WritableL2VpnRequest
Source§impl Default for WritableL2VpnRequest
impl Default for WritableL2VpnRequest
Source§fn default() -> WritableL2VpnRequest
fn default() -> WritableL2VpnRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableL2VpnRequest
impl<'de> Deserialize<'de> for WritableL2VpnRequest
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 WritableL2VpnRequest
impl PartialEq for WritableL2VpnRequest
Source§impl Serialize for WritableL2VpnRequest
impl Serialize for WritableL2VpnRequest
impl StructuralPartialEq for WritableL2VpnRequest
Auto Trait Implementations§
impl Freeze for WritableL2VpnRequest
impl RefUnwindSafe for WritableL2VpnRequest
impl Send for WritableL2VpnRequest
impl Sync for WritableL2VpnRequest
impl Unpin for WritableL2VpnRequest
impl UnwindSafe for WritableL2VpnRequest
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