#[non_exhaustive]pub struct VirtualInterfaceTestHistory {
pub test_id: Option<String>,
pub virtual_interface_id: Option<String>,
pub bgp_peers: Option<Vec<String>>,
pub status: Option<String>,
pub owner_account: Option<String>,
pub test_duration_in_minutes: Option<i32>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
Expand description
Information about the virtual interface failover test.
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.test_id: Option<String>
The ID of the virtual interface failover test.
virtual_interface_id: Option<String>
The ID of the tested virtual interface.
bgp_peers: Option<Vec<String>>
The BGP peers that were put in the DOWN state as part of the virtual interface failover test.
status: Option<String>
The status of the virtual interface failover test.
owner_account: Option<String>
The owner ID of the tested virtual interface.
test_duration_in_minutes: Option<i32>
The time that the virtual interface failover test ran in minutes.
start_time: Option<DateTime>
The time that the virtual interface moves to the DOWN state.
end_time: Option<DateTime>
The time that the virtual interface moves out of the DOWN state.
Implementations§
source§impl VirtualInterfaceTestHistory
impl VirtualInterfaceTestHistory
sourcepub fn virtual_interface_id(&self) -> Option<&str>
pub fn virtual_interface_id(&self) -> Option<&str>
The ID of the tested virtual interface.
sourcepub fn bgp_peers(&self) -> &[String]
pub fn bgp_peers(&self) -> &[String]
The BGP peers that were put in the DOWN state as part of the virtual interface failover test.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .bgp_peers.is_none()
.
sourcepub fn owner_account(&self) -> Option<&str>
pub fn owner_account(&self) -> Option<&str>
The owner ID of the tested virtual interface.
sourcepub fn test_duration_in_minutes(&self) -> Option<i32>
pub fn test_duration_in_minutes(&self) -> Option<i32>
The time that the virtual interface failover test ran in minutes.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time that the virtual interface moves to the DOWN state.
source§impl VirtualInterfaceTestHistory
impl VirtualInterfaceTestHistory
sourcepub fn builder() -> VirtualInterfaceTestHistoryBuilder
pub fn builder() -> VirtualInterfaceTestHistoryBuilder
Creates a new builder-style object to manufacture VirtualInterfaceTestHistory
.
Trait Implementations§
source§impl Clone for VirtualInterfaceTestHistory
impl Clone for VirtualInterfaceTestHistory
source§fn clone(&self) -> VirtualInterfaceTestHistory
fn clone(&self) -> VirtualInterfaceTestHistory
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VirtualInterfaceTestHistory
impl Debug for VirtualInterfaceTestHistory
source§impl PartialEq for VirtualInterfaceTestHistory
impl PartialEq for VirtualInterfaceTestHistory
source§fn eq(&self, other: &VirtualInterfaceTestHistory) -> bool
fn eq(&self, other: &VirtualInterfaceTestHistory) -> bool
self
and other
values to be equal, and is used
by ==
.