Enum Entity

Source
pub enum Entity {
Show 38 variants Class(Class), ObjectIntersectionOf(ObjectIntersectionOf), ObjectUnionOf(ObjectUnionOf), ObjectComplementOf(ObjectComplementOf), ObjectOneOf(ObjectOneOf), ObjectSomeValuesFrom(ObjectSomeValuesFrom), ObjectAllValuesFrom(ObjectAllValuesFrom), ObjectHasValue(ObjectHasValue), ObjectHasSelf(ObjectHasSelf), ObjectMinCardinality(ObjectMinCardinality), ObjectMaxCardinality(ObjectMaxCardinality), ObjectExactCardinality(ObjectExactCardinality), DataSomeValuesFrom(DataSomeValuesFrom), DataAllValuesFrom(DataAllValuesFrom), DataHasValue(DataHasValue), DataMinCardinality(DataMinCardinality), DataMaxCardinality(DataMaxCardinality), DataExactCardinality(DataExactCardinality), ObjectProperty(ObjectProperty), InverseObjectProperty(InverseObjectProperty), DataProperty(DataProperty), Annotation(Annotation), Individual(Individual), AnnotationProperty(AnnotationProperty), ClassAssertion(ClassAssertion), NegativeClassAssertion(NegativeClassAssertion), ObjectPropertyAssertion(ObjectPropertyAssertion), NegativeObjectPropertyAssertion(NegativeObjectPropertyAssertion), DataPropertyAssertion(DataPropertyAssertion), NegativeDataPropertyAssertion(NegativeDataPropertyAssertion), AnnotationAssertion(AnnotationAssertion), NegativeAnnotationAssertion(NegativeAnnotationAssertion), Literal(Literal), Datatype(Datatype), DataIntersectionOf(DataIntersectionOf), DataUnionOf(DataUnionOf), DataComplementOf(DataComplementOf), DataOneOf(DataOneOf),
}

Variants§

§

Class(Class)

§

ObjectIntersectionOf(ObjectIntersectionOf)

§

ObjectUnionOf(ObjectUnionOf)

§

ObjectComplementOf(ObjectComplementOf)

§

ObjectOneOf(ObjectOneOf)

§

ObjectSomeValuesFrom(ObjectSomeValuesFrom)

§

ObjectAllValuesFrom(ObjectAllValuesFrom)

§

ObjectHasValue(ObjectHasValue)

§

ObjectHasSelf(ObjectHasSelf)

§

ObjectMinCardinality(ObjectMinCardinality)

§

ObjectMaxCardinality(ObjectMaxCardinality)

§

ObjectExactCardinality(ObjectExactCardinality)

§

DataSomeValuesFrom(DataSomeValuesFrom)

§

DataAllValuesFrom(DataAllValuesFrom)

§

DataHasValue(DataHasValue)

§

DataMinCardinality(DataMinCardinality)

§

DataMaxCardinality(DataMaxCardinality)

§

DataExactCardinality(DataExactCardinality)

§

ObjectProperty(ObjectProperty)

§

InverseObjectProperty(InverseObjectProperty)

§

DataProperty(DataProperty)

§

Annotation(Annotation)

§

Individual(Individual)

§

AnnotationProperty(AnnotationProperty)

§

ClassAssertion(ClassAssertion)

§

NegativeClassAssertion(NegativeClassAssertion)

§

ObjectPropertyAssertion(ObjectPropertyAssertion)

§

NegativeObjectPropertyAssertion(NegativeObjectPropertyAssertion)

§

DataPropertyAssertion(DataPropertyAssertion)

§

NegativeDataPropertyAssertion(NegativeDataPropertyAssertion)

§

AnnotationAssertion(AnnotationAssertion)

§

NegativeAnnotationAssertion(NegativeAnnotationAssertion)

§

Literal(Literal)

§

Datatype(Datatype)

§

DataIntersectionOf(DataIntersectionOf)

§

DataUnionOf(DataUnionOf)

§

DataComplementOf(DataComplementOf)

§

DataOneOf(DataOneOf)

Implementations§

Trait Implementations§

Source§

impl Canonicalize for Entity

Source§

fn canonicalize(&mut self)

Source§

impl<'a> CidFields<'a> for Entity

Source§

impl Clone for Entity

Source§

fn clone(&self) -> Entity

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> DataFields<'a> for Entity

Source§

impl Debug for Entity

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> DeserializeFormatWeb3<'de> for Entity

Source§

fn deserialize_format_web3<D>( deserializer: D, ) -> Result<Entity, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl From<EntityFormatWeb3> for Entity

Source§

fn from(original: EntityFormatWeb3) -> Entity

Converts to this type from the input type.
Source§

impl FromABIV2ResponseHinted for Entity

Source§

fn from_abiv2(bytes: &[u8], kind: &EntityKind) -> Entity

Source§

impl Into<EntityFormatWeb3> for Entity

Source§

fn into(self) -> EntityFormatWeb3

Converts this type into the (usually inferred) input type.
Source§

impl Into<EntityV0> for Entity

Source§

fn into(self) -> EntityV0

Converts this type into the (usually inferred) input type.
Source§

impl PartialEq for Entity

Source§

fn eq(&self, other: &Entity) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl SerializeFormatWeb3 for Entity

Source§

fn serialize_format_web3<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Source§

impl ToCid for Entity

Source§

impl StructuralPartialEq for Entity

Auto Trait Implementations§

§

impl Freeze for Entity

§

impl RefUnwindSafe for Entity

§

impl Send for Entity

§

impl Sync for Entity

§

impl Unpin for Entity

§

impl UnwindSafe for Entity

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.