[−][src]Struct vf_rs::vf::builders::AgentRelationshipBuilder
Builder for AgentRelationship
.
Implementations
impl<AGENT, AGENTRELATIONSHIPROLE> AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE>
[src]
pub fn in_scope_of<VALUE: Into<Vec<Url>>>(self, value: VALUE) -> Self
[src]
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
pub fn note<VALUE: Into<String>>(self, value: VALUE) -> Self
[src]
pub fn object<VALUE: Into<AGENT>>(self, value: VALUE) -> 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 relationship<VALUE: Into<AGENTRELATIONSHIPROLE>>(
self,
value: VALUE
) -> Self
[src]
self,
value: VALUE
) -> Self
The role of an economic relationship that exists between 2 agents, such as member, trading partner.
pub fn subject<VALUE: Into<AGENT>>(self, value: VALUE) -> 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.
pub fn build(
self
) -> Result<AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>, String>
[src]
self
) -> Result<AgentRelationship<AGENT, AGENTRELATIONSHIPROLE>, String>
Trait Implementations
impl<AGENT: Default, AGENTRELATIONSHIPROLE: Default> Default for AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE>
[src]
fn default() -> AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE>
[src]
Auto Trait Implementations
impl<AGENT, AGENTRELATIONSHIPROLE> RefUnwindSafe for AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: RefUnwindSafe,
AGENTRELATIONSHIPROLE: RefUnwindSafe,
AGENT: RefUnwindSafe,
AGENTRELATIONSHIPROLE: RefUnwindSafe,
impl<AGENT, AGENTRELATIONSHIPROLE> Send for AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: Send,
AGENTRELATIONSHIPROLE: Send,
AGENT: Send,
AGENTRELATIONSHIPROLE: Send,
impl<AGENT, AGENTRELATIONSHIPROLE> Sync for AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: Sync,
AGENTRELATIONSHIPROLE: Sync,
AGENT: Sync,
AGENTRELATIONSHIPROLE: Sync,
impl<AGENT, AGENTRELATIONSHIPROLE> Unpin for AgentRelationshipBuilder<AGENT, AGENTRELATIONSHIPROLE> where
AGENT: Unpin,
AGENTRELATIONSHIPROLE: Unpin,
AGENT: Unpin,
AGENTRELATIONSHIPROLE: Unpin,
impl<AGENT, AGENTRELATIONSHIPROLE> UnwindSafe for AgentRelationshipBuilder<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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,