pub struct Statements {
pub id: String,
pub object: String,
pub predicate: String,
pub subject: String,
}Expand description
It represent a set of Definition and/or Description elements.
Fields§
§id: String§object: StringStatement object.
predicate: StringStatement predicate.
subject: StringStatement subject.
Implementations§
Source§impl Statements
impl Statements
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for Statements
impl CimElement for Statements
Source§impl Clone for Statements
impl Clone for Statements
Source§fn clone(&self) -> Statements
fn clone(&self) -> Statements
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 Statements
impl Debug for Statements
Source§impl Default for Statements
impl Default for Statements
Source§fn default() -> Statements
fn default() -> Statements
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Statements
impl<'de> Deserialize<'de> for Statements
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 Statements
impl RefUnwindSafe for Statements
impl Send for Statements
impl Sync for Statements
impl Unpin for Statements
impl UnsafeUnpin for Statements
impl UnwindSafe for Statements
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