#[non_exhaustive]pub struct ListPeeringsInput {
pub core_network_id: Option<String>,
pub peering_type: Option<PeeringType>,
pub edge_location: Option<String>,
pub state: Option<PeeringState>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
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.core_network_id: Option<String>
The ID of a core network.
peering_type: Option<PeeringType>
Returns a list of a peering requests.
edge_location: Option<String>
Returns a list edge locations for the
state: Option<PeeringState>
Returns a list of the peering request states.
max_results: Option<i32>
The maximum number of results to return.
next_token: Option<String>
The token for the next page of results.
Implementations§
source§impl ListPeeringsInput
impl ListPeeringsInput
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of a core network.
sourcepub fn peering_type(&self) -> Option<&PeeringType>
pub fn peering_type(&self) -> Option<&PeeringType>
Returns a list of a peering requests.
sourcepub fn edge_location(&self) -> Option<&str>
pub fn edge_location(&self) -> Option<&str>
Returns a list edge locations for the
sourcepub fn state(&self) -> Option<&PeeringState>
pub fn state(&self) -> Option<&PeeringState>
Returns a list of the peering request states.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next page of results.
source§impl ListPeeringsInput
impl ListPeeringsInput
sourcepub fn builder() -> ListPeeringsInputBuilder
pub fn builder() -> ListPeeringsInputBuilder
Creates a new builder-style object to manufacture ListPeeringsInput
.
Trait Implementations§
source§impl Clone for ListPeeringsInput
impl Clone for ListPeeringsInput
source§fn clone(&self) -> ListPeeringsInput
fn clone(&self) -> ListPeeringsInput
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 ListPeeringsInput
impl Debug for ListPeeringsInput
source§impl PartialEq for ListPeeringsInput
impl PartialEq for ListPeeringsInput
impl StructuralPartialEq for ListPeeringsInput
Auto Trait Implementations§
impl Freeze for ListPeeringsInput
impl RefUnwindSafe for ListPeeringsInput
impl Send for ListPeeringsInput
impl Sync for ListPeeringsInput
impl Unpin for ListPeeringsInput
impl UnwindSafe for ListPeeringsInput
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> 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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.