pub struct ClusterSdnCreateRouteMapEntryRequest {
pub action: PveActionEnum,
pub call: Option<String>,
pub digest: Option<String>,
pub exit_action: Option<Box<PveClusterSdnExitActionField>>,
pub lock_token: Option<String>,
pub match: Option<Vec<ClusterSdnListRouteMapEntriesResponseDataInnerMatchInner>>,
pub order: i32,
pub route_map_id: String,
pub set: Option<Vec<ClusterSdnListRouteMapEntriesResponseDataInnerSetInner>>,
}Fields§
§action: PveActionEnumMatching policy of a route map entry.
call: Option<String>The SDN route map identifier
digest: Option<String>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
exit_action: Option<Box<PveClusterSdnExitActionField>>§lock_token: Option<String>the token for unlocking the global SDN configuration
match: Option<Vec<ClusterSdnListRouteMapEntriesResponseDataInnerMatchInner>>§order: i32The index of this route map entry
route_map_id: StringThe SDN route map identifier
set: Option<Vec<ClusterSdnListRouteMapEntriesResponseDataInnerSetInner>>Implementations§
Source§impl ClusterSdnCreateRouteMapEntryRequest
impl ClusterSdnCreateRouteMapEntryRequest
pub fn new( action: PveActionEnum, order: i32, route_map_id: String, ) -> ClusterSdnCreateRouteMapEntryRequest
Trait Implementations§
Source§impl Clone for ClusterSdnCreateRouteMapEntryRequest
impl Clone for ClusterSdnCreateRouteMapEntryRequest
Source§fn clone(&self) -> ClusterSdnCreateRouteMapEntryRequest
fn clone(&self) -> ClusterSdnCreateRouteMapEntryRequest
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 Default for ClusterSdnCreateRouteMapEntryRequest
impl Default for ClusterSdnCreateRouteMapEntryRequest
Source§fn default() -> ClusterSdnCreateRouteMapEntryRequest
fn default() -> ClusterSdnCreateRouteMapEntryRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterSdnCreateRouteMapEntryRequest
impl<'de> Deserialize<'de> for ClusterSdnCreateRouteMapEntryRequest
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 ClusterSdnCreateRouteMapEntryRequest
impl PartialEq for ClusterSdnCreateRouteMapEntryRequest
Source§fn eq(&self, other: &ClusterSdnCreateRouteMapEntryRequest) -> bool
fn eq(&self, other: &ClusterSdnCreateRouteMapEntryRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterSdnCreateRouteMapEntryRequest
Auto Trait Implementations§
impl Freeze for ClusterSdnCreateRouteMapEntryRequest
impl RefUnwindSafe for ClusterSdnCreateRouteMapEntryRequest
impl Send for ClusterSdnCreateRouteMapEntryRequest
impl Sync for ClusterSdnCreateRouteMapEntryRequest
impl Unpin for ClusterSdnCreateRouteMapEntryRequest
impl UnsafeUnpin for ClusterSdnCreateRouteMapEntryRequest
impl UnwindSafe for ClusterSdnCreateRouteMapEntryRequest
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