pub struct DifferenceModel {
pub base: Model,
pub forward_differences: Vec<MridRef>,
pub preconditions: Vec<MridRef>,
pub reverse_differences: Vec<MridRef>,
}Expand description
It represents the difference model header. The content is described by the Model class, the association role forwardDifferences and association role reverseDifferences. Both association roles may have one set of Statements.
Fields§
§base: Model§forward_differences: Vec<MridRef>A property of the difference model whose value is a collection of statements (i.e., resources of type rdf:Statement) representing the forward difference statements.
preconditions: Vec<MridRef>A property of the difference model whose value is the collection of precondition statements.
reverse_differences: Vec<MridRef>A property of the difference model whose value is the collection of reverse difference statements.
Implementations§
Source§impl DifferenceModel
impl DifferenceModel
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for DifferenceModel
impl CimElement for DifferenceModel
Source§impl Clone for DifferenceModel
impl Clone for DifferenceModel
Source§fn clone(&self) -> DifferenceModel
fn clone(&self) -> DifferenceModel
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 DifferenceModel
impl Debug for DifferenceModel
Source§impl Default for DifferenceModel
impl Default for DifferenceModel
Source§fn default() -> DifferenceModel
fn default() -> DifferenceModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DifferenceModel
impl<'de> Deserialize<'de> for DifferenceModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DifferenceModel
impl RefUnwindSafe for DifferenceModel
impl Send for DifferenceModel
impl Sync for DifferenceModel
impl Unpin for DifferenceModel
impl UnsafeUnpin for DifferenceModel
impl UnwindSafe for DifferenceModel
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