[][src]Struct vf_rs::vf::AgentRelationshipRole

pub struct AgentRelationshipRole { /* fields omitted */ }

A relationship role defining the kind of association one agent can have with another.

ID: https://w3id.org/valueflows#AgentRelationshipRole

Implementations

impl AgentRelationshipRole[src]

pub fn inverse_role_label(&self) -> &Option<String>[src]

The human readable name of the role, inverse from the object to the subject. For example, 'has member'.

pub fn note(&self) -> &Option<String>[src]

pub fn role_label(&self) -> &String[src]

The human readable name of the role, inverse from the object to the subject. For example, 'is member of'.

impl AgentRelationshipRole[src]

pub fn set_inverse_role_label(&mut self, val: Option<String>) -> &mut Self[src]

The human readable name of the role, inverse from the object to the subject. For example, 'has member'.

pub fn set_note(&mut self, val: Option<String>) -> &mut Self[src]

pub fn set_role_label(&mut self, val: String) -> &mut Self[src]

The human readable name of the role, inverse from the object to the subject. For example, 'is member of'.

impl AgentRelationshipRole[src]

pub fn inverse_role_label_mut(&mut self) -> &mut Option<String>[src]

The human readable name of the role, inverse from the object to the subject. For example, 'has member'.

pub fn note_mut(&mut self) -> &mut Option<String>[src]

pub fn role_label_mut(&mut self) -> &mut String[src]

The human readable name of the role, inverse from the object to the subject. For example, 'is member of'.

impl AgentRelationshipRole[src]

pub fn builder() -> AgentRelationshipRoleBuilder[src]

Create an empty builder object for AgentRelationshipRole

pub fn into_builder(self) -> AgentRelationshipRoleBuilder[src]

Turns AgentRelationshipRole into AgentRelationshipRoleBuilder

Trait Implementations

impl Clone for AgentRelationshipRole[src]

impl Debug for AgentRelationshipRole[src]

impl<'de> Deserialize<'de> for AgentRelationshipRole[src]

impl PartialEq<AgentRelationshipRole> for AgentRelationshipRole[src]

impl Serialize for AgentRelationshipRole[src]

impl StructuralPartialEq for AgentRelationshipRole[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.