Enum ddc_hi::Query [−][src]
pub enum Query {
Any,
Backend(Backend),
Id(String),
ManufacturerId(String),
ModelName(String),
SerialNumber(String),
Or(Vec<Query>),
And(Vec<Query>),
}
Expand description
A query to filter out matching displays.
Most comparisons must match the full string.
Variants
Matches any display
Backend(Backend)
Matches a display on the given backend
Tuple Fields of Backend
0: Backend
Id(String)
Matches a display with the specified ID
Tuple Fields of Id
0: String
ManufacturerId(String)
Matches a display with the specified manufacturer
Tuple Fields of ManufacturerId
0: String
ModelName(String)
Matches a display with the specified model name
Tuple Fields of ModelName
0: String
SerialNumber(String)
Matches a display with the specified serial number
Tuple Fields of SerialNumber
0: String
At least one of the queries must match
All of the queries must match
Implementations
Queries whether the provided display info is a match.