pub struct RegisterResult {
pub flags: RegisteredFlags,
pub name: String,
pub reg_type: String,
pub domain: String,
}Expand description
Service registration result
Fields§
§flags: RegisteredFlagsflags
name: Stringif NoAutoRename
was set this is the original name, otherwise it might be
different.
reg_type: Stringthe registered service type
domain: Stringdomain the service was registered on
Trait Implementations§
Source§impl Clone for RegisterResult
impl Clone for RegisterResult
Source§fn clone(&self) -> RegisterResult
fn clone(&self) -> RegisterResult
Returns a duplicate 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 RegisterResult
impl Debug for RegisterResult
Source§impl Hash for RegisterResult
impl Hash for RegisterResult
Source§impl Ord for RegisterResult
impl Ord for RegisterResult
Source§fn cmp(&self, other: &RegisterResult) -> Ordering
fn cmp(&self, other: &RegisterResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RegisterResult
impl PartialEq for RegisterResult
Source§impl PartialOrd for RegisterResult
impl PartialOrd for RegisterResult
impl Eq for RegisterResult
impl StructuralPartialEq for RegisterResult
Auto Trait Implementations§
impl Freeze for RegisterResult
impl RefUnwindSafe for RegisterResult
impl Send for RegisterResult
impl Sync for RegisterResult
impl Unpin for RegisterResult
impl UnwindSafe for RegisterResult
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