#[non_exhaustive]pub struct CoreNetworkChangeEvent {
pub type: Option<ChangeType>,
pub action: Option<ChangeAction>,
pub identifier_path: Option<String>,
pub event_time: Option<DateTime>,
pub status: Option<ChangeStatus>,
pub values: Option<CoreNetworkChangeEventValues>,
}
Expand description
Describes a core network change event. This can be a change to a segment, attachment, route, etc.
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.type: Option<ChangeType>
Describes the type of change event.
action: Option<ChangeAction>
The action taken for the change event.
identifier_path: Option<String>
Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath
for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment"
.
event_time: Option<DateTime>
The timestamp for an event change in status.
status: Option<ChangeStatus>
The status of the core network change event.
values: Option<CoreNetworkChangeEventValues>
Details of the change event.
Implementations§
source§impl CoreNetworkChangeEvent
impl CoreNetworkChangeEvent
sourcepub fn type(&self) -> Option<&ChangeType>
pub fn type(&self) -> Option<&ChangeType>
Describes the type of change event.
sourcepub fn action(&self) -> Option<&ChangeAction>
pub fn action(&self) -> Option<&ChangeAction>
The action taken for the change event.
sourcepub fn identifier_path(&self) -> Option<&str>
pub fn identifier_path(&self) -> Option<&str>
Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath
for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment"
.
sourcepub fn event_time(&self) -> Option<&DateTime>
pub fn event_time(&self) -> Option<&DateTime>
The timestamp for an event change in status.
sourcepub fn status(&self) -> Option<&ChangeStatus>
pub fn status(&self) -> Option<&ChangeStatus>
The status of the core network change event.
sourcepub fn values(&self) -> Option<&CoreNetworkChangeEventValues>
pub fn values(&self) -> Option<&CoreNetworkChangeEventValues>
Details of the change event.
source§impl CoreNetworkChangeEvent
impl CoreNetworkChangeEvent
sourcepub fn builder() -> CoreNetworkChangeEventBuilder
pub fn builder() -> CoreNetworkChangeEventBuilder
Creates a new builder-style object to manufacture CoreNetworkChangeEvent
.
Trait Implementations§
source§impl Clone for CoreNetworkChangeEvent
impl Clone for CoreNetworkChangeEvent
source§fn clone(&self) -> CoreNetworkChangeEvent
fn clone(&self) -> CoreNetworkChangeEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CoreNetworkChangeEvent
impl Debug for CoreNetworkChangeEvent
source§impl PartialEq for CoreNetworkChangeEvent
impl PartialEq for CoreNetworkChangeEvent
source§fn eq(&self, other: &CoreNetworkChangeEvent) -> bool
fn eq(&self, other: &CoreNetworkChangeEvent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoreNetworkChangeEvent
Auto Trait Implementations§
impl Freeze for CoreNetworkChangeEvent
impl RefUnwindSafe for CoreNetworkChangeEvent
impl Send for CoreNetworkChangeEvent
impl Sync for CoreNetworkChangeEvent
impl Unpin for CoreNetworkChangeEvent
impl UnwindSafe for CoreNetworkChangeEvent
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more