[][src]Struct misskey_api::model::messaging::MessagingMessage

pub struct MessagingMessage {
    pub id: Id<MessagingMessage>,
    pub created_at: DateTime<Utc>,
    pub user_id: Id<User>,
    pub user: User,
    pub text: Option<String>,
    pub file_id: Option<Id<DriveFile>>,
    pub file: Option<DriveFile>,
    pub recipient_id: Option<Id<User>>,
    pub recipient: Option<User>,
    pub group_id: Option<Id<UserGroup>>,
    pub group: Option<UserGroup>,
    pub is_read: Option<bool>,
    pub reads: Option<Vec<Id<User>>>,
}

Fields

id: Id<MessagingMessage>created_at: DateTime<Utc>user_id: Id<User>user: Usertext: Option<String>file_id: Option<Id<DriveFile>>file: Option<DriveFile>recipient_id: Option<Id<User>>recipient: Option<User>group_id: Option<Id<UserGroup>>group: Option<UserGroup>is_read: Option<bool>reads: Option<Vec<Id<User>>>

Trait Implementations

impl Clone for MessagingMessage[src]

impl Debug for MessagingMessage[src]

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

impl Entity for MessagingMessage[src]

impl PaginationItem for MessagingMessage[src]

type Id = Id<MessagingMessage>

The ID type.

impl Serialize for MessagingMessage[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: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.