#[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
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
sourceimpl 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.
sourceimpl CoreNetworkPolicyVersion
impl CoreNetworkPolicyVersion
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CoreNetworkPolicyVersion
Trait Implementations
sourceimpl Clone for CoreNetworkPolicyVersion
impl Clone for CoreNetworkPolicyVersion
sourcefn clone(&self) -> CoreNetworkPolicyVersion
fn clone(&self) -> CoreNetworkPolicyVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CoreNetworkPolicyVersion
impl Debug for CoreNetworkPolicyVersion
sourceimpl PartialEq<CoreNetworkPolicyVersion> for CoreNetworkPolicyVersion
impl PartialEq<CoreNetworkPolicyVersion> for CoreNetworkPolicyVersion
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CoreNetworkPolicyVersion) -> bool
fn ne(&self, other: &CoreNetworkPolicyVersion) -> bool
This method tests for !=
.
impl StructuralPartialEq for CoreNetworkPolicyVersion
Auto Trait Implementations
impl RefUnwindSafe for CoreNetworkPolicyVersion
impl Send for CoreNetworkPolicyVersion
impl Sync for CoreNetworkPolicyVersion
impl Unpin for CoreNetworkPolicyVersion
impl UnwindSafe for CoreNetworkPolicyVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more