1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
use Blueprint as BlueprintSchema;
use ;
/// The input type for [`Blueprint::import`] and [`Blueprint::routes`].
///
/// A list of modules you want to import components from.
///
/// # Stability
///
/// [`Import`] is always populated by the [`from!`] macro.
/// Newer versions of Pavex may introduce, remove or modify the fields of this type—it is considered
/// an implementation detail of [`from!`] macros and should not be used directly.
///
/// Invoke the [`from!`] macro wherever an instance of [`Import`] is needed.
///
/// [`from!`]: super::from
/// [`Blueprint::import`]: crate::Blueprint::import
/// [`Blueprint::routes`]: crate::Blueprint::routes
/// The type returned by [`Blueprint::import`].
///
/// It allows you to further configure the behaviour of the registered import.
///
/// [`Blueprint::import`]: crate::Blueprint::import