pub enum ObjectEnum {
Brief(String),
Full {Show 65 fields
id: Id,
kind: Kind,
attachment: Attachment,
attributed_to: AttributedTo,
audience: Audience,
content: Content,
context: Context,
name: Name,
end_time: EndTime,
generator: Generator,
icon: Icon,
image: Image,
in_reply_to: InReplyTo,
location: Location,
preview: Preview,
published: Published,
replies: Replies,
start_time: StartTime,
summary: Summary,
tag: Tag,
updated: Updated,
url: Url,
to: To,
bto: BTo,
cc: CC,
bcc: BCC,
media_type: MediaType,
duration: Duration,
one_of: OneOf,
any_of: AnyOf,
closed: Closed,
actor: Actor,
object: Object,
target: Target,
result: Result,
origin: Origin,
instrument: Instrument,
total_items: TotalItems,
current: Current,
first: First,
last: Last,
items: Items,
part_of: PartOf,
next: Next,
prev: Prev,
start_index: StartIndex,
accuracy: Accuracy,
altitude: Altitude,
latitude: Latitude,
longitude: Longitude,
radius: Radius,
units: Units,
describes: Describes,
subject: Subject,
relationship: Relationship,
former_type: FormerType,
deleted: Deleted,
public_key: PublicKey,
public_key_pem: PublicKeyPem,
preferred_username: PreferredUsername,
owner: Owner,
inbox: Inbox,
outbox: Outbox,
followers: Followers,
following: Following,
},
}
Variants§
Brief(String)
Full
Fields
§
attachment: Attachment
§
attributed_to: AttributedTo
§
instrument: Instrument
§
total_items: TotalItems
§
start_index: StartIndex
§
relationship: Relationship
§
former_type: FormerType
§
public_key_pem: PublicKeyPem
§
preferred_username: PreferredUsername
Trait Implementations§
Source§impl Clone for ObjectEnum
impl Clone for ObjectEnum
Source§fn clone(&self) -> ObjectEnum
fn clone(&self) -> ObjectEnum
Returns a copy of the value. Read more
1.0.0 · 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 ObjectEnum
impl Debug for ObjectEnum
Source§impl<'de> Deserialize<'de> for ObjectEnum
impl<'de> Deserialize<'de> for ObjectEnum
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Object> for ObjectEnum
impl From<Object> for ObjectEnum
Source§impl From<ObjectEnum> for Object
impl From<ObjectEnum> for Object
Source§fn from(enum_value: ObjectEnum) -> Self
fn from(enum_value: ObjectEnum) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ObjectEnum
impl RefUnwindSafe for ObjectEnum
impl Send for ObjectEnum
impl Sync for ObjectEnum
impl Unpin for ObjectEnum
impl UnwindSafe for ObjectEnum
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