pub enum AnyCollectionPage {
Iri(Iri),
CollectionPage(Box<CollectionPage>),
OrderedCollectionPage(Box<OrderedCollectionPage>),
Other(Value),
}Expand description
A value of CollectionPage, or of a type extending one of them.
Variants§
Iri(Iri)
A reference, by IRI.
CollectionPage(Box<CollectionPage>)
OrderedCollectionPage(Box<OrderedCollectionPage>)
Other(Value)
Anything no schema describes, as it was.
Implementations§
Trait Implementations§
Source§impl Clone for AnyCollectionPage
impl Clone for AnyCollectionPage
Source§fn clone(&self) -> AnyCollectionPage
fn clone(&self) -> AnyCollectionPage
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 AnyCollectionPage
impl Debug for AnyCollectionPage
Source§impl<'de> Deserialize<'de> for AnyCollectionPage
impl<'de> Deserialize<'de> for AnyCollectionPage
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 AnyCollectionPage
impl FromJson for AnyCollectionPage
Source§impl PartialEq for AnyCollectionPage
impl PartialEq for AnyCollectionPage
Source§impl Serialize for AnyCollectionPage
impl Serialize for AnyCollectionPage
impl StructuralPartialEq for AnyCollectionPage
Auto Trait Implementations§
impl Freeze for AnyCollectionPage
impl RefUnwindSafe for AnyCollectionPage
impl Send for AnyCollectionPage
impl Sync for AnyCollectionPage
impl Unpin for AnyCollectionPage
impl UnsafeUnpin for AnyCollectionPage
impl UnwindSafe for AnyCollectionPage
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