#[non_exhaustive]pub struct CoreNetworkPolicyVersion {
pub core_network_id: Option<String>,
pub policy_version_id: Option<i32>,
pub alias: Option<CoreNetworkPolicyAlias>,
pub description: Option<String>,
pub created_at: Option<DateTime>,
pub change_set_state: Option<ChangeSetState>,
}
Expand description
Describes a core network policy version.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.core_network_id: Option<String>
The ID of a core network.
policy_version_id: Option<i32>
The ID of the policy version.
alias: Option<CoreNetworkPolicyAlias>
Whether a core network policy is the current policy or the most recently submitted policy.
description: Option<String>
The description of a core network policy version.
created_at: Option<DateTime>
The timestamp when a core network policy version was created.
change_set_state: Option<ChangeSetState>
The status of the policy version change set.
Implementations§
source§impl CoreNetworkPolicyVersion
impl CoreNetworkPolicyVersion
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of a core network.
sourcepub fn policy_version_id(&self) -> Option<i32>
pub fn policy_version_id(&self) -> Option<i32>
The ID of the policy version.
sourcepub fn alias(&self) -> Option<&CoreNetworkPolicyAlias>
pub fn alias(&self) -> Option<&CoreNetworkPolicyAlias>
Whether a core network policy is the current policy or the most recently submitted policy.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of a core network policy version.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp when a core network policy version was created.
sourcepub fn change_set_state(&self) -> Option<&ChangeSetState>
pub fn change_set_state(&self) -> Option<&ChangeSetState>
The status of the policy version change set.
source§impl CoreNetworkPolicyVersion
impl CoreNetworkPolicyVersion
sourcepub fn builder() -> CoreNetworkPolicyVersionBuilder
pub fn builder() -> CoreNetworkPolicyVersionBuilder
Creates a new builder-style object to manufacture CoreNetworkPolicyVersion
.
Trait Implementations§
source§impl Clone for CoreNetworkPolicyVersion
impl Clone for CoreNetworkPolicyVersion
source§fn clone(&self) -> CoreNetworkPolicyVersion
fn clone(&self) -> CoreNetworkPolicyVersion
Returns a copy 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 CoreNetworkPolicyVersion
impl Debug for CoreNetworkPolicyVersion
source§impl PartialEq for CoreNetworkPolicyVersion
impl PartialEq for CoreNetworkPolicyVersion
source§fn eq(&self, other: &CoreNetworkPolicyVersion) -> bool
fn eq(&self, other: &CoreNetworkPolicyVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoreNetworkPolicyVersion
Auto Trait Implementations§
impl Freeze for CoreNetworkPolicyVersion
impl RefUnwindSafe for CoreNetworkPolicyVersion
impl Send for CoreNetworkPolicyVersion
impl Sync for CoreNetworkPolicyVersion
impl Unpin for CoreNetworkPolicyVersion
impl UnwindSafe for CoreNetworkPolicyVersion
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.