[−][src]Struct vf_rs::vf::AgentRelationshipRole
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]
fn clone(&self) -> AgentRelationshipRole
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AgentRelationshipRole
[src]
impl<'de> Deserialize<'de> for AgentRelationshipRole
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<AgentRelationshipRole> for AgentRelationshipRole
[src]
fn eq(&self, other: &AgentRelationshipRole) -> bool
[src]
fn ne(&self, other: &AgentRelationshipRole) -> bool
[src]
impl Serialize for AgentRelationshipRole
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for AgentRelationshipRole
[src]
Auto Trait Implementations
impl RefUnwindSafe for AgentRelationshipRole
impl Send for AgentRelationshipRole
impl Sync for AgentRelationshipRole
impl Unpin for AgentRelationshipRole
impl UnwindSafe for AgentRelationshipRole
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,