Struct vf_rs::vf::builders::AgentRelationshipRoleBuilder
source · pub struct AgentRelationshipRoleBuilder { /* private fields */ }
Expand description
Builder for AgentRelationshipRole
.
Implementations§
source§impl AgentRelationshipRoleBuilder
impl AgentRelationshipRoleBuilder
sourcepub fn inverse_role_label<VALUE: Into<Option<String>>>(
self,
value: VALUE
) -> Self
pub fn inverse_role_label<VALUE: Into<Option<String>>>( self, value: VALUE ) -> Self
The human readable name of the role, inverse from the object to the subject. For example, ‘has member’.
pub fn note<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
sourcepub fn role_behavior<VALUE: Into<Option<RoleBehavior>>>(
self,
value: VALUE
) -> Self
pub fn role_behavior<VALUE: Into<Option<RoleBehavior>>>( self, value: VALUE ) -> Self
The generalized behavior of this agent relationship role.
sourcepub fn role_label<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn role_label<VALUE: Into<String>>(self, value: VALUE) -> Self
The human readable name of the role, inverse from the object to the subject. For example, ‘is member of’.
sourcepub fn build(
self
) -> Result<AgentRelationshipRole, AgentRelationshipRoleBuilderError>
pub fn build( self ) -> Result<AgentRelationshipRole, AgentRelationshipRoleBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentRelationshipRoleBuilder
impl RefUnwindSafe for AgentRelationshipRoleBuilder
impl Send for AgentRelationshipRoleBuilder
impl Sync for AgentRelationshipRoleBuilder
impl Unpin for AgentRelationshipRoleBuilder
impl UnwindSafe for AgentRelationshipRoleBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more