#[non_exhaustive]pub struct DiscoverInstancesOutput {
pub instances: Option<Vec<HttpInstanceSummary>>,
pub instances_revision: Option<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.instances: Option<Vec<HttpInstanceSummary>>A complex type that contains one HttpInstanceSummary for each registered instance.
instances_revision: Option<i64>The increasing revision associated to the response Instances list. If a new instance is registered or deregistered, the InstancesRevision updates. The health status updates don't update InstancesRevision.
Implementations§
source§impl DiscoverInstancesOutput
impl DiscoverInstancesOutput
sourcepub fn instances(&self) -> &[HttpInstanceSummary]
pub fn instances(&self) -> &[HttpInstanceSummary]
A complex type that contains one HttpInstanceSummary for each registered instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instances.is_none().
sourcepub fn instances_revision(&self) -> Option<i64>
pub fn instances_revision(&self) -> Option<i64>
The increasing revision associated to the response Instances list. If a new instance is registered or deregistered, the InstancesRevision updates. The health status updates don't update InstancesRevision.
source§impl DiscoverInstancesOutput
impl DiscoverInstancesOutput
sourcepub fn builder() -> DiscoverInstancesOutputBuilder
pub fn builder() -> DiscoverInstancesOutputBuilder
Creates a new builder-style object to manufacture DiscoverInstancesOutput.
Trait Implementations§
source§impl Clone for DiscoverInstancesOutput
impl Clone for DiscoverInstancesOutput
source§fn clone(&self) -> DiscoverInstancesOutput
fn clone(&self) -> DiscoverInstancesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DiscoverInstancesOutput
impl Debug for DiscoverInstancesOutput
source§impl PartialEq for DiscoverInstancesOutput
impl PartialEq for DiscoverInstancesOutput
source§impl RequestId for DiscoverInstancesOutput
impl RequestId for DiscoverInstancesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DiscoverInstancesOutput
Auto Trait Implementations§
impl Freeze for DiscoverInstancesOutput
impl RefUnwindSafe for DiscoverInstancesOutput
impl Send for DiscoverInstancesOutput
impl Sync for DiscoverInstancesOutput
impl Unpin for DiscoverInstancesOutput
impl UnwindSafe for DiscoverInstancesOutput
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