#[non_exhaustive]pub struct StartBgpFailoverTestInput {
pub virtual_interface_id: Option<String>,
pub bgp_peers: Option<Vec<String>>,
pub test_duration_in_minutes: Option<i32>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.virtual_interface_id: Option<String>The ID of the virtual interface you want to test.
bgp_peers: Option<Vec<String>>The BGP peers to place in the DOWN state.
test_duration_in_minutes: Option<i32>The time in minutes that the virtual interface failover test will last.
Maximum value: 4,320 minutes (72 hours).
Default: 180 minutes (3 hours).
Implementations§
source§impl StartBgpFailoverTestInput
impl StartBgpFailoverTestInput
sourcepub fn virtual_interface_id(&self) -> Option<&str>
pub fn virtual_interface_id(&self) -> Option<&str>
The ID of the virtual interface you want to test.
sourcepub fn bgp_peers(&self) -> &[String]
pub fn bgp_peers(&self) -> &[String]
The BGP peers to place in the DOWN state.
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 test_duration_in_minutes(&self) -> Option<i32>
pub fn test_duration_in_minutes(&self) -> Option<i32>
The time in minutes that the virtual interface failover test will last.
Maximum value: 4,320 minutes (72 hours).
Default: 180 minutes (3 hours).
source§impl StartBgpFailoverTestInput
impl StartBgpFailoverTestInput
sourcepub fn builder() -> StartBgpFailoverTestInputBuilder
pub fn builder() -> StartBgpFailoverTestInputBuilder
Creates a new builder-style object to manufacture StartBgpFailoverTestInput.
Trait Implementations§
source§impl Clone for StartBgpFailoverTestInput
impl Clone for StartBgpFailoverTestInput
source§fn clone(&self) -> StartBgpFailoverTestInput
fn clone(&self) -> StartBgpFailoverTestInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StartBgpFailoverTestInput
impl Debug for StartBgpFailoverTestInput
source§impl PartialEq for StartBgpFailoverTestInput
impl PartialEq for StartBgpFailoverTestInput
source§fn eq(&self, other: &StartBgpFailoverTestInput) -> bool
fn eq(&self, other: &StartBgpFailoverTestInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartBgpFailoverTestInput
Auto Trait Implementations§
impl RefUnwindSafe for StartBgpFailoverTestInput
impl Send for StartBgpFailoverTestInput
impl Sync for StartBgpFailoverTestInput
impl Unpin for StartBgpFailoverTestInput
impl UnwindSafe for StartBgpFailoverTestInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.