pub struct AvatarPermissions {
pub avatar_permission: AvatarPermission,
pub commercial_usage: CommercialUsage,
pub credit_notation: CreditNotation,
pub modification: ModificationPermission,
pub allow_redistribution: bool,
pub allow_excessively_violent_usage: bool,
pub allow_excessively_sexual_usage: bool,
pub allow_political_or_religious_usage: bool,
pub allow_antisocial_or_hate_usage: bool,
}Expand description
The usage permissions of an avatar, as agreed by the author.
Fields§
§avatar_permission: AvatarPermissionWho may use the avatar as their character.
commercial_usage: CommercialUsageThe maximum permitted class of commercial usage.
credit_notation: CreditNotationWhether users must credit the author.
modification: ModificationPermissionWhether modification and redistribution of modifications are permitted.
allow_redistribution: boolWhether redistribution of the original avatar is permitted.
allow_excessively_violent_usage: boolWhether excessively violent usage is permitted.
allow_excessively_sexual_usage: boolWhether excessively sexual usage is permitted.
allow_political_or_religious_usage: boolWhether political or religious usage is permitted.
Whether antisocial or hate-related usage is permitted.
Trait Implementations§
Source§impl Clone for AvatarPermissions
impl Clone for AvatarPermissions
Source§impl Debug for AvatarPermissions
impl Debug for AvatarPermissions
Auto Trait Implementations§
impl Freeze for AvatarPermissions
impl RefUnwindSafe for AvatarPermissions
impl Send for AvatarPermissions
impl Sync for AvatarPermissions
impl Unpin for AvatarPermissions
impl UnsafeUnpin for AvatarPermissions
impl UnwindSafe for AvatarPermissions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more