#[non_exhaustive]pub enum GoverningText {
CrateRecommendation,
Published {
documents: &'static [&'static str],
},
}Expand description
The text a profile follows.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CrateRecommendation
The crate’s own recommendation, following no published text.
Published
Published documents, each with its edition.
Trait Implementations§
Source§impl Clone for GoverningText
impl Clone for GoverningText
Source§fn clone(&self) -> GoverningText
fn clone(&self) -> GoverningText
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 GoverningText
Source§impl Debug for GoverningText
impl Debug for GoverningText
impl Eq for GoverningText
Source§impl PartialEq for GoverningText
impl PartialEq for GoverningText
impl StructuralPartialEq for GoverningText
Auto Trait Implementations§
impl Forget for GoverningText
impl Freeze for GoverningText
impl Move for GoverningText
impl RefUnwindSafe for GoverningText
impl Send for GoverningText
impl Sync for GoverningText
impl Unpin for GoverningText
impl UnsafeUnpin for GoverningText
impl UnwindSafe for GoverningText
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