pub struct AclTokenRoleLinkBuilder { /* private fields */ }
Expand description
Builder for AclTokenRoleLink
.
Implementations§
Source§impl AclTokenRoleLinkBuilder
impl AclTokenRoleLinkBuilder
Sourcepub fn id(&mut self, value: String) -> &mut Self
pub fn id(&mut self, value: String) -> &mut Self
ID is the ACLRole.ID UUID. This field is immutable and represents the absolute truth for the link.
Sourcepub fn name(&mut self, value: String) -> &mut Self
pub fn name(&mut self, value: String) -> &mut Self
Name is the human friendly identifier for the ACL role and is a convenience field for operators.
Sourcepub fn build(&self) -> Result<AclTokenRoleLink, AclTokenRoleLinkBuilderError>
pub fn build(&self) -> Result<AclTokenRoleLink, AclTokenRoleLinkBuilderError>
Trait Implementations§
Source§impl Clone for AclTokenRoleLinkBuilder
impl Clone for AclTokenRoleLinkBuilder
Source§fn clone(&self) -> AclTokenRoleLinkBuilder
fn clone(&self) -> AclTokenRoleLinkBuilder
Returns a copy 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 AclTokenRoleLinkBuilder
impl RefUnwindSafe for AclTokenRoleLinkBuilder
impl Send for AclTokenRoleLinkBuilder
impl Sync for AclTokenRoleLinkBuilder
impl Unpin for AclTokenRoleLinkBuilder
impl UnwindSafe for AclTokenRoleLinkBuilder
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