pub enum Role {
Owner,
Custodian,
Reporter,
}Expand description
Possible Role values
Variants§
Trait Implementations§
Source§impl FromNative<Role> for Proposal_Role
impl FromNative<Role> for Proposal_Role
fn from_native(roles: Role) -> Result<Self, ProtoConversionError>
Source§impl FromProto<Proposal_Role> for Role
impl FromProto<Proposal_Role> for Role
fn from_proto(roles: Proposal_Role) -> Result<Self, ProtoConversionError>
Source§impl IntoNative<Role> for Proposal_Role
impl IntoNative<Role> for Proposal_Role
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<Proposal_Role> for Role
impl IntoProto<Proposal_Role> for Role
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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