#[non_exhaustive]pub struct ResolveServiceResponse {
pub service: Option<Service>,
/* private fields */
}Expand description
The response message for LookupService.ResolveService.
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.service: Option<Service>Implementations§
Source§impl ResolveServiceResponse
impl ResolveServiceResponse
Sourcepub fn set_service<T>(self, v: T) -> Self
pub fn set_service<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_service<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_service<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for ResolveServiceResponse
impl Clone for ResolveServiceResponse
Source§fn clone(&self) -> ResolveServiceResponse
fn clone(&self) -> ResolveServiceResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResolveServiceResponse
impl Debug for ResolveServiceResponse
Source§impl Default for ResolveServiceResponse
impl Default for ResolveServiceResponse
Source§fn default() -> ResolveServiceResponse
fn default() -> ResolveServiceResponse
Returns the “default value” for a type. Read more
Source§impl Message for ResolveServiceResponse
impl Message for ResolveServiceResponse
Source§impl PartialEq for ResolveServiceResponse
impl PartialEq for ResolveServiceResponse
impl StructuralPartialEq for ResolveServiceResponse
Auto Trait Implementations§
impl Freeze for ResolveServiceResponse
impl RefUnwindSafe for ResolveServiceResponse
impl Send for ResolveServiceResponse
impl Sync for ResolveServiceResponse
impl Unpin for ResolveServiceResponse
impl UnsafeUnpin for ResolveServiceResponse
impl UnwindSafe for ResolveServiceResponse
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