pub enum ProjectRole {
Steward,
Contributor,
Observer,
}Expand description
Role a member holds within a cooperative project.
Variants§
Steward
Coordinates the project and can admit/settle on behalf of members.
Contributor
Does the work and accrues effort obligations.
Observer
Read-only participant; accrues no effort.
Trait Implementations§
Source§impl Clone for ProjectRole
impl Clone for ProjectRole
Source§fn clone(&self) -> ProjectRole
fn clone(&self) -> ProjectRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProjectRole
Source§impl Debug for ProjectRole
impl Debug for ProjectRole
Source§impl Default for ProjectRole
impl Default for ProjectRole
Source§fn default() -> ProjectRole
fn default() -> ProjectRole
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectRole
impl<'de> Deserialize<'de> for ProjectRole
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProjectRole, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProjectRole, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProjectRole
Source§impl PartialEq for ProjectRole
impl PartialEq for ProjectRole
Source§impl Serialize for ProjectRole
impl Serialize for ProjectRole
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ProjectRole
Auto Trait Implementations§
impl Freeze for ProjectRole
impl RefUnwindSafe for ProjectRole
impl Send for ProjectRole
impl Sync for ProjectRole
impl Unpin for ProjectRole
impl UnsafeUnpin for ProjectRole
impl UnwindSafe for ProjectRole
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