pub enum ClientSelection {
AllDetected,
List(Vec<String>),
}Expand description
Which clients an item is enabled for: "all-detected" or a list of ids.
Unknown ids are kept as written.
Variants§
Trait Implementations§
Source§impl Clone for ClientSelection
impl Clone for ClientSelection
Source§impl Debug for ClientSelection
impl Debug for ClientSelection
Source§impl<'de> Deserialize<'de> for ClientSelection
impl<'de> Deserialize<'de> for ClientSelection
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ClientSelection
Source§impl JsonSchema for ClientSelection
impl JsonSchema for ClientSelection
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ClientSelection
impl PartialEq for ClientSelection
Source§impl Serialize for ClientSelection
impl Serialize for ClientSelection
impl StructuralPartialEq for ClientSelection
Auto Trait Implementations§
impl Forget for ClientSelection
impl Freeze for ClientSelection
impl Move for ClientSelection
impl RefUnwindSafe for ClientSelection
impl Send for ClientSelectionwhere
RawVecInner: Send,
impl Sync for ClientSelectionwhere
RawVecInner: Sync,
impl Unpin for ClientSelection
impl UnsafeUnpin for ClientSelection
impl UnwindSafe for ClientSelectionwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.