pub struct PatchedWritableL2VpnRequest {
pub identifier: Option<Option<i64>>,
pub name: Option<String>,
pub slug: Option<String>,
pub type: Option<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
PatchedWritableL2VpnRequest : Adds support for custom fields and tags.
Fields§
§identifier: Option<Option<i64>>§name: Option<String>§slug: Option<String>§type: Option<RHashType>vpws- 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§
Source§impl PatchedWritableL2VpnRequest
impl PatchedWritableL2VpnRequest
Sourcepub fn new() -> PatchedWritableL2VpnRequest
pub fn new() -> PatchedWritableL2VpnRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableL2VpnRequest
impl Clone for PatchedWritableL2VpnRequest
Source§fn clone(&self) -> PatchedWritableL2VpnRequest
fn clone(&self) -> PatchedWritableL2VpnRequest
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 PatchedWritableL2VpnRequest
impl Debug for PatchedWritableL2VpnRequest
Source§impl Default for PatchedWritableL2VpnRequest
impl Default for PatchedWritableL2VpnRequest
Source§fn default() -> PatchedWritableL2VpnRequest
fn default() -> PatchedWritableL2VpnRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableL2VpnRequest
impl<'de> Deserialize<'de> for PatchedWritableL2VpnRequest
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 PatchedWritableL2VpnRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableL2VpnRequest
impl RefUnwindSafe for PatchedWritableL2VpnRequest
impl Send for PatchedWritableL2VpnRequest
impl Sync for PatchedWritableL2VpnRequest
impl Unpin for PatchedWritableL2VpnRequest
impl UnwindSafe for PatchedWritableL2VpnRequest
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