Struct vf_rs::vf::AgentRelationshipRole
source · pub struct AgentRelationshipRole { /* private fields */ }
Expand description
A relationship role defining the kind of association one agent can have with another.
ID: https://w3id.org/valueflows/ont/vf#AgentRelationshipRole
Implementations§
source§impl AgentRelationshipRole
impl AgentRelationshipRole
sourcepub fn inverse_role_label_mut(&mut self) -> &mut Option<String>
pub fn inverse_role_label_mut(&mut self) -> &mut Option<String>
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>
sourcepub fn role_behavior_mut(&mut self) -> &mut Option<RoleBehavior>
pub fn role_behavior_mut(&mut self) -> &mut Option<RoleBehavior>
The generalized behavior of this agent relationship role.
sourcepub fn role_label_mut(&mut self) -> &mut String
pub fn role_label_mut(&mut self) -> &mut String
The human readable name of the role, inverse from the object to the subject. For example, ‘is member of’.
source§impl AgentRelationshipRole
impl AgentRelationshipRole
sourcepub fn set_inverse_role_label(&mut self, val: Option<String>) -> &mut Self
pub fn set_inverse_role_label(&mut self, val: Option<String>) -> &mut Self
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
sourcepub fn set_role_behavior(&mut self, val: Option<RoleBehavior>) -> &mut Self
pub fn set_role_behavior(&mut self, val: Option<RoleBehavior>) -> &mut Self
The generalized behavior of this agent relationship role.
sourcepub fn set_role_label(&mut self, val: String) -> &mut Self
pub fn set_role_label(&mut self, val: String) -> &mut Self
The human readable name of the role, inverse from the object to the subject. For example, ‘is member of’.
source§impl AgentRelationshipRole
impl AgentRelationshipRole
sourcepub fn inverse_role_label(&self) -> &Option<String>
pub fn inverse_role_label(&self) -> &Option<String>
The human readable name of the role, inverse from the object to the subject. For example, ‘has member’.
pub fn note(&self) -> &Option<String>
sourcepub fn role_behavior(&self) -> &Option<RoleBehavior>
pub fn role_behavior(&self) -> &Option<RoleBehavior>
The generalized behavior of this agent relationship role.
sourcepub fn role_label(&self) -> &String
pub fn role_label(&self) -> &String
The human readable name of the role, inverse from the object to the subject. For example, ‘is member of’.
source§impl AgentRelationshipRole
impl AgentRelationshipRole
sourcepub fn builder() -> AgentRelationshipRoleBuilder
pub fn builder() -> AgentRelationshipRoleBuilder
Create an empty builder object for AgentRelationshipRole
sourcepub fn into_builder(self) -> AgentRelationshipRoleBuilder
pub fn into_builder(self) -> AgentRelationshipRoleBuilder
Turns AgentRelationshipRole into AgentRelationshipRoleBuilder
Trait Implementations§
source§impl Clone for AgentRelationshipRole
impl Clone for AgentRelationshipRole
source§fn clone(&self) -> AgentRelationshipRole
fn clone(&self) -> AgentRelationshipRole
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AgentRelationshipRole
impl Debug for AgentRelationshipRole
source§impl<'de> Deserialize<'de> for AgentRelationshipRole
impl<'de> Deserialize<'de> for AgentRelationshipRole
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>,
source§impl PartialEq for AgentRelationshipRole
impl PartialEq for AgentRelationshipRole
source§fn eq(&self, other: &AgentRelationshipRole) -> bool
fn eq(&self, other: &AgentRelationshipRole) -> bool
self
and other
values to be equal, and is used
by ==
.