pub struct Role { /* private fields */ }Expand description
Native representation of a Role
A Role defines the permissions that are able to be assigned to an Organization’s Agent.
This allows agents to perform actions defined within their role.
Implementations
Trait Implementations
sourceimpl FromBytes<Role> for Role
impl FromBytes<Role> for Role
fn from_bytes(bytes: &[u8]) -> Result<Role, ProtoConversionError>
sourceimpl FromNative<Role> for Role
impl FromNative<Role> for Role
fn from_native(role: Role) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<Role> for Role
impl FromProto<Role> for Role
fn from_proto(role: Role) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for Role
impl IntoBytes for Role
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<Role> for Role
impl IntoNative<Role> for Role
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<Role> for Role
impl IntoProto<Role> for Role
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Role
Auto Trait Implementations
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more