MCPcopy Index your code
hub / github.com/ermak-dev/cloudpub / new

Method new

sdk/python/src/lib.rs:227–229  ·  view source on GitHub ↗
(user: String, role: Role)

Source from the content-addressed store, hash-verified

225impl Acl {
226 #[new]
227 fn new(user: String, role: Role) -> Self {
228 Acl { user, role }
229 }
230
231 fn __str__(&self) -> String {
232 format!("{}: {}", self.user, self.role.__str__())

Callers

nothing calls this directly

Calls 11

timeout_secsMethod · 0.80
verboseMethod · 0.80
log_levelMethod · 0.80
config_pathMethod · 0.80
tokenMethod · 0.80
check_signal_fnMethod · 0.80
buildMethod · 0.80
cloneMethod · 0.80
writeMethod · 0.80
credentialsMethod · 0.45
lsMethod · 0.45

Tested by

no test coverage detected