pub enum SourceEnum {
Project,
Workspace,
}Expand description
Whether the member has access through the project directly or through workspace membership.
Variants§
Trait Implementations§
Source§impl Clone for SourceEnum
impl Clone for SourceEnum
Source§fn clone(&self) -> SourceEnum
fn clone(&self) -> SourceEnum
Returns a duplicate 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 moreSource§impl Debug for SourceEnum
impl Debug for SourceEnum
Source§impl Default for SourceEnum
impl Default for SourceEnum
Source§fn default() -> SourceEnum
fn default() -> SourceEnum
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceEnum
impl<'de> Deserialize<'de> for SourceEnum
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SourceEnum
impl Hash for SourceEnum
Source§impl Ord for SourceEnum
impl Ord for SourceEnum
Source§fn cmp(&self, other: &SourceEnum) -> Ordering
fn cmp(&self, other: &SourceEnum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceEnum
impl PartialEq for SourceEnum
Source§impl PartialOrd for SourceEnum
impl PartialOrd for SourceEnum
Source§impl Serialize for SourceEnum
impl Serialize for SourceEnum
impl Copy for SourceEnum
impl Eq for SourceEnum
impl StructuralPartialEq for SourceEnum
Auto Trait Implementations§
impl Freeze for SourceEnum
impl RefUnwindSafe for SourceEnum
impl Send for SourceEnum
impl Sync for SourceEnum
impl Unpin for SourceEnum
impl UnsafeUnpin for SourceEnum
impl UnwindSafe for SourceEnum
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