pub struct LicensedResource {
pub acc_id: Uuid,
pub sys_acc: bool,
pub tenant_id: Uuid,
pub acc_name: String,
pub role: String,
pub perm: Permission,
pub verified: bool,
}Expand description
This is a re-exportation from the myc core to allow users to import both from myc-api instead of the myc-core.
Fields§
§acc_id: UuidThe guest account unique id
This is the unique identifier of the account that is own of the resource to be managed.
sys_acc: boolIf the guest account is a system account
System accounts has permissions to act as special users into the Mycelium system.
tenant_id: UuidThe guest account tenant unique id
This is the unique identifier of the tenant that is own of the resource to be managed.
acc_name: StringThe guest account name
This is the name of the account that is own of the resource to be managed.
role: StringThe guest account role verbose name
This is the verbose name of the role that is own of the resource to be managed.
perm: PermissionThe guest role permissions
This is the list of permissions that the guest role has.
verified: boolIf the guest account was verified
If the user accepted the invitation to join the account, the account should be verified.
Implementations§
Trait Implementations§
Source§impl Clone for LicensedResource
impl Clone for LicensedResource
Source§fn clone(&self) -> LicensedResource
fn clone(&self) -> LicensedResource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more