pub enum LinkOrObject {
Show 74 variants
Iri(Iri),
Accept(Box<Accept>),
Activity(Box<Activity>),
Add(Box<Add>),
Agreement(Box<Agreement>),
Announce(Box<Announce>),
AnnounceAuthorization(Box<AnnounceAuthorization>),
AnnounceRequest(Box<AnnounceRequest>),
Application(Box<Application>),
Arrive(Box<Arrive>),
Article(Box<Article>),
Audio(Box<Audio>),
Block(Box<Block>),
ChatMessage(Box<ChatMessage>),
Collection(Box<Collection>),
CollectionPage(Box<CollectionPage>),
Create(Box<Create>),
Delete(Box<Delete>),
Dislike(Box<Dislike>),
Document(Box<Document>),
Emoji(Box<Emoji>),
EmojiReact(Box<EmojiReact>),
Event(Box<Event>),
FeatureAuthorization(Box<FeatureAuthorization>),
FeatureRequest(Box<FeatureRequest>),
FeaturedCollection(Box<FeaturedCollection>),
FeaturedItem(Box<FeaturedItem>),
Flag(Box<Flag>),
Follow(Box<Follow>),
Group(Box<Group>),
Hashtag(Box<Hashtag>),
Ignore(Box<Ignore>),
Image(Box<Image>),
IntransitiveActivity(Box<IntransitiveActivity>),
Invite(Box<Invite>),
Join(Box<Join>),
Leave(Box<Leave>),
Like(Box<Like>),
LikeAuthorization(Box<LikeAuthorization>),
LikeRequest(Box<LikeRequest>),
Link(Box<Link>),
Listen(Box<Listen>),
Mention(Box<Mention>),
Move(Box<Move>),
Note(Box<Note>),
Object(Box<Object>),
Offer(Box<Offer>),
OrderedCollection(Box<OrderedCollection>),
OrderedCollectionPage(Box<OrderedCollectionPage>),
Organization(Box<Organization>),
Page(Box<Page>),
Person(Box<Person>),
Place(Box<Place>),
Profile(Box<Profile>),
Proposal(Box<Proposal>),
Question(Box<Question>),
QuoteAuthorization(Box<QuoteAuthorization>),
QuoteRequest(Box<QuoteRequest>),
Read(Box<Read>),
Reject(Box<Reject>),
Relationship(Box<Relationship>),
Remove(Box<Remove>),
ReplyAuthorization(Box<ReplyAuthorization>),
ReplyRequest(Box<ReplyRequest>),
Service(Box<Service>),
TentativeAccept(Box<TentativeAccept>),
TentativeReject(Box<TentativeReject>),
Tombstone(Box<Tombstone>),
Travel(Box<Travel>),
Undo(Box<Undo>),
Update(Box<Update>),
Video(Box<Video>),
View(Box<View>),
Other(Value),
}Variants§
Iri(Iri)
A reference, by IRI.
Accept(Box<Accept>)
Activity(Box<Activity>)
Add(Box<Add>)
Agreement(Box<Agreement>)
Announce(Box<Announce>)
AnnounceAuthorization(Box<AnnounceAuthorization>)
AnnounceRequest(Box<AnnounceRequest>)
Application(Box<Application>)
Arrive(Box<Arrive>)
Article(Box<Article>)
Audio(Box<Audio>)
Block(Box<Block>)
ChatMessage(Box<ChatMessage>)
Collection(Box<Collection>)
CollectionPage(Box<CollectionPage>)
Create(Box<Create>)
Delete(Box<Delete>)
Dislike(Box<Dislike>)
Document(Box<Document>)
Emoji(Box<Emoji>)
EmojiReact(Box<EmojiReact>)
Event(Box<Event>)
FeatureAuthorization(Box<FeatureAuthorization>)
FeatureRequest(Box<FeatureRequest>)
FeaturedCollection(Box<FeaturedCollection>)
FeaturedItem(Box<FeaturedItem>)
Flag(Box<Flag>)
Follow(Box<Follow>)
Group(Box<Group>)
Hashtag(Box<Hashtag>)
Ignore(Box<Ignore>)
Image(Box<Image>)
IntransitiveActivity(Box<IntransitiveActivity>)
Invite(Box<Invite>)
Join(Box<Join>)
Leave(Box<Leave>)
Like(Box<Like>)
LikeAuthorization(Box<LikeAuthorization>)
LikeRequest(Box<LikeRequest>)
Link(Box<Link>)
Listen(Box<Listen>)
Mention(Box<Mention>)
Move(Box<Move>)
Note(Box<Note>)
Object(Box<Object>)
Offer(Box<Offer>)
OrderedCollection(Box<OrderedCollection>)
OrderedCollectionPage(Box<OrderedCollectionPage>)
Organization(Box<Organization>)
Page(Box<Page>)
Person(Box<Person>)
Place(Box<Place>)
Profile(Box<Profile>)
Proposal(Box<Proposal>)
Question(Box<Question>)
QuoteAuthorization(Box<QuoteAuthorization>)
QuoteRequest(Box<QuoteRequest>)
Read(Box<Read>)
Reject(Box<Reject>)
Relationship(Box<Relationship>)
Remove(Box<Remove>)
ReplyAuthorization(Box<ReplyAuthorization>)
ReplyRequest(Box<ReplyRequest>)
Service(Box<Service>)
TentativeAccept(Box<TentativeAccept>)
TentativeReject(Box<TentativeReject>)
Tombstone(Box<Tombstone>)
Travel(Box<Travel>)
Undo(Box<Undo>)
Update(Box<Update>)
Video(Box<Video>)
View(Box<View>)
Other(Value)
Anything no schema describes, as it was.
Implementations§
Trait Implementations§
Source§impl Clone for LinkOrObject
impl Clone for LinkOrObject
Source§fn clone(&self) -> LinkOrObject
fn clone(&self) -> LinkOrObject
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 LinkOrObject
impl Debug for LinkOrObject
Source§impl<'de> Deserialize<'de> for LinkOrObject
impl<'de> Deserialize<'de> for LinkOrObject
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 LinkOrObject
impl FromJson for LinkOrObject
Source§impl PartialEq for LinkOrObject
impl PartialEq for LinkOrObject
Source§impl Serialize for LinkOrObject
impl Serialize for LinkOrObject
impl StructuralPartialEq for LinkOrObject
Auto Trait Implementations§
impl Freeze for LinkOrObject
impl RefUnwindSafe for LinkOrObject
impl Send for LinkOrObject
impl Sync for LinkOrObject
impl Unpin for LinkOrObject
impl UnsafeUnpin for LinkOrObject
impl UnwindSafe for LinkOrObject
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