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