MCPcopy Create free account
hub / github.com/dfinity/orbit / UserGroup

Class UserGroup

core/station/impl/src/models/user_group.rs:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#[storable]
20#[derive(CandidType, Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
21pub struct UserGroup {
22 /// The user group id, which is a UUID.
23 pub id: UUID,
24 /// The name of the user group (e.g. "Finance").
25 pub name: String,
26 /// The last time the record was updated or created.
27 pub last_modification_timestamp: Timestamp,
28}
29
30impl ModelKey<UserGroupId> for UserGroup {
31 fn key(&self) -> UserGroupId {

Callers 6

maxMethod · 0.70
to_resourcesMethod · 0.50
fromMethod · 0.50
fromMethod · 0.50
listMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected