pub struct Surface {
pub backend: String,
pub version: String,
pub config: Config,
}Expand description
One place the matrix records facts about a provider: a (backend, version, config) triple. A
provider that is a kind built on another (key-value on PostgreSQL) has one surface per layer,
because the matrix files name them separately (kv-on-relational:postgres and postgres).
Fields§
§backend: StringBackend name as in the matrix.
version: StringBackend version as in the matrix.
config: ConfigThe configuration facts the rows are matched against.
Implementations§
Trait Implementations§
impl Eq for Surface
impl StructuralPartialEq for Surface
Auto Trait Implementations§
impl Freeze for Surface
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnsafeUnpin for Surface
impl UnwindSafe for Surface
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