[−][src]Struct vf_rs::vf::AgentRelationship
An ongoing voluntary association between 2 agents of any kind.
ID: https://w3id.org/valueflows#AgentRelationship
Implementations
impl<AGENT, AGENTRELATIONSHIPROLE> AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
pub fn in_scope_of(&self) -> &Vec<Url>
[src]
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
pub fn note(&self) -> &Option<String>
[src]
pub fn object(&self) -> &AGENT
[src]
The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object.
pub fn relationship(&self) -> &AGENTRELATIONSHIPROLE
[src]
The role of an economic relationship that exists between 2 agents, such as member, trading partner.
pub fn subject(&self) -> &AGENT
[src]
The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject.
impl<AGENT, AGENTRELATIONSHIPROLE> AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
pub fn set_in_scope_of(&mut self, val: Vec<Url>) -> &mut Self
[src]
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
[src]
pub fn set_object(&mut self, val: AGENT) -> &mut Self
[src]
The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object.
pub fn set_relationship(&mut self, val: AGENTRELATIONSHIPROLE) -> &mut Self
[src]
The role of an economic relationship that exists between 2 agents, such as member, trading partner.
pub fn set_subject(&mut self, val: AGENT) -> &mut Self
[src]
The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject.
impl<AGENT, AGENTRELATIONSHIPROLE> AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
pub fn in_scope_of_mut(&mut self) -> &mut Vec<Url>
[src]
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
pub fn note_mut(&mut self) -> &mut Option<String>
[src]
pub fn object_mut(&mut self) -> &mut AGENT
[src]
The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object.
pub fn relationship_mut(&mut self) -> &mut AGENTRELATIONSHIPROLE
[src]
The role of an economic relationship that exists between 2 agents, such as member, trading partner.
pub fn subject_mut(&mut self) -> &mut AGENT
[src]
The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject.
impl<AGENT, AGENTRELATIONSHIPROLE> AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
pub fn builder() -> AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE>
[src]
Create an empty builder object for AgentRelationship
pub fn into_builder(
self
) -> AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE>
[src]
self
) -> AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE>
Turns AgentRelationship into AgentRelationshipBuilder
Trait Implementations
impl<AGENT: Clone, AGENTRELATIONSHIPROLE: Clone> Clone for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
fn clone(&self) -> AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<AGENT: Debug, AGENTRELATIONSHIPROLE: Debug> Debug for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
impl<'de, AGENT, AGENTRELATIONSHIPROLE> Deserialize<'de> for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: Deserialize<'de>,
AGENTRELATIONSHIPROLE: Deserialize<'de>,
[src]
AGENT: Deserialize<'de>,
AGENTRELATIONSHIPROLE: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<AGENT: PartialEq, AGENTRELATIONSHIPROLE: PartialEq> PartialEq<AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>> for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
fn eq(&self, other: &AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>) -> bool
[src]
fn ne(&self, other: &AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>) -> bool
[src]
impl<AGENT, AGENTRELATIONSHIPROLE> Serialize for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: Serialize,
AGENTRELATIONSHIPROLE: Serialize,
[src]
AGENT: Serialize,
AGENTRELATIONSHIPROLE: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<AGENT, AGENTRELATIONSHIPROLE> StructuralPartialEq for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>
[src]
Auto Trait Implementations
impl<AGENT, AGENTRELATIONSHIPROLE> RefUnwindSafe for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: RefUnwindSafe,
AGENTRELATIONSHIPROLE: RefUnwindSafe,
AGENT: RefUnwindSafe,
AGENTRELATIONSHIPROLE: RefUnwindSafe,
impl<AGENT, AGENTRELATIONSHIPROLE> Send for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: Send,
AGENTRELATIONSHIPROLE: Send,
AGENT: Send,
AGENTRELATIONSHIPROLE: Send,
impl<AGENT, AGENTRELATIONSHIPROLE> Sync for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: Sync,
AGENTRELATIONSHIPROLE: Sync,
AGENT: Sync,
AGENTRELATIONSHIPROLE: Sync,
impl<AGENT, AGENTRELATIONSHIPROLE> Unpin for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: Unpin,
AGENTRELATIONSHIPROLE: Unpin,
AGENT: Unpin,
AGENTRELATIONSHIPROLE: Unpin,
impl<AGENT, AGENTRELATIONSHIPROLE> UnwindSafe for AgentRelationship<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: UnwindSafe,
AGENTRELATIONSHIPROLE: UnwindSafe,
AGENT: UnwindSafe,
AGENTRELATIONSHIPROLE: UnwindSafe,
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>,