Struct twitter_stream_message::direct_message::DirectMessage
[−]
[src]
pub struct DirectMessage<'a> { pub created_at: DateTime, pub entities: Entities<'a>, pub id: DirectMessageId, pub recipient: User<'a>, pub recipient_id: UserId, pub recipient_screen_name: Cow<'a, str>, pub sender: User<'a>, pub sender_id: UserId, pub sender_screen_name: Cow<'a, str>, pub text: Cow<'a, str>, }
Fields
created_at: DateTime
entities: Entities<'a>
id: DirectMessageId
recipient: User<'a>
recipient_id: UserId
recipient_screen_name: Cow<'a, str>
sender: User<'a>
sender_id: UserId
sender_screen_name: Cow<'a, str>
text: Cow<'a, str>
Trait Implementations
impl<'a> Clone for DirectMessage<'a>
[src]
fn clone(&self) -> DirectMessage<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for DirectMessage<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for DirectMessage<'a>
[src]
fn eq(&self, __arg_0: &DirectMessage<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DirectMessage<'a>) -> bool
[src]
This method tests for !=
.