Struct aws_sdk_applicationdiscovery::operation::list_server_neighbors::ListServerNeighborsOutput
source · #[non_exhaustive]pub struct ListServerNeighborsOutput {
pub neighbors: Vec<NeighborConnectionDetail>,
pub next_token: Option<String>,
pub known_dependency_count: i64,
/* private fields */
}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.neighbors: Vec<NeighborConnectionDetail>List of distinct servers that are one hop away from the given server.
next_token: Option<String>Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
known_dependency_count: i64Count of distinct servers that are one hop away from the given server.
Implementations§
source§impl ListServerNeighborsOutput
impl ListServerNeighborsOutput
sourcepub fn neighbors(&self) -> &[NeighborConnectionDetail]
pub fn neighbors(&self) -> &[NeighborConnectionDetail]
List of distinct servers that are one hop away from the given server.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
sourcepub fn known_dependency_count(&self) -> i64
pub fn known_dependency_count(&self) -> i64
Count of distinct servers that are one hop away from the given server.
source§impl ListServerNeighborsOutput
impl ListServerNeighborsOutput
sourcepub fn builder() -> ListServerNeighborsOutputBuilder
pub fn builder() -> ListServerNeighborsOutputBuilder
Creates a new builder-style object to manufacture ListServerNeighborsOutput.
Trait Implementations§
source§impl Clone for ListServerNeighborsOutput
impl Clone for ListServerNeighborsOutput
source§fn clone(&self) -> ListServerNeighborsOutput
fn clone(&self) -> ListServerNeighborsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListServerNeighborsOutput
impl Debug for ListServerNeighborsOutput
source§impl RequestId for ListServerNeighborsOutput
impl RequestId for ListServerNeighborsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ListServerNeighborsOutput
Auto Trait Implementations§
impl Freeze for ListServerNeighborsOutput
impl RefUnwindSafe for ListServerNeighborsOutput
impl Send for ListServerNeighborsOutput
impl Sync for ListServerNeighborsOutput
impl Unpin for ListServerNeighborsOutput
impl UnwindSafe for ListServerNeighborsOutput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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