pub struct Ext2<Inner, A, B> {
    pub ext_one: A,
    pub ext_two: B,
    pub inner: Inner,
}
Expand description

Extend a type with two values

Fields§

§ext_one: A§ext_two: B§inner: Inner

The type being extended

Implementations§

Trait Implementations§

Immutable borrow of Activity<Kind>
Mutable borrow of Activity<Kind>
Immutable borrow of ApActor<Inner>
Mutable borrow of ApActor<Inner>
Immutable borrow of ApObject<Inner>
Mutable borrow of ApObject<Inner>
Immutable borrow of Base<Kind>
Mutable borrow of Base
Immutable borrow of Object<Kind>
Mutable borrow of Object<Kind>
Immutable borrow of Question
Mutable borrow of Question
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
The erro produced must be a StdError
Produce an object from the Base
Produce a base from the object
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Fetch the result for the current activity Read more
Set the result for the current activity Read more
Set many results for the current activity Read more
Add a result to the current activity Read more
Take the result from the current activity, leaving nothing Read more
Delete the result from the current activity Read more
Fetch the instrument for the current activity Read more
Set the instrument for the current activity Read more
Set many instruments for the current activity Read more
Add a instrument to the current activity Read more
Take the instrument from the current activity, leaving nothing Read more
Delete the instrument from the current activity Read more
Gets the TypeId of self. Read more
Fetch the inbox for the current actor Read more
Fetch the inbox for the current actor Read more
Fetch a mutable referece to the current actor’s inbox Read more
Set the inbox for the current actor Read more
Fetch the outbox for the current actor Read more
Fetch the outbox for the current actor Read more
Mutably fetch the outbox for the current actor Read more
Set the outbox for the current actor Read more
Take the outbox from the current actor, leaving nothing Read more
Delete the outbox from the current object Read more
Fetch the following link for the current actor Read more
Fetch the following link for the current actor Read more
Mutably fetch the following link for the current actor Read more
Set the following link for the current actor Read more
Take the following link from the current actor, leaving nothing Read more
Delete the following link from the current object Read more
Fetch the followers link for the current actor Read more
Fetch the followers link for the current actor Read more
Mutably fetch the followers link for the current actor Read more
Set the followers link for the current actor Read more
Take the followers link from the current actor, leaving nothing Read more
Delete the followers link from the current object Read more
Fetch the liked link for the current actor Read more
Fetch the liked link for the current actor Read more
Mutably fetch the liked link for the current actor Read more
Set the liked link for the current actor Read more
Take the liked link from the current actor, leaving nothing Read more
Delete the liked link from the current object Read more
Fetch the streams links for the current actor Read more
Fetch the streams links for the current actor Read more
Mutably fetch the streams links for the current actor Read more
Set the streams links for the current actor Read more
Set many streams links for the current actor Read more
Add a streams link for the current actor Read more
Take the streams links from the current actor, leaving nothing Read more
Delete the streams links from the current object Read more
Fetch the preferred_username for the current actor Read more
Set the preferred_username for the current actor Read more
Take the preferred_username from the current actor, leaving nothing Read more
Delete the preferred_username from the current actor Read more
Fetch the endpoints for the current actor, erroring if the Endpoints’ domains do not match the ID’s domain Read more
Fetch the endpoints for the current actor Read more
Mutably fetch the endpoints for the current actor Read more
Set the endpoints for the current actor Read more
Take the endpoints from the current actor, leaving nothing Read more
Delete the endpoints from the current actor Read more
Fetch the shares for the current object Read more
Set the shares for the current object Read more
Take the shares from the current object, leaving nothing Read more
Delete the shares from the current object Read more
Fetch the likes for the current object Read more
Set the likes for the current object Read more
Take the likes from the current object, leaving nothing Read more
Delete the likes from the current object Read more
Fetch the source for the current object Read more
Set the source for the current object Read more
Take the source from the current object, leaving nothing Read more
Delete the source from the current object Read more
Fetch the upload_media for the current object Read more
Set the upload_media for the current object Read more
Set many upload_medias for the current object Read more
Add a upload_media to the current object Read more
Take the upload_media from the current object, leaving nothing Read more
Delete the upload_media from the current object Read more
Fetch the actor for the current activity Read more
Fetch the actor for the current activity Read more
Check if the actor’s ID is id Read more
Set the actor for the current activity Read more
Set many actors for the current activity Read more
Add a actor to the current activity Read more
Fetch the object for the current activity Read more
Fetch the object for the current activity Read more
Check if the object’s ID is id Read more
Set the object for the current activity Read more
Set many objects for the current activity Read more
Add a object to the current activity Read more
Fetch the origin for the current activity Read more
Set the origin for the current activity Read more
Set many origins for the current activity Read more
Add a origin to the current activity Read more
Take a origin from the current activity, leaving nothing Read more
Delete a origin from the current activity Read more
Fetch the target for the current activity Read more
Set the target for the current activity Read more
Set many targets for the current activity Read more
Add a target to the current activity Read more
Take a target from the current activity, leaving nothing Read more
Delete a target from the current activity Read more
Fetch the origin for the current activity Read more
Set the origin for the current activity Read more
Set many origins for the current activity Read more
Add a origin to the current activity Read more
Fetch the target for the current activity Read more
Set the target for the current activity Read more
Set many targets for the current activity Read more
Add a target to the current activity Read more
Fetch the context for the current object Read more
Set the context for the current object Read more
Set many contexts for the current object Read more
Add a context to the current object Read more
Take the context from the current object, leaving nothing Read more
Delete the context from the current object Read more
Check the authority of a given IRI matches this object’s ID Read more
Fetch the id for the current object Read more
Fetch the id for the current object Read more
Mutably borrow the ID from the current object Read more
Mutably borrow the ID from the current object Read more
Check if the provided id is equal to the object’s id Read more
Set the id for the current object Read more
Take the id from the current object, leaving nothing Read more
Delete the id from the current object Read more
Fetch the kind for the current object Read more
Check if the provided Kind is equal to the object’s Kind Read more
Set the kind for the current object Read more
Take the kind from the current object, leaving nothing Read more
Delete the kind from the current object Read more
Fetch the name for the current object Read more
Set the name for the current object Read more
Set many names for the current object Read more
Add a name to the current object Read more
Take the name from the current object, leaving nothing Read more
Delete the name from the current object Read more
Fetch the media type for the current object Read more
Set the media type for the current object Read more
Take the media type from the current object, leaving nothing Read more
Delete the media type from the current object Read more
Fetch the preview for the current object Read more
Set the preview for the current object Read more
Set many previews for the current object Read more
Add a preview to the current object Read more
Take the preview from the current object, leaving nothing Read more
Delete the preview from the current object Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Fetch the items for the current activity Read more
Set the items for the current activity Read more
Set many items for the current activity Read more
Add an item to the current activity Read more
Take the items of the current object, leaving nothing Read more
Delete the items from the current object Read more
Fetch the ordered_items for the current activity Read more
Set the ordered_items for the current activity Read more
Set many ordered_items for the current activity Read more
Add an ordered_item to the current activity Read more
Take the ordered_items of the current object, leaving nothing Read more
Delete the ordered_items from the current object Read more
Fetch the total_items of the current object Read more
Set the total_items for the current object Read more
Take the total_items of the current object, leaving nothing Read more
Delete the total_items from the current object Read more
Fetch the current field for the current object Read more
Set the current field for the current object Read more
Take the current field from the current object, leaving nothing Read more
Delete the current field from the current object Read more
Fetch the first field for the current object Read more
Set the first field for the current object Read more
Take the first field from the current object, leaving nothing Read more
Delete the first field from the current object Read more
Fetch the last field for the current object Read more
Set the last field for the current object Read more
Take the last field from the current object, leaving nothing Read more
Delete the last field from the current object Read more
Fetch the part_of field for the current object Read more
Set the part_of field for the current object Read more
Take the part_of field from the current object, leaving nothing Read more
Delete the part_of field from the current object Read more
Fetch the next field for the current object Read more
Set the next field for the current object Read more
Take the next field from the current object, leaving nothing Read more
Delete the next field from the current object Read more
Fetch the prev field for the current object Read more
Set the prev field for the current object Read more
Take the prev field from the current object, leaving nothing Read more
Delete the prev field from the current object Read more

Returns the argument unchanged.

Calls U::from(self).

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

Fetch the attachment for the current object Read more
Set the attachment for the current object Read more
Set many attachments for the current object Read more
Add a attachment to the current object Read more
Take the attachment from the current object, leaving nothing Read more
Delete the attachment from the current object Read more
Fetch the attributed_to for the current object Read more
Set the attributed_to for the current object Read more
Set many attributed_tos for the current object Read more
Add a attributed_to to the current object Read more
Take the attributed_to from the current object, leaving nothing Read more
Delete the attributed_to from the current object Read more
Fetch the audience for the current object Read more
Set the audience for the current object Read more
This overwrites the contents of audience Read more
Add a audience to the current object Read more
Take the audience from the current object, leaving nothing Read more
Delete the audience from the current object Read more
Fetch the content for the current object Read more
Set the content for the current object Read more
Set many contents for the current object Read more
Add a content to the current object Read more
Take the content from the current object, leaving nothing Read more
Delete the content from the current object Read more
Fetch the summary for the current object Read more
Set the summary for the current object Read more
Set many summaries for the current object Read more
Add a summary to the current object Read more
Take the summary from the current object, leaving nothing Read more
Delete the summary from the current object Read more
Fetch the url for the current object Read more
Set the url for the current object Read more
Set many urls for the current object Read more
Add a url to the current object Read more
Take the url from the current object, leaving nothing Read more
Delete the url from the current object Read more
Fetch the generator for the current object Read more
Set the generator for the current object Read more
Set many generators for the current object Read more
Add a generator to the current object Read more
Take the generator from the current object, leaving nothing Read more
Delete the generator from the current object Read more
Fetch the icon for the current object Read more
Set the icon for the current object Read more
Set many icons for the current object Read more
Add a icon to the current object Read more
Take the icon from the current object, leaving nothing Read more
Delete the icon from the current object Read more
Fetch the image for the current object Read more
Set the image for the current object Read more
Set many images for the current object Read more
Add a image to the current object Read more
Take the image from the current object, leaving nothing Read more
Delete the image from the current object Read more
Fetch the location for the current object Read more
Set the location for the current object Read more
Set many locations for the current object Read more
Add a location to the current object Read more
Take the location from the current object, leaving nothing Read more
Delete the location from the current object Read more
Fetch the tag for the current object Read more
Set the tag for the current object Read more
Set many tags for the current object Read more
Add a tag to the current object Read more
Take the tag from the current object, leaving nothing Read more
Delete the tag from the current object Read more
Fetch the start_time for the current object Read more
Set the start_time for the current object Read more
Take the start_time from the current object, leaving nothing Read more
Delete the start_time from the current object Read more
Fetch the end_time for the current object Read more
Set the end_time for the current object Read more
Take the end_time from the current object, leaving nothing Read more
Delete the end_time from the current object Read more
Fetch the duration for the current object Read more
Set the duration for the current object Read more
Take the duration from the current object, leaving nothing Read more
Delete the duration from the current object Read more
Fetch the published for the current object Read more
Set the published for the current object Read more
Take the published from the current object, leaving nothing Read more
Delete the published from the current object Read more
Fetch the updated for the current object Read more
Set the updated for the current object Read more
Take the updated from the current object, leaving nothing Read more
Delete the updated from the current object Read more
Fetch the in_reply_to for the current object Read more
Set the in_reply_to for the current object Read more
Set many in_reply_tos for the current object Read more
Add a in_reply_to to the current object Read more
Take the in_reply_to from the current object, leaving nothing Read more
Delete the in_reply_to from the current object Read more
Fetch the replies for the current object Read more
Set the replies for the current object Read more
Set many replies for the current object Read more
Add a replies to the current object Read more
Take the replies from the current object, leaving nothing Read more
Delete the replies from the current object Read more
Fetch the to for the current object Read more
Set the to for the current object Read more
Set many tos for the current object Read more
Add a to to the current object Read more
Take the to from the current object, leaving nothing Read more
Delete the to from the current object Read more
Fetch the bto for the current object Read more
Set the bto for the current object Read more
Set many btos for the current object Read more
Add a bto to the current object Read more
Take the bto from the current object, leaving nothing Read more
Delete the bto from the current object Read more
Fetch the cc for the current object Read more
Set the cc for the current object Read more
Set many ccs for the current object Read more
Add a cc to the current object Read more
Take the cc from the current object, leaving nothing Read more
Delete the cc from the current object Read more
Fetch the bcc for the current object Read more
Set the bcc for the current object Read more
Set many bcc for the current object Read more
Add a bcc to the current object Read more
Take the bcc from the current object, leaving nothing Read more
Delete the bcc from the current object Read more
Fetch the one_of field for the current activity Read more
Set the one_of field for the current activity Read more
Set many one_of items for the current activity Read more
Add a one_of to the current activity Read more
Take the one_of field from the current activity, leaving nothing Read more
Delete the one_of field from the current activity Read more
Fetch the any_of field for the current activity Read more
Set the any_of field for the current activity Read more
Set many any_of items for the current activity Read more
Add an any_of to the current activity Read more
Take the any_of field from the current activity, leaving nothing Read more
Delete the any_of field from the current activity Read more
Fetch the closed field for the current activity Read more
Set the closed field for the current activity Read more
Set many closed items for the current activity Read more
Set the closed field as a date Read more
Set the closed field as a boolean Read more
Add an object or link to the closed field Read more
Take the closed field from the current activity Read more
Remove the closed field from the current activity Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.