pub struct ModelTableEntry {
pub role_permissions: Option<ListOfRolePermissions>,
pub required_model: Vec<ModelTableEntry>,
pub model_uri: String,
pub version: Option<String>,
pub publication_date: Option<DateTime<Utc>>,
pub access_restrictions: AccessRestriction,
}Expand description
Description of a model contained in a nodeset file.
Fields§
§role_permissions: Option<ListOfRolePermissions>Role permissions that apply to this entry.
required_model: Vec<ModelTableEntry>List of required models.
model_uri: StringModel URI.
version: Option<String>Model version.
publication_date: Option<DateTime<Utc>>Model publication date.
access_restrictions: AccessRestrictionDefault access restrictions for this model.
Trait Implementations§
Source§impl Clone for ModelTableEntry
impl Clone for ModelTableEntry
Source§fn clone(&self) -> ModelTableEntry
fn clone(&self) -> ModelTableEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelTableEntry
impl Debug for ModelTableEntry
Auto Trait Implementations§
impl Freeze for ModelTableEntry
impl RefUnwindSafe for ModelTableEntry
impl Send for ModelTableEntry
impl Sync for ModelTableEntry
impl Unpin for ModelTableEntry
impl UnwindSafe for ModelTableEntry
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