pub struct DiscoveryBackendSparse {
pub name: Option<String>,
pub partitions: BTreeSet<String>,
pub weight: usize,
pub enabled: bool,
pub implementation: Vec<u8>,
}Fields§
§name: Option<String>§partitions: BTreeSet<String>§weight: usize§enabled: bool§implementation: Vec<u8>Trait Implementations§
Source§impl Clone for DiscoveryBackendSparse
impl Clone for DiscoveryBackendSparse
Source§fn clone(&self) -> DiscoveryBackendSparse
fn clone(&self) -> DiscoveryBackendSparse
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 DiscoveryBackendSparse
impl Debug for DiscoveryBackendSparse
Source§impl<'de> Deserialize<'de> for DiscoveryBackendSparse
impl<'de> Deserialize<'de> for DiscoveryBackendSparse
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
Source§impl Hash for DiscoveryBackendSparse
impl Hash for DiscoveryBackendSparse
Source§impl Ord for DiscoveryBackendSparse
impl Ord for DiscoveryBackendSparse
Source§fn cmp(&self, other: &DiscoveryBackendSparse) -> Ordering
fn cmp(&self, other: &DiscoveryBackendSparse) -> 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 DiscoveryBackendSparse
impl PartialEq for DiscoveryBackendSparse
Source§impl PartialOrd for DiscoveryBackendSparse
impl PartialOrd for DiscoveryBackendSparse
Source§impl Serialize for DiscoveryBackendSparse
impl Serialize for DiscoveryBackendSparse
impl Eq for DiscoveryBackendSparse
impl StructuralPartialEq for DiscoveryBackendSparse
Auto Trait Implementations§
impl Freeze for DiscoveryBackendSparse
impl RefUnwindSafe for DiscoveryBackendSparse
impl Send for DiscoveryBackendSparse
impl Sync for DiscoveryBackendSparse
impl Unpin for DiscoveryBackendSparse
impl UnwindSafe for DiscoveryBackendSparse
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