pub struct DiscoveryResponse {
pub total_providers: usize,
pub total_features: usize,
pub total_operations: usize,
pub providers: Vec<ProviderSummary>,
}
Expand description
Discovery response for available routes
Fields§
§total_providers: usize
§total_features: usize
§total_operations: usize
§providers: Vec<ProviderSummary>
Trait Implementations§
Source§impl Clone for DiscoveryResponse
impl Clone for DiscoveryResponse
Source§fn clone(&self) -> DiscoveryResponse
fn clone(&self) -> DiscoveryResponse
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 DiscoveryResponse
impl Debug for DiscoveryResponse
Source§impl<'de> Deserialize<'de> for DiscoveryResponse
impl<'de> Deserialize<'de> for DiscoveryResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DiscoveryResponse
impl RefUnwindSafe for DiscoveryResponse
impl Send for DiscoveryResponse
impl Sync for DiscoveryResponse
impl Unpin for DiscoveryResponse
impl UnwindSafe for DiscoveryResponse
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