pub enum Role {
Owner,
Custodian,
Reporter,
}Expand description
Possible Role values
Variants
Owner
Custodian
Reporter
Trait Implementations
sourceimpl FromNative<Role> for Proposal_Role
impl FromNative<Role> for Proposal_Role
fn from_native(roles: Role) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<Proposal_Role> for Role
impl FromProto<Proposal_Role> for Role
fn from_proto(roles: Proposal_Role) -> Result<Self, ProtoConversionError>
sourceimpl IntoNative<Role> for Proposal_Role
impl IntoNative<Role> for Proposal_Role
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl 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 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