[][src]Enum rustpub::simple::core::ObjectEnum

pub enum ObjectEnum {
    Brief(String),
    Full {
        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 of Full

id: Idkind: Kindattachment: Attachmentattributed_to: AttributedToaudience: Audiencecontent: Contentcontext: Contextname: Nameend_time: EndTimegenerator: Generatoricon: Iconimage: Imagein_reply_to: InReplyTolocation: Locationpreview: Previewpublished: Publishedreplies: Repliesstart_time: StartTimesummary: Summarytag: Tagupdated: Updatedurl: Urlto: Tobto: BTocc: CCbcc: BCCmedia_type: MediaTypeduration: Durationone_of: OneOfany_of: AnyOfclosed: Closedactor: Actorobject: Objecttarget: Targetresult: Resultorigin: Origininstrument: Instrumenttotal_items: TotalItemscurrent: Currentfirst: Firstlast: Lastitems: Itemspart_of: PartOfnext: Nextprev: Prevstart_index: StartIndexaccuracy: Accuracyaltitude: Altitudelatitude: Latitudelongitude: Longituderadius: Radiusunits: Unitsdescribes: Describessubject: Subjectrelationship: Relationshipformer_type: FormerTypedeleted: Deletedpublic_key: PublicKeypublic_key_pem: PublicKeyPempreferred_username: PreferredUsernameowner: Ownerinbox: Inboxoutbox: Outboxfollowers: Followersfollowing: Following

Trait Implementations

impl Clone for ObjectEnum[src]

impl Debug for ObjectEnum[src]

impl<'de> Deserialize<'de> for ObjectEnum[src]

impl From<Object> for ObjectEnum[src]

impl From<ObjectEnum> for Object[src]

impl Serialize for ObjectEnum[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.