pub struct DiscoverResult {
pub services: Vec<Service>,
pub total: u64,
pub limit: u64,
pub offset: u64,
}Expand description
Result of a discover() call, including pagination info.
Fields§
§services: Vec<Service>Discovered services on this page.
total: u64Total number of services in the directory.
limit: u64Limit used for this page.
offset: u64Offset used for this page.
Trait Implementations§
Source§impl Clone for DiscoverResult
impl Clone for DiscoverResult
Source§fn clone(&self) -> DiscoverResult
fn clone(&self) -> DiscoverResult
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 moreAuto Trait Implementations§
impl Freeze for DiscoverResult
impl RefUnwindSafe for DiscoverResult
impl Send for DiscoverResult
impl Sync for DiscoverResult
impl Unpin for DiscoverResult
impl UnsafeUnpin for DiscoverResult
impl UnwindSafe for DiscoverResult
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