pub struct RoleBuilder { /* private fields */ }
Expand description
Builder for Role
.
Implementations§
Source§impl RoleBuilder
impl RoleBuilder
Sourcepub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A summary of the role’s purpose and associated responsibilities.
Sourcepub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A unique identifier for the role.
pub fn links<VALUE: Into<Vec<Link>>>(&mut self, value: VALUE) -> &mut Self
pub fn props<VALUE: Into<Vec<Property>>>(&mut self, value: VALUE) -> &mut Self
pub fn remarks<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn short_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn short_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A short common name, abbreviation, or acronym for the role.
Trait Implementations§
Source§impl Clone for RoleBuilder
impl Clone for RoleBuilder
Source§fn clone(&self) -> RoleBuilder
fn clone(&self) -> RoleBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RoleBuilder
impl RefUnwindSafe for RoleBuilder
impl Send for RoleBuilder
impl Sync for RoleBuilder
impl Unpin for RoleBuilder
impl UnwindSafe for RoleBuilder
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