pub enum ContentClassification {
Source,
Documentation,
ConfigurationData,
OtherText,
Opaque,
}Expand description
Derived role of one admitted repository file.
Variants§
Source
Program, template, query, build, or style source.
Documentation
Human-facing documentation or specification content.
ConfigurationData
Structured configuration or data content.
OtherText
Eligible UTF-8 text without a more specific registry role.
Opaque
Admitted metadata whose content is binary or invalid UTF-8.
Implementations§
Trait Implementations§
Source§impl Clone for ContentClassification
impl Clone for ContentClassification
Source§fn clone(&self) -> ContentClassification
fn clone(&self) -> ContentClassification
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 ContentClassification
Source§impl Debug for ContentClassification
impl Debug for ContentClassification
Source§impl<'de> Deserialize<'de> for ContentClassification
impl<'de> Deserialize<'de> for ContentClassification
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 Display for ContentClassification
impl Display for ContentClassification
impl Eq for ContentClassification
Source§impl Hash for ContentClassification
impl Hash for ContentClassification
Source§impl Ord for ContentClassification
impl Ord for ContentClassification
Source§fn cmp(&self, other: &ContentClassification) -> Ordering
fn cmp(&self, other: &ContentClassification) -> 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
Source§impl PartialEq for ContentClassification
impl PartialEq for ContentClassification
Source§fn eq(&self, other: &ContentClassification) -> bool
fn eq(&self, other: &ContentClassification) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ContentClassification
impl PartialOrd for ContentClassification
Source§impl Serialize for ContentClassification
impl Serialize for ContentClassification
impl StructuralPartialEq for ContentClassification
Auto Trait Implementations§
impl Freeze for ContentClassification
impl RefUnwindSafe for ContentClassification
impl Send for ContentClassification
impl Sync for ContentClassification
impl Unpin for ContentClassification
impl UnsafeUnpin for ContentClassification
impl UnwindSafe for ContentClassification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.