pub enum AnyActor {
Iri(Iri),
Application(Box<Application>),
Group(Box<Group>),
Organization(Box<Organization>),
Person(Box<Person>),
Service(Box<Service>),
Other(Value),
}Expand description
A value of Application, Group, Organization, Person, Service, or of a type extending one of them.
Variants§
Iri(Iri)
A reference, by IRI.
Application(Box<Application>)
Group(Box<Group>)
Organization(Box<Organization>)
Person(Box<Person>)
Service(Box<Service>)
Other(Value)
Anything no schema describes, as it was.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AnyActor
impl<'de> Deserialize<'de> for AnyActor
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
impl StructuralPartialEq for AnyActor
Auto Trait Implementations§
impl Freeze for AnyActor
impl RefUnwindSafe for AnyActor
impl Send for AnyActor
impl Sync for AnyActor
impl Unpin for AnyActor
impl UnsafeUnpin for AnyActor
impl UnwindSafe for AnyActor
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