pub enum AnyOrderedCollection {
Iri(Iri),
FeaturedCollection(Box<FeaturedCollection>),
OrderedCollection(Box<OrderedCollection>),
Other(Value),
}Expand description
A value of OrderedCollection, or of a type extending one of them.
Variants§
Iri(Iri)
A reference, by IRI.
FeaturedCollection(Box<FeaturedCollection>)
OrderedCollection(Box<OrderedCollection>)
Other(Value)
Anything no schema describes, as it was.
Implementations§
Trait Implementations§
Source§impl Clone for AnyOrderedCollection
impl Clone for AnyOrderedCollection
Source§fn clone(&self) -> AnyOrderedCollection
fn clone(&self) -> AnyOrderedCollection
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 moreSource§impl Debug for AnyOrderedCollection
impl Debug for AnyOrderedCollection
Source§impl<'de> Deserialize<'de> for AnyOrderedCollection
impl<'de> Deserialize<'de> for AnyOrderedCollection
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromJson for AnyOrderedCollection
impl FromJson for AnyOrderedCollection
Source§impl PartialEq for AnyOrderedCollection
impl PartialEq for AnyOrderedCollection
Source§impl Serialize for AnyOrderedCollection
impl Serialize for AnyOrderedCollection
impl StructuralPartialEq for AnyOrderedCollection
Auto Trait Implementations§
impl Freeze for AnyOrderedCollection
impl RefUnwindSafe for AnyOrderedCollection
impl Send for AnyOrderedCollection
impl Sync for AnyOrderedCollection
impl Unpin for AnyOrderedCollection
impl UnsafeUnpin for AnyOrderedCollection
impl UnwindSafe for AnyOrderedCollection
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