pub enum GoverningDocument {
Rules,
Config,
}Expand description
The two documents a scope is judged by, spelled on the wire as the file names they live under.
Variants§
Trait Implementations§
Source§impl Clone for GoverningDocument
impl Clone for GoverningDocument
impl Copy for GoverningDocument
Source§impl Debug for GoverningDocument
impl Debug for GoverningDocument
Source§impl<'de> Deserialize<'de> for GoverningDocument
impl<'de> Deserialize<'de> for GoverningDocument
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 GoverningDocument
Source§impl Hash for GoverningDocument
impl Hash for GoverningDocument
Source§impl Ord for GoverningDocument
impl Ord for GoverningDocument
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 GoverningDocument
impl PartialEq for GoverningDocument
Source§impl PartialOrd for GoverningDocument
impl PartialOrd for GoverningDocument
Source§impl Serialize for GoverningDocument
impl Serialize for GoverningDocument
impl StructuralPartialEq for GoverningDocument
Auto Trait Implementations§
impl Freeze for GoverningDocument
impl RefUnwindSafe for GoverningDocument
impl Send for GoverningDocument
impl Sync for GoverningDocument
impl Unpin for GoverningDocument
impl UnsafeUnpin for GoverningDocument
impl UnwindSafe for GoverningDocument
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