#[non_exhaustive]pub struct StartDiscovererOutput {
pub discoverer_id: Option<String>,
pub state: Option<DiscovererState>,
/* private fields */
}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.discoverer_id: Option<String>The ID of the discoverer.
state: Option<DiscovererState>The state of the discoverer.
Implementations§
source§impl StartDiscovererOutput
impl StartDiscovererOutput
sourcepub fn discoverer_id(&self) -> Option<&str>
pub fn discoverer_id(&self) -> Option<&str>
The ID of the discoverer.
sourcepub fn state(&self) -> Option<&DiscovererState>
pub fn state(&self) -> Option<&DiscovererState>
The state of the discoverer.
source§impl StartDiscovererOutput
impl StartDiscovererOutput
sourcepub fn builder() -> StartDiscovererOutputBuilder
pub fn builder() -> StartDiscovererOutputBuilder
Creates a new builder-style object to manufacture StartDiscovererOutput.
Trait Implementations§
source§impl Clone for StartDiscovererOutput
impl Clone for StartDiscovererOutput
source§fn clone(&self) -> StartDiscovererOutput
fn clone(&self) -> StartDiscovererOutput
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 StartDiscovererOutput
impl Debug for StartDiscovererOutput
source§impl PartialEq for StartDiscovererOutput
impl PartialEq for StartDiscovererOutput
source§fn eq(&self, other: &StartDiscovererOutput) -> bool
fn eq(&self, other: &StartDiscovererOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for StartDiscovererOutput
impl RequestId for StartDiscovererOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for StartDiscovererOutput
Auto Trait Implementations§
impl RefUnwindSafe for StartDiscovererOutput
impl Send for StartDiscovererOutput
impl Sync for StartDiscovererOutput
impl Unpin for StartDiscovererOutput
impl UnwindSafe for StartDiscovererOutput
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.