Trait magnet_schema::BsonSchema
source · pub trait BsonSchema {
fn bson_schema() -> Document;
}
Expand description
Types which can be expressed/validated by a MongoDB-flavored JSON schema.
Required Methods§
sourcefn bson_schema() -> Document
fn bson_schema() -> Document
Returns a BSON document describing the MongoDB-flavored schema of this type.
Implementations on Foreign Types§
source§impl BsonSchema for bool
impl BsonSchema for bool
fn bson_schema() -> Document
source§impl BsonSchema for u8
impl BsonSchema for u8
fn bson_schema() -> Document
source§impl BsonSchema for u16
impl BsonSchema for u16
fn bson_schema() -> Document
source§impl BsonSchema for u32
impl BsonSchema for u32
fn bson_schema() -> Document
source§impl BsonSchema for u64
impl BsonSchema for u64
fn bson_schema() -> Document
source§impl BsonSchema for i8
impl BsonSchema for i8
fn bson_schema() -> Document
source§impl BsonSchema for i16
impl BsonSchema for i16
fn bson_schema() -> Document
source§impl BsonSchema for i32
impl BsonSchema for i32
fn bson_schema() -> Document
source§impl BsonSchema for i64
impl BsonSchema for i64
fn bson_schema() -> Document
source§impl BsonSchema for usize
impl BsonSchema for usize
Do NOT assume sizeof(usize) <= sizeof(u64)
!!!
fn bson_schema() -> Document
source§impl BsonSchema for isize
impl BsonSchema for isize
Do NOT assume sizeof(isize) <= sizeof(i64)
!!!
fn bson_schema() -> Document
source§impl BsonSchema for f32
impl BsonSchema for f32
fn bson_schema() -> Document
source§impl BsonSchema for f64
impl BsonSchema for f64
fn bson_schema() -> Document
source§impl BsonSchema for str
impl BsonSchema for str
fn bson_schema() -> Document
source§impl BsonSchema for String
impl BsonSchema for String
fn bson_schema() -> Document
source§impl BsonSchema for OsStr
impl BsonSchema for OsStr
fn bson_schema() -> Document
source§impl BsonSchema for OsString
impl BsonSchema for OsString
fn bson_schema() -> Document
source§impl BsonSchema for Path
impl BsonSchema for Path
fn bson_schema() -> Document
source§impl BsonSchema for PathBuf
impl BsonSchema for PathBuf
fn bson_schema() -> Document
source§impl<'a, T> BsonSchema for &'a Twhere
T: ?Sized + BsonSchema,
impl<'a, T> BsonSchema for &'a Twhere
T: ?Sized + BsonSchema,
fn bson_schema() -> Document
source§impl<'a, T> BsonSchema for &'a mut Twhere
T: ?Sized + BsonSchema,
impl<'a, T> BsonSchema for &'a mut Twhere
T: ?Sized + BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T]where
T: BsonSchema,
impl<T> BsonSchema for [T]where
T: BsonSchema,
TODO(H2CO3): maybe specialize as binary for [u8]
?
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 0]where
T: BsonSchema,
impl<T> BsonSchema for [T; 0]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 1]where
T: BsonSchema,
impl<T> BsonSchema for [T; 1]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 2]where
T: BsonSchema,
impl<T> BsonSchema for [T; 2]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 3]where
T: BsonSchema,
impl<T> BsonSchema for [T; 3]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 4]where
T: BsonSchema,
impl<T> BsonSchema for [T; 4]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 5]where
T: BsonSchema,
impl<T> BsonSchema for [T; 5]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 6]where
T: BsonSchema,
impl<T> BsonSchema for [T; 6]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 7]where
T: BsonSchema,
impl<T> BsonSchema for [T; 7]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 8]where
T: BsonSchema,
impl<T> BsonSchema for [T; 8]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 9]where
T: BsonSchema,
impl<T> BsonSchema for [T; 9]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 10]where
T: BsonSchema,
impl<T> BsonSchema for [T; 10]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 11]where
T: BsonSchema,
impl<T> BsonSchema for [T; 11]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 12]where
T: BsonSchema,
impl<T> BsonSchema for [T; 12]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 13]where
T: BsonSchema,
impl<T> BsonSchema for [T; 13]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 14]where
T: BsonSchema,
impl<T> BsonSchema for [T; 14]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 15]where
T: BsonSchema,
impl<T> BsonSchema for [T; 15]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 16]where
T: BsonSchema,
impl<T> BsonSchema for [T; 16]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 17]where
T: BsonSchema,
impl<T> BsonSchema for [T; 17]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 18]where
T: BsonSchema,
impl<T> BsonSchema for [T; 18]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 19]where
T: BsonSchema,
impl<T> BsonSchema for [T; 19]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 20]where
T: BsonSchema,
impl<T> BsonSchema for [T; 20]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 21]where
T: BsonSchema,
impl<T> BsonSchema for [T; 21]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 22]where
T: BsonSchema,
impl<T> BsonSchema for [T; 22]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 23]where
T: BsonSchema,
impl<T> BsonSchema for [T; 23]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 24]where
T: BsonSchema,
impl<T> BsonSchema for [T; 24]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 25]where
T: BsonSchema,
impl<T> BsonSchema for [T; 25]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 26]where
T: BsonSchema,
impl<T> BsonSchema for [T; 26]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 27]where
T: BsonSchema,
impl<T> BsonSchema for [T; 27]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 28]where
T: BsonSchema,
impl<T> BsonSchema for [T; 28]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 29]where
T: BsonSchema,
impl<T> BsonSchema for [T; 29]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 30]where
T: BsonSchema,
impl<T> BsonSchema for [T; 30]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 31]where
T: BsonSchema,
impl<T> BsonSchema for [T; 31]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 32]where
T: BsonSchema,
impl<T> BsonSchema for [T; 32]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 33]where
T: BsonSchema,
impl<T> BsonSchema for [T; 33]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 34]where
T: BsonSchema,
impl<T> BsonSchema for [T; 34]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 35]where
T: BsonSchema,
impl<T> BsonSchema for [T; 35]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 36]where
T: BsonSchema,
impl<T> BsonSchema for [T; 36]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 37]where
T: BsonSchema,
impl<T> BsonSchema for [T; 37]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 38]where
T: BsonSchema,
impl<T> BsonSchema for [T; 38]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 39]where
T: BsonSchema,
impl<T> BsonSchema for [T; 39]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 40]where
T: BsonSchema,
impl<T> BsonSchema for [T; 40]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 41]where
T: BsonSchema,
impl<T> BsonSchema for [T; 41]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 42]where
T: BsonSchema,
impl<T> BsonSchema for [T; 42]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 43]where
T: BsonSchema,
impl<T> BsonSchema for [T; 43]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 44]where
T: BsonSchema,
impl<T> BsonSchema for [T; 44]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 45]where
T: BsonSchema,
impl<T> BsonSchema for [T; 45]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 46]where
T: BsonSchema,
impl<T> BsonSchema for [T; 46]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 47]where
T: BsonSchema,
impl<T> BsonSchema for [T; 47]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 48]where
T: BsonSchema,
impl<T> BsonSchema for [T; 48]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 49]where
T: BsonSchema,
impl<T> BsonSchema for [T; 49]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 50]where
T: BsonSchema,
impl<T> BsonSchema for [T; 50]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 51]where
T: BsonSchema,
impl<T> BsonSchema for [T; 51]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 52]where
T: BsonSchema,
impl<T> BsonSchema for [T; 52]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 53]where
T: BsonSchema,
impl<T> BsonSchema for [T; 53]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 54]where
T: BsonSchema,
impl<T> BsonSchema for [T; 54]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 55]where
T: BsonSchema,
impl<T> BsonSchema for [T; 55]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 56]where
T: BsonSchema,
impl<T> BsonSchema for [T; 56]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 57]where
T: BsonSchema,
impl<T> BsonSchema for [T; 57]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 58]where
T: BsonSchema,
impl<T> BsonSchema for [T; 58]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 59]where
T: BsonSchema,
impl<T> BsonSchema for [T; 59]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 60]where
T: BsonSchema,
impl<T> BsonSchema for [T; 60]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 61]where
T: BsonSchema,
impl<T> BsonSchema for [T; 61]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 62]where
T: BsonSchema,
impl<T> BsonSchema for [T; 62]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 63]where
T: BsonSchema,
impl<T> BsonSchema for [T; 63]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 64]where
T: BsonSchema,
impl<T> BsonSchema for [T; 64]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 96]where
T: BsonSchema,
impl<T> BsonSchema for [T; 96]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 128]where
T: BsonSchema,
impl<T> BsonSchema for [T; 128]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 192]where
T: BsonSchema,
impl<T> BsonSchema for [T; 192]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 256]where
T: BsonSchema,
impl<T> BsonSchema for [T; 256]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 384]where
T: BsonSchema,
impl<T> BsonSchema for [T; 384]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 512]where
T: BsonSchema,
impl<T> BsonSchema for [T; 512]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 768]where
T: BsonSchema,
impl<T> BsonSchema for [T; 768]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 1024]where
T: BsonSchema,
impl<T> BsonSchema for [T; 1024]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 1536]where
T: BsonSchema,
impl<T> BsonSchema for [T; 1536]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 2048]where
T: BsonSchema,
impl<T> BsonSchema for [T; 2048]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 4096]where
T: BsonSchema,
impl<T> BsonSchema for [T; 4096]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 8192]where
T: BsonSchema,
impl<T> BsonSchema for [T; 8192]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 16384]where
T: BsonSchema,
impl<T> BsonSchema for [T; 16384]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 32768]where
T: BsonSchema,
impl<T> BsonSchema for [T; 32768]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for [T; 65536]where
T: BsonSchema,
impl<T> BsonSchema for [T; 65536]where
T: BsonSchema,
fn bson_schema() -> Document
source§impl BsonSchema for ()
impl BsonSchema for ()
fn bson_schema() -> Document
source§impl<A, B> BsonSchema for (A, B)where
A: BsonSchema,
B: BsonSchema,
impl<A, B> BsonSchema for (A, B)where
A: BsonSchema,
B: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C> BsonSchema for (A, B, C)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
impl<A, B, C> BsonSchema for (A, B, C)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D> BsonSchema for (A, B, C, D)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
impl<A, B, C, D> BsonSchema for (A, B, C, D)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E> BsonSchema for (A, B, C, D, E)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
impl<A, B, C, D, E> BsonSchema for (A, B, C, D, E)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F> BsonSchema for (A, B, C, D, E, F)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
impl<A, B, C, D, E, F> BsonSchema for (A, B, C, D, E, F)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G> BsonSchema for (A, B, C, D, E, F, G)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
impl<A, B, C, D, E, F, G> BsonSchema for (A, B, C, D, E, F, G)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H> BsonSchema for (A, B, C, D, E, F, G, H)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
impl<A, B, C, D, E, F, G, H> BsonSchema for (A, B, C, D, E, F, G, H)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H, I> BsonSchema for (A, B, C, D, E, F, G, H, I)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
impl<A, B, C, D, E, F, G, H, I> BsonSchema for (A, B, C, D, E, F, G, H, I)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H, I, J> BsonSchema for (A, B, C, D, E, F, G, H, I, J)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
impl<A, B, C, D, E, F, G, H, I, J> BsonSchema for (A, B, C, D, E, F, G, H, I, J)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H, I, J, K> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
impl<A, B, C, D, E, F, G, H, I, J, K> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H, I, J, K, L> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
impl<A, B, C, D, E, F, G, H, I, J, K, L> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L, M)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
M: BsonSchema,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L, M)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
M: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
M: BsonSchema,
N: BsonSchema,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
M: BsonSchema,
N: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
M: BsonSchema,
N: BsonSchema,
O: BsonSchema,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
M: BsonSchema,
N: BsonSchema,
O: BsonSchema,
fn bson_schema() -> Document
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
M: BsonSchema,
N: BsonSchema,
O: BsonSchema,
P: BsonSchema,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> BsonSchema for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)where
A: BsonSchema,
B: BsonSchema,
C: BsonSchema,
D: BsonSchema,
E: BsonSchema,
F: BsonSchema,
G: BsonSchema,
H: BsonSchema,
I: BsonSchema,
J: BsonSchema,
K: BsonSchema,
L: BsonSchema,
M: BsonSchema,
N: BsonSchema,
O: BsonSchema,
P: BsonSchema,
fn bson_schema() -> Document
source§impl<'a, T> BsonSchema for Cow<'a, T>where
T: ?Sized + Clone + BsonSchema,
impl<'a, T> BsonSchema for Cow<'a, T>where
T: ?Sized + Clone + BsonSchema,
TODO(H2CO3): maybe specialize for Cow<[u8]>
as binary?
fn bson_schema() -> Document
source§impl<T> BsonSchema for Cell<T>where
T: BsonSchema,
impl<T> BsonSchema for Cell<T>where
T: BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for Box<T>where
T: ?Sized + BsonSchema,
impl<T> BsonSchema for Box<T>where
T: ?Sized + BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for Rc<T>where
T: ?Sized + BsonSchema,
impl<T> BsonSchema for Rc<T>where
T: ?Sized + BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for Arc<T>where
T: ?Sized + BsonSchema,
impl<T> BsonSchema for Arc<T>where
T: ?Sized + BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for RefCell<T>where
T: ?Sized + BsonSchema,
impl<T> BsonSchema for RefCell<T>where
T: ?Sized + BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for Mutex<T>where
T: ?Sized + BsonSchema,
impl<T> BsonSchema for Mutex<T>where
T: ?Sized + BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for RwLock<T>where
T: ?Sized + BsonSchema,
impl<T> BsonSchema for RwLock<T>where
T: ?Sized + BsonSchema,
fn bson_schema() -> Document
source§impl<T> BsonSchema for Vec<T>where
T: BsonSchema,
impl<T> BsonSchema for Vec<T>where
T: BsonSchema,
TODO(H2CO3): maybe specialize for Vec<u8>
as binary?