saas-rs-sdk 0.6.3

The SaaS RS SDK
1
2
3
4
5
6
7
8
9
10
11
12
use crate::storage::associations::{BelongsTo, HasMany};
use mongodb::IndexModel;
use std::collections::HashMap;
use std::fmt::Debug;

#[derive(Debug, Default)]
pub struct Options<B: Debug + ToString> {
    pub app_name: Option<String>,
    pub belongs_tos_by_bucket: HashMap<String, Vec<BelongsTo<B>>>,
    pub has_manys_by_bucket: HashMap<String, Vec<HasMany<B>>>,
    pub index_models_by_bucket: HashMap<String, Vec<IndexModel>>,
}