pub trait DigitalDocumentPermissionTrait {
// Required methods
fn get_grantee(&self) -> &[GranteeProperty];
fn take_grantee(&mut self) -> Vec<GranteeProperty>;
fn get_permission_type(&self) -> &[PermissionTypeProperty];
fn take_permission_type(&mut self) -> Vec<PermissionTypeProperty>;
}
Expand description
This trait is for properties from https://schema.org/DigitalDocumentPermission.
Required Methods§
sourcefn get_grantee(&self) -> &[GranteeProperty]
fn get_grantee(&self) -> &[GranteeProperty]
Get https://schema.org/grantee from Self
as borrowed slice.
sourcefn take_grantee(&mut self) -> Vec<GranteeProperty>
fn take_grantee(&mut self) -> Vec<GranteeProperty>
Take https://schema.org/grantee from Self
as owned vector.
sourcefn get_permission_type(&self) -> &[PermissionTypeProperty]
fn get_permission_type(&self) -> &[PermissionTypeProperty]
Get https://schema.org/permissionType from Self
as borrowed slice.
sourcefn take_permission_type(&mut self) -> Vec<PermissionTypeProperty>
fn take_permission_type(&mut self) -> Vec<PermissionTypeProperty>
Take https://schema.org/permissionType from Self
as owned vector.