wtx 0.44.3

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{database::schema_manager::Uid, misc::Lease};

#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
pub(crate) struct MigrationGroupCommon<S> {
  pub(crate) name: S,
  pub(crate) uid: Uid,
}

impl<S> MigrationGroupCommon<S>
where
  S: Lease<str>,
{
  pub(crate) const fn new(name: S, uid: Uid) -> Self {
    Self { name, uid }
  }
}