#[non_exhaustive]pub struct IdentifiedData {
pub display_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub derived_from: Vec<Resource>,
pub generated_by: Vec<Resource>,
pub measures: Vec<Resource>,
pub extensions: Vec<ExtensionTriple>,
}Expand description
Shared owned fields for SBOL Identified objects.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.display_id: Option<String>§name: Option<String>§description: Option<String>§derived_from: Vec<Resource>§generated_by: Vec<Resource>§measures: Vec<Resource>§extensions: Vec<ExtensionTriple>Non-SBOL annotation triples attached to this object’s identity.
Trait Implementations§
Source§impl Clone for IdentifiedData
impl Clone for IdentifiedData
Source§fn clone(&self) -> IdentifiedData
fn clone(&self) -> IdentifiedData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IdentifiedData
impl Debug for IdentifiedData
Source§impl Default for IdentifiedData
impl Default for IdentifiedData
Source§fn default() -> IdentifiedData
fn default() -> IdentifiedData
Returns the “default value” for a type. Read more
Source§impl PartialEq for IdentifiedData
impl PartialEq for IdentifiedData
Source§fn eq(&self, other: &IdentifiedData) -> bool
fn eq(&self, other: &IdentifiedData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IdentifiedData
impl StructuralPartialEq for IdentifiedData
Auto Trait Implementations§
impl Freeze for IdentifiedData
impl RefUnwindSafe for IdentifiedData
impl Send for IdentifiedData
impl Sync for IdentifiedData
impl Unpin for IdentifiedData
impl UnsafeUnpin for IdentifiedData
impl UnwindSafe for IdentifiedData
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