pub struct InterconnectOutageNotification {
pub affected_circuits: Option<Vec<String>>,
pub description: Option<String>,
pub end_time: Option<i64>,
pub issue_type: Option<String>,
pub name: Option<String>,
pub source: Option<String>,
pub start_time: Option<i64>,
pub state: Option<String>,
}
Expand description
Description of a planned outage on this Interconnect.
This type is not used in any activity, and only used as part of another schema.
Fields§
§affected_circuits: Option<Vec<String>>
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
description: Option<String>
A description about the purpose of the outage.
end_time: Option<i64>
Scheduled end time for the outage (milliseconds since Unix epoch).
issue_type: Option<String>
Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with “IT_” have been deprecated in favor of the unprefixed values.
name: Option<String>
Unique identifier for this outage notification.
source: Option<String>
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE.
start_time: Option<i64>
Scheduled start time for the outage (milliseconds since Unix epoch).
state: Option<String>
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with “NS_” have been deprecated in favor of the unprefixed values.
Trait Implementations§
Source§impl Clone for InterconnectOutageNotification
impl Clone for InterconnectOutageNotification
Source§fn clone(&self) -> InterconnectOutageNotification
fn clone(&self) -> InterconnectOutageNotification
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for InterconnectOutageNotification
impl Default for InterconnectOutageNotification
Source§fn default() -> InterconnectOutageNotification
fn default() -> InterconnectOutageNotification
Source§impl<'de> Deserialize<'de> for InterconnectOutageNotification
impl<'de> Deserialize<'de> for InterconnectOutageNotification
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>,
impl Part for InterconnectOutageNotification
Auto Trait Implementations§
impl Freeze for InterconnectOutageNotification
impl RefUnwindSafe for InterconnectOutageNotification
impl Send for InterconnectOutageNotification
impl Sync for InterconnectOutageNotification
impl Unpin for InterconnectOutageNotification
impl UnwindSafe for InterconnectOutageNotification
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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