pub enum TargetScope {
Repository,
Organization,
}Expand description
Which scope a target has. D18’s whole difference lives in this enum.
Variants§
Trait Implementations§
Source§impl Clone for TargetScope
impl Clone for TargetScope
Source§fn clone(&self) -> TargetScope
fn clone(&self) -> TargetScope
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 TargetScope
Source§impl Debug for TargetScope
impl Debug for TargetScope
Source§impl<'de> Deserialize<'de> for TargetScope
impl<'de> Deserialize<'de> for TargetScope
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
impl Eq for TargetScope
Source§impl Hash for TargetScope
impl Hash for TargetScope
Source§impl Ord for TargetScope
impl Ord for TargetScope
Source§fn cmp(&self, other: &TargetScope) -> Ordering
fn cmp(&self, other: &TargetScope) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TargetScope
impl PartialEq for TargetScope
Source§impl PartialOrd for TargetScope
impl PartialOrd for TargetScope
Source§impl Serialize for TargetScope
impl Serialize for TargetScope
impl StructuralPartialEq for TargetScope
Auto Trait Implementations§
impl Freeze for TargetScope
impl RefUnwindSafe for TargetScope
impl Send for TargetScope
impl Sync for TargetScope
impl Unpin for TargetScope
impl UnsafeUnpin for TargetScope
impl UnwindSafe for TargetScope
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