pub enum RangeScope {
Global,
User,
}Expand description
Who a listed range is available to.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RangeScope
impl Clone for RangeScope
impl Copy for RangeScope
Source§impl Debug for RangeScope
impl Debug for RangeScope
Source§impl<'de> Deserialize<'de> for RangeScope
impl<'de> Deserialize<'de> for RangeScope
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 RangeScope
Source§impl<'_derivative_strum> From<&'_derivative_strum RangeScope> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum RangeScope> for &'static str
Source§fn from(x: &'_derivative_strum RangeScope) -> &'static str
fn from(x: &'_derivative_strum RangeScope) -> &'static str
Converts to this type from the input type.
Source§impl From<RangeScope> for &'static str
impl From<RangeScope> for &'static str
Source§fn from(x: RangeScope) -> &'static str
fn from(x: RangeScope) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for RangeScope
impl PartialEq for RangeScope
Source§impl Serialize for RangeScope
impl Serialize for RangeScope
impl StructuralPartialEq for RangeScope
Auto Trait Implementations§
impl Forget for RangeScope
impl Freeze for RangeScope
impl Move for RangeScope
impl RefUnwindSafe for RangeScope
impl Send for RangeScope
impl Sync for RangeScope
impl Unpin for RangeScope
impl UnsafeUnpin for RangeScope
impl UnwindSafe for RangeScope
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