#[repr(usize)]pub enum SoftwareEntityKind {
Show 21 variants
Domain = 0,
SoftwareSystem = 1,
Component = 2,
Api = 3,
Resource = 4,
Configuration = 5,
BuildDefinition = 6,
DeploymentUnit = 7,
RuntimeService = 8,
TestCase = 9,
ReleaseArtifact = 10,
PackageComponent = 11,
Sdk = 12,
DocumentationUnit = 13,
Pipeline = 14,
BuildJob = 15,
RepositorySnapshot = 16,
FileRevision = 17,
BuildRun = 18,
DeploymentRevision = 19,
RuntimeObservation = 20,
}Expand description
Stable and occurrence entity kinds in the software ontology contract.
Variants§
Domain = 0
SoftwareSystem = 1
Component = 2
Api = 3
Resource = 4
Configuration = 5
BuildDefinition = 6
DeploymentUnit = 7
RuntimeService = 8
TestCase = 9
ReleaseArtifact = 10
PackageComponent = 11
Sdk = 12
DocumentationUnit = 13
Pipeline = 14
BuildJob = 15
RepositorySnapshot = 16
FileRevision = 17
BuildRun = 18
DeploymentRevision = 19
RuntimeObservation = 20
Implementations§
Source§impl SoftwareEntityKind
impl SoftwareEntityKind
Sourcepub const fn rdf_local_name(self) -> &'static str
pub const fn rdf_local_name(self) -> &'static str
RDF local name declared by the shared OWL class vocabulary.
Sourcepub fn parse(value: &str) -> Option<Self>
pub fn parse(value: &str) -> Option<Self>
Parses persisted contract values without accepting unknown future kinds.
Sourcepub const fn is_occurrence_kind(self) -> bool
pub const fn is_occurrence_kind(self) -> bool
Snapshot and event instances intentionally carry source-scope identity.
Trait Implementations§
Source§impl Clone for SoftwareEntityKind
impl Clone for SoftwareEntityKind
Source§fn clone(&self) -> SoftwareEntityKind
fn clone(&self) -> SoftwareEntityKind
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 SoftwareEntityKind
Source§impl Debug for SoftwareEntityKind
impl Debug for SoftwareEntityKind
Source§impl<'de> Deserialize<'de> for SoftwareEntityKind
impl<'de> Deserialize<'de> for SoftwareEntityKind
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 SoftwareEntityKind
Source§impl Hash for SoftwareEntityKind
impl Hash for SoftwareEntityKind
Source§impl Ord for SoftwareEntityKind
impl Ord for SoftwareEntityKind
Source§fn cmp(&self, other: &SoftwareEntityKind) -> Ordering
fn cmp(&self, other: &SoftwareEntityKind) -> 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 SoftwareEntityKind
impl PartialEq for SoftwareEntityKind
Source§impl PartialOrd for SoftwareEntityKind
impl PartialOrd for SoftwareEntityKind
Source§impl Serialize for SoftwareEntityKind
impl Serialize for SoftwareEntityKind
impl StructuralPartialEq for SoftwareEntityKind
Auto Trait Implementations§
impl Freeze for SoftwareEntityKind
impl RefUnwindSafe for SoftwareEntityKind
impl Send for SoftwareEntityKind
impl Sync for SoftwareEntityKind
impl Unpin for SoftwareEntityKind
impl UnsafeUnpin for SoftwareEntityKind
impl UnwindSafe for SoftwareEntityKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.