teo-generator 0.3.9

SDK generators for Teo
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use teo_runtime::config::client::Client;
use teo_runtime::namespace::Namespace;

pub(in crate::client) struct Ctx<'a> {
    pub(in crate::client) conf: &'a Client,
    pub(in crate::client) main_namespace: &'a Namespace,
}

impl<'a> Ctx<'a> {

    pub(in crate::client) fn new(conf: &'a Client, main_namespace: &'a Namespace) -> Self {
        Self {
            conf, main_namespace,
        }
    }
}