#[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 ==.impl StructuralPartialEq for VirtualInterfaceTestHistory
Auto Trait Implementations§
impl Freeze for VirtualInterfaceTestHistory
impl RefUnwindSafe for VirtualInterfaceTestHistory
impl Send for VirtualInterfaceTestHistory
impl Sync for VirtualInterfaceTestHistory
impl Unpin for VirtualInterfaceTestHistory
impl UnwindSafe for VirtualInterfaceTestHistory
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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